-1

How can I apply Otsu’s threshold method to a Raster in QGIS for reduction of a gray level image to a binary image?

enter image description here

3
  • Upon Research, simpler workflow is possible in ArcGIS. Add Raster to ArcMap. Navigation: Windows > Image Analysis. Select Raster in Image Analysis Menu. Under Processing > Add function. Right click on Raster > Insert function > Binary Thresholding function Link: desktop.arcgis.com/en/arcmap/10.3/manage-data/raster-and-images/… – HansrajR Jan 9 at 6:11
  • Welcome to GIS SE! We're a little different from other sites; this isn't a discussion forum but a Q&A site. Your questions should as much as possible describe not just what you want to do, but precisely what you have tried and where you are stuck trying that. Please check out our short tour for more about how the site works. Thanks. – PolyGeo Jan 9 at 7:24
1

You can install and use the OpenCV module in QGIS python environment (https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_imgproc/py_thresholding/py_thresholding.html).

It will require some coding but the above link will help. In ArcGIS getting the desired result is difficult to achieve as lots of customization is required.

1

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.