void clitk::ImageArithmGenericFilter::InitializeImageType() {
ADD_IMAGE_TYPE(Dim, char);
ADD_IMAGE_TYPE(Dim, short);
+ ADD_IMAGE_TYPE(Dim, float);
/* ADD_IMAGE_TYPE(Dim, short);
ADD_IMAGE_TYPE(Dim, ushort;
ADD_IMAGE_TYPE(Dim, int);
ADD_IMAGE_TYPE(Dim, unsigned int);
- ADD_IMAGE_TYPE(Dim, float);
ADD_IMAGE_TYPE(Dim, double);
*/
}
{
UpdateWithDimAndOutputPixelType<short,VImageDimension>();
}
+ else if (OutputPixelType == "unsigned short")
+ {
+ UpdateWithDimAndOutputPixelType<unsigned short,VImageDimension>();
+ }
else if (OutputPixelType == "unsigned_short")
{
UpdateWithDimAndOutputPixelType<unsigned short,VImageDimension>();