Login  Register

Re: Convert from 8-bit to 16-bit problems

Posted by Gabriel Landini on Mar 26, 2015; 10:27am
URL: http://imagej.273.s1.nabble.com/Convert-from-8-bit-to-16-bit-problems-tp5012178p5012188.html

On Wednesday 25 Mar 2015 23:14:27 Straatman, Kees wrote:
> run("Confocal Series (2.2MB)");
> makeRectangle(130, 224, 64, 66);
> run("Measure");
> run("16-bit");
> run("Measure");
> run("8-bit");
> run("Measure");
> run("16-bit");
> run("Measure");

Hi Kees,
If you untick the option 'Scale When Converting', then the subsequent
conversions between 8 and 16 bit seem to be OK in the latest build, but the
first conversion to 16 bit returns a different value that the original 8 bit.

I am guessing here that it might be related to the bin size of the histogram
(which is set to 0.812) and that the Measure command uses the histogram (which
now are slightly different due to the different bin sizes) to compute the
average?

However I have no explanation why the maximum greyscale is so different
between the original 8bit (187) and the 16 bit (207) versions.

Cheers

Gabriel

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