Hi All, <div><br></div><div>I created a Binary Image Filter. And now I want, for experimentation purposes, to compute values for a few pixels, not a whole image. </div><div>Because my filter includes a class which computes pixel-wise values, I want to use the operator() method. Its declaration looks something like this:</div>
<div><br></div><div>          inline TOutput operator() ( const RshPixelType &amp; A, const PeaksPixelType &amp; B ) <br></div><div><br></div><div>My attempt to call the operator:</div><div><br></div><div>      typedef itk::Functor::FilterName&lt; RshPixelType, PeakPixelType, OutputPixelType &gt;    CalcType;<br>
</div><div>      CalcType gcCalc;</div><div>      </div><div>      gcCalc.operator(a_direction, An_RSH_PIXEL );<br></div><div><br></div><div>What am I doing wrong? Am I not instantiating the class properly? Or calling the operator() method improperly?</div>
<div><br></div><div>Thanks for any advice or suggestions you can provide.</div><div><br></div><div>Best, </div><div>Arvind</div><div>   </div>