- if(atoi(paramValue.c_str())!=3)
- {
- itkExceptionMacro(<<"Was expecting CBCT.DimensionalAttributes.DataSize==3");
- }
+ if(atoi(paramValue.c_str())==3)
+ SetComponentType(itk::ImageIOBase::FLOAT);
+ if(atoi(paramValue.c_str())==6)
+ SetComponentType(itk::ImageIOBase::USHORT);