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

Dženan Zukić dzenanz at gmail.com
Tue Jun 28 04:00:33 EDT 2011


Missing operator != is not the only problem. And operator != is not
generated by default:
http://stackoverflow.com/questions/217911/why-dont-c-compilers-define-operator-and-operator

There is also this:
D:\SDK\ITK-3.20.0-VS2010\Code\BasicFilters\itkUnaryFunctorImageFilter.h(88):
error C2248: 'itk::GaussianBlurImageFunction<TInputImage>::operator =' :
cannot access protected member declared in class
'itk::GaussianBlurImageFunction<TInputImage>'

In \Code\Common\itkGaussianBlurImageFunction.h on line 159 the assignment
operator has empty implementation and is declared protected.

I guess this GaussianBlurImageFunction was meant to be used with default
values. If not, quite some operators are missing from it.

Regards,
Dženan

2011/6/27 David Doria <daviddoria at gmail.com>

> 2011/6/27 Dženan Zukić <dzenanz at gmail.com>:
> > Is UnaryFunctorImageFilter the answer to your question? If yes, there is
> an
> > example (not the simplest one though) of its usage:
> >
> http://www.vtk.org/Wiki/ITK/Examples/ImageProcessing/UnaryFunctorImageFilter
> >
> > HTH
>
> Dženan,
>
> That is what I am trying but having a problem with here:
>
> http://www.itk.org/Wiki/ITK/Examples/Functions/GaussianBlurImageFunctionFilter
>
> David
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110628/e17dd1d6/attachment.htm>


More information about the Insight-users mailing list