[Insight-users] How to apply a filter to EVERY slice of an image?

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Fri Feb 2 05:31:15 EST 2007


Le Fri, 02 Feb 2007 01:40:12 +0100, Ali - <saveez at hotmail.com> a écrit:

> That is more than useful. However, it seems it does not let the user to  
> specify the direction of slicing?

It doesn't currently - it let the user choose only the dimension -, but if  
someone need it, it can be added !
Can you give an example where this option could be useful ?

Gaetan


> > Gaetan recently submitted a sliceBySlice filter  to the Insight>  
> Journal -  
> http://www.insight-journal.org/InsightJournalManager/view_publication.php?back=search.php%3Ftexte%3Dslice&pubid=133>  
> > This will apply a filter to each slice of an image and reconstruct  
> the> 3D output.> > On 2/2/07, Karthik Krishnan  
> <karthik.krishnan at kitware.com> wrote:> > No this is not possible in ITK.  
> Filters in ITK are designed to treat N> > dimensional images as N  
> dimensional images, and not as series of N-1> > dimensional images.> >>  
> > You might want to either revisit your algorithm to see if what you're  
> doing> > is really appropriate and if so, use the ExtractImageFilter to  
> create a> > series of N-1 dimensional images, filter each image and use  
> the> > JoinImageFilter to compose them back.> >> > You could write a  
> composite ITK filter that hides these complexities away> > within itself  
> too.> >> > HTH> > --> > karthik> >> >> > On 2/1/07, Ali - <  
> saveez at hotmail.com> wrote:> > >> > >> > >> > > Searching the archive,  
> this question has been asked many times> > > during the past years --  
> and no answer.> > >> > > How is it possile to apply a filter ro EVERY  
> slice of an image? I am> > > not talking about ExtractImageFilter wich  
> give only one slice. This> > > should be an quivalent of f(a(:,1)) in  
> matlab where filter f() is applied> > > to the first column of image a.>  
> > >> > > If itk cannot do this, how is it possible to do it in vnl  
> interfaced to> > itk?> > >> > >> > > Can someone answer this question  
> finally? Luis! Where are you!> > >> > >  
> ________________________________> > Get connected - Use your Hotmail  
> address to sign into Windows Live Messenger> > now. Connect now!> > >  
> _______________________________________________> > > Insight-users  
> mailing list> > > Insight-users at itk.org> > >  
> http://www.itk.org/mailman/listinfo/insight-users> > >> > >> >> >  
> _______________________________________________> > Insight-users mailing  
> list> > Insight-users at itk.org> >  
> http://www.itk.org/mailman/listinfo/insight-users> >> >
> _________________________________________________________________
> Get the new Windows Live Messenger!
> http://get.live.com/messenger/overview



-- 
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


More information about the Insight-users mailing list