Auto_Threshold icon indicating copy to clipboard operation
Auto_Threshold copied to clipboard

Huang2 methd occasionally gives an error

Open landinig opened this issue 8 years ago • 1 comments

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).

landinig avatar Dec 16 '17 13:12 landinig

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).

landinig avatar Dec 16 '17 14:12 landinig