I'm new to image processing, but I have good knowledge of general data processing.

Could you please suggest an approach which can be used to segment images like this? I suppose it is some kind of local basin and the segment should stop a larger gradients. However, some outside region may also become dark as seen in the top right corner.

enter image description here

Here the result should be the two dark blobs. Ideally I'd like to use existing packages in Python.

UPDATE: Here is another example showing the more difficult parts: enter image description here The ideal result would be only those two elliptical blobs. Not all blobs are perfectly elliptical though as seen in the first image. You also see that there is a surrounding which in the end should not confuse the algorithm. Especially the small circle in the last image seems pretty tough to get.

  • $\begingroup$ Based on that one image, edge detection may work better. $\endgroup$ – ziggy jones Oct 1 '18 at 14:19
  • $\begingroup$ In this part of the images it may work. But I'm afraid there are many blobs which do not have a closed contour and many spurious contours. Meanwhile I had good success with a method from Felsenszwalb! Only, there are a few blobs whose boundary is too weak. But it's a pretty good starting point. I wonder what else could work. $\endgroup$ – Gerenuk Oct 1 '18 at 18:10
  • $\begingroup$ Can you post some representative examples? $\endgroup$ – ziggy jones Oct 3 '18 at 8:05
  • $\begingroup$ @ziggyjones I added another example explaining the challenge better. $\endgroup$ – Gerenuk Oct 4 '18 at 9:03

Your Answer

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

Browse other questions tagged or ask your own question.