Finding many local max in an image (using MatLab)

Posted by wenh42 on Stack Overflow See other posts from Stack Overflow or by wenh42
Published on 2010-04-24T23:16:28Z Indexed on 2010/04/24 23:23 UTC
Read the original article Hit count: 253

Filed under:
|
|

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=array>imdilate(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..

© Stack Overflow or respective owner

Related posts about matlab

Related posts about image