Histogram based image segmentation is not possible in many cases. This tutorial explains the use of Random Walker segmentation in Python using a noisy backscattered electron (BSE) image collected from an alloy.
The code from this video is available at: https://github.com/bnsreenu/python_fo...