[Insight-users] MaximumImageFilter with Inputimage index
Gaëtan Lehmann
gaetan.lehmann at jouy.inra.fr
Thu Dec 17 11:15:29 EST 2009
Le 14 déc. 09 à 12:58, Stefan Dietrich a écrit :
> Hi together,
> I'm using itk with Python and currently I'm stuck in a part o my
> algorithm which has to compare
> say up to 30 3d images and fin the corresponding maximum in each
> voxel.
> My idea was now to start from the first image and com pare this with
> the second one.
> Using
> itk.MaximumImageFilter
> I can produce an output image with the maximum values of each image.
> But now I also want to keep an additional image with the image-
> number where the maximum grayvalue
> occured.
> Is such a method implemented in the MaximumImageFilter?.
Hi,
I'm not aware of this kind of feature in ITK.
You may want to implement it by yourself, for example by subclassing
NaryFunctorImageFilter.
You can then wrap the class quite easily in python with wrapitk's
external projects.
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.itk.org
http://www.mandriva.org http://www.bepo.fr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 203 bytes
Desc: Ceci est une signature ?lectronique PGP
URL: <http://www.itk.org/pipermail/insight-users/attachments/20091217/39513fd2/attachment.pgp>
More information about the Insight-users
mailing list