[Insight-users] How to apply a filter to EVERY slice of an image?
Karthik Krishnan
karthik.krishnan at kitware.com
Thu Feb 1 17:09:13 EST 2007
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! <http://get.live.com/messenger/overview>
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20070201/35699fed/attachment.htm
More information about the Insight-users
mailing list