[Insight-users] Filtering all channels of a VectorImage

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Wed Apr 27 14:30:21 EDT 2011


Le 27 avr. 11 à 20:20, David Doria a écrit :

> On Wed, Apr 27, 2011 at 3:27 AM, Julien Malik <julien.malik at c-s.fr>  
> wrote:
>> Hello,
>>
>> We have such a filter in OTB.
>> You might want to check :
>> http://hg.orfeo-toolbox.org/OTB/file/94265b241df9/Code/BasicFilters/otbPerBandVectorImageFilter.h
>> http://hg.orfeo-toolbox.org/OTB/file/94265b241df9/Code/BasicFilters/otbPerBandVectorImageFilter.txx
>>
>> Julien
>
> I took the liberty of pulling everything necessary out of OTB so you
> guys can easily look at the implementation:
> http://review.source.kitware.com/#change,1521
>
> I don't know about the inside, but the interface is FANTASTIC!
>
> typedef itk::MeanImageFilter<ImageType, ImageType> MeanFilterType;
> typedef itk::ChannelByChannelVectorImageFilter<VectorImageType,
> VectorImageType, MeanFilterType>
> ChannelByChannelVectorImageFilterType;


David,

There may be licenses issues, as this code was first develop with a  
cecill (GPL like) licence.

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/b5da76a0/attachment.pgp>


More information about the Insight-users mailing list