[Insight-developers] Tensor anisotropy filters template default
Casey Goodlett
gcasey at cs.unc.edu
Wed Feb 22 14:46:52 EST 2006
Hello,
There is a small bug in itkTensorFractionalAnisotropyImageFilter.h and
itkTensorRelativeAnisotropyImageFilter.h. Both filters use a default
template parameter of TOutputImage=TInputImage. This is an invalid
default since these filters map from tensors -> scalars. A better
default would be the following
template <typename TInputImage,
typename TOutputImage=itk::Image<ITK_TYPENAME
TInputImage::PixelType::RealValueType,
::itk::GetImageDimension<TInputImage>::ImageDimension > >
I filed this bug at http://www.itk.org/Bug/bug.php?op=show&bugid=2899&pos=0
Thanks
--
Casey Goodlett
More information about the Insight-developers
mailing list