[IGSTK-Developers] Re: itkOrientedImage issue

Luis Ibanez luis.ibanez at kitware.com
Thu Jul 6 17:44:59 EDT 2006


As we discussed at the tcon today, the fixes for the
itkConnectedThreshold and itkConfidenceConnected filter
needed for supporting itkOrientedImage have been committed
to the ITK 2.8 branch.

These issues were already fixed last week in the CVS trunk of ITK.

Please let me know if you find any problems,


    Thanks


       Luis



-------------------
Luis Ibanez wrote:
> 
> Hi Patrick,
> 
> Thanks for sending the details on the errors that you found when
> using the itkOrientedImage with the ConnectedThresholdImageFilter.
> 
> The problem was fixed last week during the NAMIC meeting.
> 
> Please update your checkout of ITK.
> 
> 
> Let us know if you find any further problem.
> 
> 
> 
>    Thanks
> 
> 
> 
>       Luis
> 
> 
> 
> --------------------
> Patrick Cheng wrote:
> 
>> Hi Luis,
>>
>> I am sending your this email again, just for your reference
>>
>> The new itkOrientedImage class doesn't work well with some of the old 
>> filters, for instance:
>>
>> Simply by including appropriate header files and adding these two line:
>>
>> typedef itk::ConnectedThresholdImageFilter< OrientedImageType, 
>> AnyImageType> CTType;
>> CTType::Pointer ct = CTType::New();
>>
>>
>> It will generate the following compilation error:
>>
>> c:\Patrick\ITK\Insight\Code\Common\itkOrientedImage.h(147): error 
>> C2679: binary '-' : no operator found which takes a right-hand operand 
>> of type 'const itk::ImageBase<VImageDimension>::PointType' (or there 
>> is no acceptable conversion)
>>         with
>>         [
>>             VImageDimension=3
>>         ]
>>
>> It's panic because of the 
>> itkOrientedImage::TransformPhysicalPointToContinuousIndex() function
>>
>> It seems that the internal classes of ConnectedThresholdImageFilter 
>> class, are not taking the right type info from the templated interface 
>> when being initialized.
>>
>> Please help verify this.
>>
>> Thank you,
>>
>> Patrick
>>
>>
> 
> 
> _______________________________________________
> IGSTK-Developers mailing list
> IGSTK-Developers at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-developers
> 
> 





More information about the IGSTK-Developers mailing list