aoles / EBImage

:art: Image processing toolbox for R
71 stars 28 forks source link

Update otsu default 'range' parameter values #1

Closed pmarais closed 7 years ago

pmarais commented 9 years ago

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

Philip