I need to find the regional maxima of an image to obtain foreground markers for watershed segmentation. I see in matlab use the function imregionalmax()
. As I don't have the matlab software, I use the function scipy.ndimage.filters.maximum_filter()
instead. However, the results from imregionalmax()
and scipy.ndimage.filters.maximum_filter()
are different.
Please help me how to find out the regional maxima of an image. Thanks very much for your help.