Thanks!
________________________________________
From: ImageJ Interest Group [
[hidden email]] on behalf of Gabriel Landini [
[hidden email]]
Sent: Sunday, May 28, 2017 13:32
To:
[hidden email]
Subject: Re: getting image type (8-bit, 16-bit, etc)
bitDepth()
Returns the bit depth of the active image: 8, 16, 24 (RGB) or 32 (float).
On Sunday, 28 May 2017 10:26:05 BST
[hidden email] wrote:
> Hi all, I'm looking for a macro command that would return the image type
> in a window, for example 8-bit, 16-bit, RGB, etc. I want to open a stack of
> the same size and type automatically. Size is easy with getWidth,
> getHeight, and nSlices, but there doesn't seem to be a corresponding
> command for "getType". Have I missed it somewhere? thanks,
> Michael
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html