I have a gray scale image with multiple local areas. The pixel value of local areas may be different. How to find the local minimum areas in the image?
In the attached file, I have 4 local areas with different pixel values.
@Osinenko: Thanks you for your suggestion. Actually, my project is people counting system using stereo camera. My task is to find the HEAD. Therefore, I think I should find the local minimum areas in the image. Refer to the sample image.