diff --git a/Code/Visualization/otbImageLayer.txx b/Code/Visualization/otbImageLayer.txx index 9835ad19e2ce3e35b446ec63e6ada4195044dd07..d2816a08da69bf9c2160d99a5a71da406b56f11b 100644 --- a/Code/Visualization/otbImageLayer.txx +++ b/Code/Visualization/otbImageLayer.txx @@ -221,12 +221,12 @@ ImageLayer<TImage,TOutputImage> typename RenderingFunctionType::ExtremaVectorType min, max; otbMsgDevMacro(<<"ImageLayer::AutoMinMaxRenderingFunctionSetup(): "<<" ("<<this->GetName()<<") "<<nbComps<<" components, quantile= "<<100*m_AutoMinMaxQuantile<<" %"); // For each components, use the histogram to compute min and max - typedef typename RenderingFunctionType::ScalarPixelType RenderingFunctionScalarPixelType; + typedef RenderingFunctionType::ScalarPixelType RenderingFunctionScalarPixelType; for(unsigned int comp = 0; comp < nbComps;++comp) { // Compute quantiles min.push_back(static_cast<RenderingFunctionScalarPixelType>( m_HistogramList->GetNthElement(comp)->Quantile(0,m_AutoMinMaxQuantile))); - max.push_back(static_cast<RenderingFunctionScalarPixelType>(*/m_HistogramList->GetNthElement(comp)->Quantile(0,1-m_AutoMinMaxQuantile))); + max.push_back(static_cast<RenderingFunctionScalarPixelType>(m_HistogramList->GetNthElement(comp)->Quantile(0,1-m_AutoMinMaxQuantile))); otbMsgDevMacro(<<"ImageLayer::AutoMinMaxRenderingFunctionSetup():"<<" ("<<this->GetName()<<")"<< " component "<<comp<<", min= "<<min.back()<<", max= "<<max.back()); }