[Insight-users] itkHoughTransform2DLinesImageFilte
Frank Schmitt
frank.schmitt at igd.fraunhofer.de
Wed Feb 15 05:05:07 EST 2006
Hi,
i have encountered a problem with the itkHoughTransform2DLinesImageFilter:
c:\Programme\itk\include\InsightToolkit\BasicFilters\itkHoughTransform2DLinesImageFilter.txx(253):
error C2664:
'itk::ImageRegionIterator<TImage>::ImageRegionIterator(itk::ImageRegionIterator<TImage>::ImageType
*,const itk::ImageRegionIterator<TImage>::RegionType &)' : cannot convert
parameter 1 from
'itk::HoughTransform2DLinesImageFilter<TInputPixelType,TOutputPixelType>::OutputImagePointer'
to 'itk::ImageRegionIterator<TImage>::ImageType *'
with
[
TImage=InternalImageType
]
and
[
TInputPixelType=char,
TOutputPixelType=char
]
and
[
TImage=InternalImageType
]
If i change line 253 from :
ImageRegionIterator< InternalImageType > it( outputImage,
outputImage->GetRequestedRegion() );
to:
ImageRegionIterator< OutputImageType > it( outputImage,
outputImage->GetRequestedRegion() );
everything is fine. I am using Visual Studio 2003.
Don't know if it's a bug...
Thanks Frank Schmitt
More information about the Insight-users
mailing list