MATLAB: Is it possible that imregionalmax gives different result on the same image

Image Processing Toolboximregionalmax

Hi, I found that my image segmentation code gave me different result every time when I ran it on the same image, also, the problem starts to show on imregionalmax step. Is it possible that imregionalmax gives different result every time? Thank you for your answer.

Best Answer

No, not possible, not unless your computer memory is failing or you're running the next call to imregionalmax() on the output image of the previous call to it instead of on the same, original image.