[Insight-users] itkVectorGradientMagnitudeImageFilter
Reinhard Hameeteman
reinhard.afstuderen at gmail.com
Mon Jul 10 07:29:11 EDT 2006
Hi all,
I think the doxygen documentation of
itkVectorGradientMagnitudeImageFilter is not correct. With respect to
the automatically generated third template parameter it is stated that
Given an M-channel input image with dimensionality N, and a numerical
type specified as TRealType, the output image will be of type
itk::Image<itk::Vector<TRealType, M>, N>.
While the source code reads
00132 template < typename TInputImage,
00133 typename TRealType = float,
00134 typename TOutputImage = Image< TRealType,
00135
::itk::GetImageDimension<TInputImage>::ImageDimension >
00136 >
00137 class ITK_EXPORT VectorGradientMagnitudeImageFilter :
00138 public ImageToImageFilter< TInputImage, TOutputImage >
Which means that the output image is a scalar image with
dimensionality equal to the input image and pixeltype equal to the
second template parameter and not an image with vector pixel type.
Greetings,
Reinhard Hameeteman
More information about the Insight-users
mailing list