[Insight-users] How to compute the local maximas in an image

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Fri Dec 19 10:03:25 EST 2008


Le 19 déc. 08 à 15:29, Oliver Trebbe a écrit :

> Hello again Guys :)
>
> i just need the number of the maximas, where they are can also be  
> important but not necessary...


Hi,

You may want to try an itk::RegionalMaximaImageFilter followed by an  
itk::ConnectedComponentImageFilter. Once the filters updated, you can  
get the number of regional maxima with the method  
itk::ConnectedComponentImageFilter::GetObjectCount().

Maybe regional extrema is not exactly what you want though.

Regards,

Gaëtan

-- 
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://voxel.jouy.inra.fr  http://www.mandriva.org
http://www.itk.org  http://www.clavier-dvorak.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://www.itk.org/pipermail/insight-users/attachments/20081219/d103cbc7/attachment.pgp>


More information about the Insight-users mailing list