image-js / image-js-typescript

Temporary repository to work on the migration of image-js to TypeScript
https://image-js.github.io/image-js-typescript/
MIT License
5 stars 5 forks source link

Mask on 16 bits images #374

Closed lpatiny closed 12 months ago

lpatiny commented 1 year ago

Automatic threshold using one of the algo like Li, etc are based on the histogram of a grey scale image.

However I'm not sure what is happening when we try to process a 16 bits images because the algorithms are based on an histogram of 256 slots I think.

@Xstoudi encouter some problems with Pixeliums.

@opatiny Could you check the 'Li' threshold on the following image:

spheres.tif.zip

It should give something like:

image