<font size="2"><font face="verdana,sans-serif">Missing operator != is not the only problem. And operator != is not generated by default:<br></font></font><div><font size="2"><font face="verdana,sans-serif"><span class="Apple-style-span" style="font-family: arial; "><a href="http://stackoverflow.com/questions/217911/why-dont-c-compilers-define-operator-and-operator">http://stackoverflow.com/questions/217911/why-dont-c-compilers-define-operator-and-operator</a></span></font></font></div>
<div><font size="2"><font face="verdana,sans-serif"><br></font></font></div><div><font size="2"><font face="verdana,sans-serif">There is also this:</font></font></div><div><div><font class="Apple-style-span" face="verdana, sans-serif">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>'<br>
</font></div><div><div class="gmail_quote"><br></div><div class="gmail_quote">In \Code\Common\itkGaussianBlurImageFunction.h on line 159 the assignment operator has empty implementation and is declared protected.</div><div class="gmail_quote">
<br></div><div class="gmail_quote">I guess this GaussianBlurImageFunction was meant to be used with default values. If not, quite some operators are missing from it.</div><div class="gmail_quote"><br></div><div class="gmail_quote">
Regards,</div><div class="gmail_quote">Dženan</div><div class="gmail_quote"><br></div><div class="gmail_quote">2011/6/27 David Doria <span dir="ltr"><<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">2011/6/27 Dženan Zukić <<a href="mailto:dzenanz@gmail.com">dzenanz@gmail.com</a>>:<br>
<div class="im">> Is UnaryFunctorImageFilter the answer to your question? If yes, there is an<br>
> example (not the simplest one though) of its usage:<br>
> <a href="http://www.vtk.org/Wiki/ITK/Examples/ImageProcessing/UnaryFunctorImageFilter" target="_blank">http://www.vtk.org/Wiki/ITK/Examples/ImageProcessing/UnaryFunctorImageFilter</a><br>
><br>
> HTH<br>
<br>
</div>Dženan,<br>
<br>
That is what I am trying but having a problem with here:<br>
<div><div></div><div class="h5"><a href="http://www.itk.org/Wiki/ITK/Examples/Functions/GaussianBlurImageFunctionFilter" target="_blank">http://www.itk.org/Wiki/ITK/Examples/Functions/GaussianBlurImageFunctionFilter</a><br>
<br>
</div></div><font color="#888888">David<br>
</font></blockquote></div><br></div></div>