Michaël Zasso

Results 1686 comments of Michaël Zasso

Code on github with color formatting: https://github.com/imagej/imagej1/blob/master/ij/process/AutoThresholder.java

Please implement the Otsu algorithm first

A lot of methods have been implemented, thank you !

@lpatiny I fixed the percentile method but now two other tests are failing. Can you take a look ?

See https://github.com/image-js/image-js/issues/485#issuecomment-508472868 for a workaround.

> couldn‘t that be a problem when i don‘t know if i load a jpg or a png? Maybe you can put it behind a `if(image.alpha)` ? > I would...

in this commit you added support for the input range. output is always 0 - maxValue

Support for RGB TIFF was added last week. Can you try with the latest version (0.23.3) ?

The goal of this method seems to be counting the number of transparent pixels, so the default should be `0`, not `255`.

Hi, this is probably because the default interpolation algorithm is nearest neighbor. Try with `interpolation: 'bilinear'` in the options object.