Commit fb4a5488 authored by Christophe Palmann's avatar Christophe Palmann

COMP: DEMConvert application (small error)

parent 34421a8d
......@@ -104,7 +104,7 @@ void DoExecute()
paramOut->SetValue(inImage);
// Set the output pixel type
itk::ImageIOBase::Pointer imageIO = ImageIOFactory::CreateImageIO( GetParameterString("in").c_str(),
ImageIOBase::Pointer imageIO = ImageIOFactory::CreateImageIO( GetParameterString("in").c_str(),
ImageIOFactory::ReadMode);
std::string componentTypeInfo(imageIO->GetComponentTypeInfo().name());
if( componentTypeInfo == typeid(unsigned char).name())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment