Le jeudi 20 février 2020, le service gitlab.irstea.fr sera inaccessible en raison d'une migration vers un nouveau centre de données. Merci de votre compréhension.

Commit 573d9f6e authored by Cresson Remi's avatar Cresson Remi

ENH: remove check sum(p)==1 because (1) float sum can sometimes be > 1 (2)...

ENH: remove check sum(p)==1 because (1) float sum can sometimes be > 1 (2) numbers can be scaled e.g. uint8
parent e7ea3d7f
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment