Login  Register

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

Posted by Rasband, Wayne (NIH/NIMH) [E] on Mar 27, 2015; 12:03am
URL: http://imagej.273.s1.nabble.com/Convert-from-8-bit-to-16-bit-problems-tp5012178p5012198.html

On Mar 25, 2015, at 7:14 PM, Straatman, Kees (Dr.) <[hidden email]> wrote:
>
> Dear all,
>
> When converting a composite 8-bit stack to 16-bit I get different results than when I split the channels and convert. Run for example:

This bug is fixed in the latest ImageJ daily build (1.49q20).

-wayne

> run("Set Measurements...", "area mean integrated display redirect=None decimal=3");
> run("Confocal Series (2.2MB)");
> run("Duplicate...", "duplicate");
> selectWindow("confocal-series.tif");
> makeRectangle(133, 227, 56, 64);
> run("Measure");
> run("16-bit");
> run("Measure");
> selectWindow("confocal-series-1.tif");
> run("Split Channels");
> close();
> run("Restore Selection");
> run("Measure");
> run("16-bit");
> run("Measure");
>
> Also the next macro shows some strange behaviour when converting between 8 and 16-bit
>
> 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");
>
> Best wishes
>
> Kees
>
>
> Dr Ir K.R. Straatman
> Senior Experimental Officer
> Advanced Imaging Facility
> Centre for Core Biotechnology Services
> University of Leicester
> http://www2.le.ac.uk/colleges/medbiopsych/facilities-and-services/cbs/lite/aif
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

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