[Insight-users] Composite filter

Cory Quammen cquammen at cs.unc.edu
Mon May 28 09:17:36 EDT 2012


Hi Baldmonkeey,

I would suggest looking at the implementation of
itk::ConvolutionImageFilter and itk::ConvolutionImageFilterBase for
which methods you should override. In fact, you could almost use the
itk::ConvolutionImageFilter as is, but there is unfortunately no
mirror pad boundary condition type. If you wanted to contribute a
mirror pad boundary condition class, subclassed from
itk::ImageBoundaryCondition, to ITK, it would be more than welcome :-)

Hope that helps,
Cory


On Mon, May 28, 2012 at 1:03 AM, bala <baldmonkeey at gmail.com> wrote:
> Hi,
> I am trying to implement a simple convolution filter with symmetric padding.
> My composite filter contains a Mirror padding filter followed by a
> convolution filter which is then followed by a RegionofInterest filter ( for
> cropping the central portion); What methods from  (such as
> GenerateInputRequested region,
> GenerateOutputInformation,EnlargeInputRequested Region) do I have to
> re-implement? Do I have to explicitly pass the negative indices produced by
> the mirrorpadding filter to the subsequent filter.
> thanks in advance!
> ~p
>
> _____________________________________
> 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.php
>
> 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


More information about the Insight-users mailing list