diff --git a/include/otbClassificationMosaicArgmaxFilter.hxx b/include/otbClassificationMosaicArgmaxFilter.hxx index a3ecb26c5f33a7c068d7ed62b63a7ed8cbc26030..39c2e4e5acab3018ddcaf168b7583cf28c00ff44 100644 --- a/include/otbClassificationMosaicArgmaxFilter.hxx +++ b/include/otbClassificationMosaicArgmaxFilter.hxx @@ -103,8 +103,6 @@ ClassificationMosaicArgmaxFilter<TInputImage, TOutputImage, TInternalValueType> isData = true; for (unsigned int band = 0 ; band < nBands ; band++) { - if (interpolatedPixel[band]>1) - itkExceptionMacro("Pixel value > 1"); tmpPixel[band] += interpolatedPixel[band]; } } // Interpolated pixel is not empty