[Insight-users] Applying an ImageFunction to every pixel in an image

David Doria daviddoria at gmail.com
Wed Jul 13 08:15:36 EDT 2011


2011/7/13 Dženan Zukić <dzenanz at gmail.com>:
> I have made some changes to the example. It shows that
> either GaussianBlurImageFunction needs to have a public destructor,
> or UnaryFunctorImageFilter should keep a pointer to the functor, not a plain
> instance of it.
>
> I did not investigate this further, but I guess that UnaryFunctorImageFilter
> should keep a pointer.
> Dženan

I just think this was previously not meant to be done. I've been
working on a new filter to do this:

http://review.source.kitware.com/#change,2008

David


More information about the Insight-users mailing list