diff --git a/Applications/Utils/otbColorMapping.cxx b/Applications/Utils/otbColorMapping.cxx index 0d508d6362098d6fb15177ab69cf752f90a968dc..7ee40000b09ac514a3de8b2ae197b48154b651ed 100644 --- a/Applications/Utils/otbColorMapping.cxx +++ b/Applications/Utils/otbColorMapping.cxx @@ -482,7 +482,7 @@ private: // image normalisation of the sampling FloatVectorImageType::Pointer supportImage = this->GetParameterImage("method.image.in"); - supportImage->UpdateOutputInformation(); + //supportImage->UpdateOutputInformation(); //normalisation //first of all resampling @@ -584,7 +584,7 @@ private: minVal.SetElement(index, static_cast<FloatVectorImageType::PixelType::ValueType> (histogramList->GetNthElement(index)->Quantile(0, static_cast<float> (this->GetParameterInt("method.image.low"))/ 100.0))); maxVal.SetElement(index, static_cast<FloatVectorImageType::PixelType::ValueType> (histogramList->GetNthElement(index)->Quantile(0, (100.0- static_cast<float> (this->GetParameterInt("method.image.up")))/ 100.0))); } - + m_CasterToLabelImage = CasterToLabelImageType::New(); m_CasterToLabelImage->SetInput(GetParameterFloatImage("in")); m_CasterToLabelImage->InPlaceOn();