CellProfiler/CellProfiler — Issue #292: Inconsistent image rescaling and text
Author: BioTurboNick
Created: 2012-02-18 16:14:36+00:00
State: open

The "Rescale intensities?" option in the LoadImages and LoadSingleImage module is confusingly named. Most integer image types are rescaled anyway, as the help text describes. A clearer term might be "Rescale intensities using image metadata?"

More importantly, however, is that float- and double-type images are not rescaled between 0 and 1 on loading as integer types are. This leads to an inconsistency in behavior, and one which is not documented in the help text.

The scenario I am encountering this in is with images recorded as 12-bit information recorded in 16-bit integer TIFF files. I also collect control images (shading, dark current) from which I calculate a median image via ImageJ 1.45's Z-Project function. The output of this is a 32-bit float TIFF which retains mapping to the pixel values of the original images, providing for decimal pixel values.

Ideally, I think it should be possible to manually specify the bit depth of an image for rescaling purposes in the LoadImages module, instead of relying on the bit depth of the image data type.