Auto_Threshold
Auto_Threshold copied to clipboard
Huang2 methd occasionally gives an error
In the current version, the Huang2 method gives an ArrayIndexOutOfBoundsException error with certain images. Also in certain cases, it does not return exactly the same value as the original Huang method. The current Huang method is the same as the code in plain ImageJ, it can do 16 bit images (but it is very slow).
Here is a test image that gives an error with Huang2 method, but is processed fine with the original Huang method: http://forum.imagej.net/t/autothresholding-huang-arrayindexoutofbound/8142 Thanks to FelixM for providing the test image
Unfortunately it cannot be uploaded here, perhaps it is too large (8MB).