niaid / image_portal_workflows

Workflows related to project previously referred to as "Hedwig"
BSD 3-Clause "New" or "Revised" License
5 stars 1 forks source link

Feature/newstack 16 bit tiff #474

Closed blowekamp closed 2 months ago

blowekamp commented 2 months ago

Replace meanstd with float 1 for 16-bit TIFF

When float 1 is used in conjunction with shrink, the range is computed after the anti-aliasing and down-samping is performed. The resampling suppresses the outliers ( pixel stuck on ), from overly effecting the results.

The mean standard intensity normalization produce poor results for bimodal images, where the blacks were too bright.