Login  Register

Re: Bug in Background Subtracter

Posted by Gabriel Landini on Jul 17, 2016; 9:03am
URL: http://imagej.273.s1.nabble.com/Bug-in-Background-Subtracter-tp5016896p5016897.html

On Sunday 17 Jul 2016 10:53:48 Koen van dijken <[hidden email]>
wrote:

> Now two of the three resulting channels will show black. They have sensible
> data but probably some min and max are off and so do not show properly.

Is this because you did not un-tick "Create Composite"? I think that the
Background subtract operates on images, not on composites.

> Does anybody know how to reset a stack of 32-bit images to show properly
> after the values of the images have changed so much they fall outside their
> previous bounds?

If you converted from 8bit to 32bit, you might want to set setMinAndMax(0,
255); but if you then processed the 32bit image, you are changing the range to
some unknown values that might not to be represented in the original 8bit
space. (for example if the image has negative values).

You probably need to decide what to do with those new values out of bound in
the intended greyscale target space: keep them (so the new image will preserve
a version of the whole histogram but its parameters will now be different) or
ignore them (and that will will cut the information at the greyscale bounds
resulting in a "saturated" histogram).

Cheers

Gabriel

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html