[Insight-users] Yes I am again

Karthik Krishnan Karthik.Krishnan at kitware.com
Thu May 26 23:53:25 EDT 2005


The method SetUseAllPixels was added fairly recently by Luis and 
disables random sampling and instead uses all pixels.. So you will have 
to update your cvs version of 
itkMattesMutualInformationImageToImageMetric.txx

thanks
karthik

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