I'm trying to run a segmentation using the mean shift. I leave all the parameters as default, but when I run it, it says "Wrong or missing parameter value: Condition". Condition is not a parameter for the meanshift, but for the cc algorithm.

When running meanshift as batch processing, you can see that a parameter called "Condition" is requested. The image is a small Landsat composite.

enter image description here

  • I'm using QGIS 3.4.4 btw – Havi Jan 30 at 12:03
  • have you tested other OTB tools (e.g. BandMath) to see if OTB is correctly linked. There is no "condition" parameter in the Meanshift algorithm as far as I know, so this could be an issue with the installation. The OTB plugin with QGIS 3 has been rewritten, therefore there could be some small bugs. As a workaround, I suggest you to use the OTB tools from Monteverdi. – radouxju Feb 5 at 7:33
  • I have the same issue right now... :) :( – pnz Mar 6 at 22:14
  • I never managed to solve it. I resorted to eCognition. – Havi Mar 15 at 8:44

This issue has been fixed in QGIS 3.6 and QGIS 3.8

Note: For using QGIS3.8+, please uninstall otb plugin because provider is now integrated into processing core.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.