Skip to content
Snippets Groups Projects
Commit 258d3f59 authored by Manuel Grizonnet's avatar Manuel Grizonnet
Browse files

Merge branch 'convert_apps_limitations' into 'develop'

ENH: Document that conversion applications in otb don't support complex pixel types as output

See merge request !153
parents 3bceaa54 5a1ae85a
No related branches found
No related tags found
No related merge requests found
......@@ -103,7 +103,7 @@ private:
" * grayscale : to display mono image as standard color image \n"
" * rgb : select 3 bands in the input image (multi-bands) \n"
" * all : keep all bands.");
SetDocLimitations("None");
SetDocLimitations("The application does not support complex pixel types as output.");
SetDocAuthors("OTB-Team");
SetDocSeeAlso("Rescale");
......@@ -508,7 +508,9 @@ private:
GenericDoExecute<DoubleVectorImageType>();
break;
default:
itkExceptionMacro("Unknown pixel type "<<this->GetParameterOutputImagePixelType("out")<<".");
itkExceptionMacro("Unknown pixel type " << this->GetParameterOutputImagePixelType("out") <<"." << std::endl
<< "The Convert application does not support complex pixel type as output." << std::endl
<< "You can use instead the ExtractROI application to perform complex image conversion.");
break;
}
}
......
......@@ -105,7 +105,7 @@ private:
"available choices are: \n * grayscale : to display mono image as "
"standard color image \n * rgb : select 3 bands in the input image "
"(multi-bands) \n * all : keep all bands.");
SetDocLimitations("None");
SetDocLimitations("The application does not support complex pixel types as output.");
SetDocAuthors("OTB-Team");
SetDocSeeAlso("Convert, Rescale");
......@@ -516,8 +516,9 @@ private:
GenericDoExecute<DoubleVectorImageType>();
break;
default:
itkExceptionMacro("Unknown pixel type "
<<this->GetParameterOutputImagePixelType("out")<<".");
itkExceptionMacro("Unknown pixel type " << this->GetParameterOutputImagePixelType("out") <<"." << std::endl
<< "The DynamicConvert application does not support complex pixel type as output." << std::endl
<< "You can use instead the ExtractROI application to perform complex image conversion.");
break;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment