|
Required conditions for bug:
1) !(ip instanceof FloatProcessor) && !(ip instanceof ShortProcessor)
2) ip.getMaxThreshold() == 255
2) ip.getMinThreshold() != ImageProcessor.NO_THRESHOLD
Where error is thrown (line 670 in ParticleAnalyzer.java):
replaceColor = level2+1.0;
int maxColor = imageType==BYTE?255:65535;
if (replaceColor>maxColor || replaceColor==fillColor)
IJ.error("Particle Analyzer", "Unable to remove edge particles");
|