[Insight-developers] NormalizedCorrelationImageToImageMetric brokenby yesterday check in

Gaetan Lehmann gaetan.lehmann at jouy.inra.fr
Tue Aug 9 09:20:27 EDT 2005


It works for me now.
Thank you :-)

Gaetan

On Tue, 09 Aug 2005 14:25:43 +0200, Lorensen, William E (Research)  
<lorensen at crd.ge.com> wrote:

> Gaetan,
> This should be Ok now. The gcc3.4 compiler is very strict about member  
> data access from a superclass.
>
> Bill
>
> -----Original Message-----
> From: insight-developers-bounces+lorensen=crd.ge.com at itk.org
> [mailto:insight-developers-bounces+lorensen=crd.ge.com at itk.org]On Behalf
> Of Gaetan Lehmann
> Sent: Tuesday, August 09, 2005 7:21 AM
> To: insight-developers at itk.org
> Subject: [Insight-developers] NormalizedCorrelationImageToImageMetric
> brokenby yesterday check in
>
>
>
> Hi,
>
> I can't find who is lng, but he/she commited a patch wich breaks build of
> NormalizedCorrelationImageToImageMetric wrapped class (see error message
> at the end of the mail)
> Can it be fixed ?
>
> Thanks,
>
> Gaetan
>
>
> Building CXX object
> Wrapping/CSwig/Algorithms/_ITKAlgorithmsPython.dir/wrap_itkNormalizedCorrelationImageToImageMetricPython.o
> In file included from
> /home/glehmann/itk/itk-mima2/Insight/Code/Algorithms/itkNormalizedCorrelationImageToImageMetric.h:111,
>                   from
> /home/glehmann/itk/itk-mima2/Insight/Wrapping/CSwig/Algorithms/wrap_itkNormalizedCorrelationImageToImageMetric.cxx:18,
>                   from
> /home/glehmann/itk/itk-mima2/build/Wrapping/CSwig/Algorithms/wrap_itkNormalizedCorrelationImageToImageMetricPython.cxx:960:
> /home/glehmann/itk/itk-mima2/Insight/Code/Algorithms/itkNormalizedCorrelationImageToImageMetric.txx:
> In member function `void
> itk::NormalizedCorrelationImageToImageMetric<TFixedImage,
> TMovingImage>::GetDerivative(const typename
> itk::ImageToImageMetric<TFixedImage,
> TMovingImage>::TransformParametersType&, typename
> itk::ImageToImageMetric<TFixedImage, TMovingImage>::DerivativeType&)
> const':
> /home/glehmann/itk/itk-mima2/Insight/Code/Algorithms/itkNormalizedCorrelationImageToImageMetric.txx:294:
> error: `m_NumberOfPixelsCounted' undeclared (firstuse this function)
> /home/glehmann/itk/itk-mima2/Insight/Code/Algorithms/itkNormalizedCorrelationImageToImageMetric.txx:294:
> error: (Each undeclared identifier is reported only once for each  
> function
> it appears in.)
> /home/glehmann/itk/itk-mima2/Insight/Code/Algorithms/itkNormalizedCorrelationImageToImageMetric.txx:
> In member function `void
> itk::NormalizedCorrelationImageToImageMetric<TFixedImage,
> TMovingImage>::GetValueAndDerivative(const typename
> itk::ImageToImageMetric<TFixedImage,
> TMovingImage>::TransformParametersType&, typename
> itk::ImageToImageMetric<TFixedImage, TMovingImage>::MeasureType&,  
> typename
> itk::ImageToImageMetric<TFixedImage, TMovingImage>::DerivativeType&)
> const':
> /home/glehmann/itk/itk-mima2/Insight/Code/Algorithms/itkNormalizedCorrelationImageToImageMetric.txx:494:
> error: `m_NumberOfPixelsCounted' undeclared (firstuse this function)
>



-- 
Gaetan Lehmann <gaetan.lehmann at jouy.inra.fr>
Tel: +33 1 34 65 29 66
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
Web: http://voxel.jouy.inra.fr


More information about the Insight-developers mailing list