Posted by
Herbie on
URL: http://imagej.273.s1.nabble.com/extract-dimension-information-tp5022804p5022805.html
Bonjour Patricia,
these three macro code lines should do what you want:
//////////////
getDimensions(width, height, channels, slices, frames);
b = bitDepth();
newImage("Empty image", b+"-bit black", width, height, slices);
//////////////
Please consult the commented list of macro functions for further details:
<
https://imagej.nih.gov/ij/developer/macro/functions.html>
Joyeux Noël
Herbie
:::::::::::::::::::::::::::::::::::::::::::::::::::
Am 23.12.19 um 07:46 schrieb OBEID Patricia 154904:
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html