Commit 5a52766d authored by Cresson Remi's avatar Cresson Remi
Browse files

FIX: debug filter

parent d5f6a6eb
...@@ -103,6 +103,8 @@ ClassificationMosaicArgmaxFilter<TInputImage, TOutputImage, TInternalValueType> ...@@ -103,6 +103,8 @@ ClassificationMosaicArgmaxFilter<TInputImage, TOutputImage, TInternalValueType>
isData = true; isData = true;
for (unsigned int band = 0 ; band < nBands ; band++) for (unsigned int band = 0 ; band < nBands ; band++)
{ {
if (interpolatedPixel[band]>1)
itkExceptionMacro("Pixel value > 1");
tmpPixel[band] += interpolatedPixel[band]; tmpPixel[band] += interpolatedPixel[band];
} }
} // Interpolated pixel is not empty } // 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