[Insight-users] ImageAdaptor problem

Luis Ibanez luis.ibanez at kitware.com
Wed Apr 27 11:48:35 EDT 2005


Hi Jakub,


This seems to be a bug.

Please add an entry to the phpBugTracker

        http://www.itk.org/Bug/

The solution is to move the method

    TransformPhysicalPointToContinuousIndex


to the ImageBase class.



    Thanks


      Luis



-----------------
Jakub Bican wrote:

>  
> Hello,
>  
> i'm trying to register two RGB images (TranslationTransform, 
> RegularStepGradientDescentOptimizer, MeanSquaresImageToImageMetric, 
> LinearInterpolateImageFunction). I used RGBToLuminanceImageAdaptor class 
> to convert RGB to scalar values and following error occured during the 
> compilation:
>  
> ......\Insight\Code\Common\itkInterpolateImageFunction.h(89): error 
> C2039: 'TransformPhysicalPointToContinuousIndex' : is not a member of 
> 'itk::RGBToLuminanceImageAdaptor<TImage,TOutputPixelType>'
>         with
>         [
>             TImage=InputImageType,
>             TOutputPixelType=PixelType
>         ]
> I am using recent (but probably not the latest) CVS version of ITK and 
> VS 7.0 .NET compiler.
>  
> Thanks in forward,
> Jakub
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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