[Insight-users] 3D convolution with custom matrix

Jothy jothybasu at gmail.com
Mon Sep 12 10:58:03 EDT 2011


I copied the src code from the Insight journal and included it in my project
files and it works fine. Only thing I noticed is, its teribly slow for large
image dimensions.

Looking forward for your fft based filter.

Thanks

Jothy



On Mon, Sep 12, 2011 at 3:04 PM, Cory Quammen <cquammen at cs.unc.edu> wrote:

> On Mon, Sep 12, 2011 at 9:45 AM, Jothy <jothybasu at gmail.com> wrote:
> > I am using itk 3.2 and I could not find this header in ITK. Is it
> available
> > only in ITK?
>
> 3.2 or 3.20? It's probably not in 3.2, and in 3.20 it would be in the
> Review, which you'll need to enable in CMake for the header to be
> found.
>
> > Also is it possible to downlad the fft based filter from git?
>
> It isn't there yet. I'm hoping by next week.
>
> Cory
>
> >
> > Thanks
> >
> > Jothy
> >
> >
> > On Mon, Sep 12, 2011 at 2:35 PM, Cory Quammen <cquammen at cs.unc.edu>
> wrote:
> >>
> >> Jothy,
> >>
> >> ConvolutionImageFilter should handle 3D convolutions just fine. If you
> >> encounter an error, please let me know. Also, if there is some
> >> documentation that led you to conclude that the filter doesn't work
> >> for 3D, please let me know so I can clarify it.
> >>
> >> Be warned that ConvolutionImageFilter operates in the spatial domain,
> >> so if your kernel is large, it will be quite slow. There will be a
> >> FFT-based convolution filter in ITK v4 that will be much faster for
> >> large kernels.
> >>
> >> Thanks,
> >> Cory
> >>
> >> On Mon, Sep 12, 2011 at 9:09 AM, Jothy <jothybasu at gmail.com> wrote:
> >> > Hi all,
> >> >
> >> > Is it possible to do a 3D convolution in ITK with a custom matrix? I
> >> > looked
> >> > at ConvolutionImageFilter by it doesn't seem to handle 3D kernels.
> >> >
> >> > Any suggestions?
> >> >
> >> > Thanks
> >> >
> >> > Jothy
> >> >
> >> > _____________________________________
> >> > Powered by www.kitware.com
> >> >
> >> > Visit other Kitware open-source projects at
> >> > http://www.kitware.com/opensource/opensource.html
> >> >
> >> > Kitware offers ITK Training Courses, for more information visit:
> >> > http://www.kitware.com/products/protraining.html
> >> >
> >> > Please keep messages on-topic and check the ITK FAQ at:
> >> > http://www.itk.org/Wiki/ITK_FAQ
> >> >
> >> > Follow this link to subscribe/unsubscribe:
> >> > http://www.itk.org/mailman/listinfo/insight-users
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >> Cory Quammen
> >> Research Associate
> >> Department of Computer Science
> >> The University of North Carolina at Chapel Hill
> >
> >
>
>
>
> --
> Cory Quammen
> Research Associate
> Department of Computer Science
> The University of North Carolina at Chapel Hill
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110912/763546d4/attachment.htm>


More information about the Insight-users mailing list