[Insight-users] Filtering all channels of a VectorImage
Gaëtan Lehmann
gaetan.lehmann at jouy.inra.fr
Wed Apr 27 01:57:44 EDT 2011
Le 27 avr. 11 à 03:07, David Doria a écrit :
> Lately I've needed to run some filters on a VectorImage. The filters
> only work on single channel inputs. To get around this, my process
> to filter each channel separately has been:
>
> 1) Use VectorIndexSelectionCastImageFilter to decompose the image
> into its separate channels
> 2) In a loop, run a filter on each channel
> 3) Use ImageToVectorImageFilter to assemble the output from the
> output of the filter on each channel.
>
> Is this a reasonable process?
It is.
> Is a more automated way to do this?
>
Not at this time.
It's in my plan for a quite long time to make a
ChannelByChannelImageFilter similar to the SliceBySliceImageFilter,
but it is not done yet.
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/20110427/034045b4/attachment.pgp>
More information about the Insight-users
mailing list