On Fri, Sep 28, 2012 at 1:29 PM, Williams, Norman K < [email protected]> 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
_______________________________________________ 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://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-developers
