[Insight-developers] itkMagnitudeImageAdaptor?
David Doria
daviddoria at gmail.com
Mon Oct 1 10:25:20 EDT 2012
On Fri, Sep 28, 2012 at 1:29 PM, Williams, Norman K <
norman-k-williams at uiowa.edu> wrote:
> I don't know if this comes up often enough to add it to the library.
>
>
> This doesn't require much in the way of implementation; you write a
> functor class, which is passed as a parameter to UnaryFunctorImageFilter
> when you define your class. If you look at, for example
> Modules/Filtering/ImageIntensity/include/itkAbsImageFilter.h, it should be
> clear how to implement your Magnitude filter.
>
Though it is indeed straightforward to do, I have put this class here for
future readers of this thread:
https://github.com/daviddoria/ITKAdditions
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-developers/attachments/20121001/a5d6d427/attachment.htm>
More information about the Insight-developers
mailing list