I have amended the default range values for the Otsu(x) function, to reflect the minimum and maximum pixel intensity values, rather than the arbitrary c(0,1) values it is currently set to. This affects the precision of the the threshold value return and this way is more precise, because the number of histogram bins are not arbitrarily extended beyond the pixel range.
Dear Andrzej
I have amended the default range values for the
Otsu(x)
function, to reflect the minimum and maximum pixel intensity values, rather than the arbitraryc(0,1)
values it is currently set to. This affects the precision of the the threshold value return and this way is more precise, because the number of histogram bins are not arbitrarily extended beyond the pixel range.Philip