Login  Register

Convert from 8-bit to 16-bit problems

Posted by Krs5 on Mar 25, 2015; 11:14pm
URL: http://imagej.273.s1.nabble.com/Convert-from-8-bit-to-16-bit-problems-tp5012178.html

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:

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