Finding many local max in an image (using MatLab)
- by wenh42
How do you go about figuring our multiple max in a 2D image where the max aren't necessarily all the same height? I have found that the imregionalmax(), imextendedmax(), and findpeaks() functions aren't necessarily that helpful because they give many local max that are really just maxes within the background noise. I tried
bw=arrayimdilate(array,[1 1 1; 1 0 1; 1 1 1])
but that also is kind of limited for the same reasons (same thing with expanding the matrix that it uses). I'd definitely appreciate some help..