[Insight-users] Yes I am again

Luis Ibanez luis.ibanez at kitware.com
Fri May 27 12:34:26 EDT 2005


Hi Javier,


The method


          SetUseAllPixels()


was added to the Mattes mutual information metric
after the release ITK 2.0.


If you want to use this method you *must* update
your ITK using a checkout from the CVS repository.



     Regards,


       Luis



------------------------------
javier silva bravo wrote:

> Sorry Luis but I only am here until next week.
>  
> Ok I am checking DeformableRegistration8 
> (InsightToolkit-2.0.0\Examples\Registration) and I try to use to 2D image.
> Then I went to view 
> http://www.itk.org/Doxygen/html/classitk_1_1MattesMutualInformationImageToImageMetric.html#z188_0
> And I saw there is a Public Member Function, SetUseAllPixels 
> <http://www.itk.org/Doxygen/html/classitk_1_1MattesMutualInformationImageToImageMetric.html#z190_0> 
> (bool _arg) and I try to templeted this metric->SetUseAllPixels(1); but 
> when I am compiling return this:
>  
> Compiling...
> Aldrin03.cxx
> F:\aldrin\Xavier\Ensayo\Aldrin03.cxx(355) : error C2039: 
> 'SetUseAllPixels' : is not a member of 
> 'MattesMutualInformationImageToImageMetric<class 
> itk::Image<float,2>,class itk::Image<float,2> >'
> Error executing cl.exe.
> Aldrin03.exe - 1 error(s), 0 warning(s)
>  
> Why?
> 
> ------------------------------------------------------------------------
> MSN Premium. Protégete, Comunícate y Diviértete Haz clic aquí 
> <http://g.msn.com/8HMBESMX/2743??PS=47575>
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users





More information about the Insight-users mailing list