Many thanks, this now works as expected!
Andrew
-----Original Message-----
From: ImageJ Interest Group [mailto:
[hidden email]] On Behalf Of
Rasband, Wayne (NIH/NIMH) [E]
Sent: 28 February 2012 21:15
To:
[hidden email]
Subject: Re: ImageStack.getVoxel() with RGB image
On Feb 28, 2012, at 8:14 AM, Andrew French wrote:
> Hi everyone.
>
> I have an RGB stack and I would like to get colour values out. I
> notice that
> ImageStack.getVoxel() returns a bit masked number for RGB images:
> &0xffff
>
> Is this just returning the alpha and one colour channel? Whats the
> easiest way to get a full RGB colour voxel out of a stack?
This bug is fixed the ImageJ 1.46h daily build, and ImageStack.getVoxel() is
no longer marked as "experimental".
-wayne