Skip to content
Snippets Groups Projects
Commit aebe5e38 authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

DOC: fix bug #0000144, additional explanations

parent cf7249be
No related branches found
No related tags found
No related merge requests found
......@@ -106,6 +106,9 @@ int main( int argc, char * argv[] )
OutputVectorImageType> VectorRescalerType;
typedef otb::MultiChannelExtractROI<unsigned char,unsigned char> ChannelExtractorType;
// The GenerateOutputInformation() information is required here so
// that the number of component per pixel is update and known to set
// up the maximum and minimum values for the rescaling filter
multispectralReader->GenerateOutputInformation();
OutputVectorImageType::PixelType minimum,maximum;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment