[ome-devel] About Raw Pixels

Chris Allan callan at blackcat.ca
Mon Jun 30 21:16:20 BST 2008


On 30 Jun 2008, at 16:21, seb wrote:

> Matthias Dunda wrote:
>
>> How "raw" is the data, meaning if I use getPlane(z, c, t), in what  
>> order do I get the bytes? Is it always red-green-blue column per  
>> column and then row by row? Or is it red-green-blue-alpha?
>>
>> What does the parameter c mean anyway?
>>
>
> Hi Matthias,
>
> I'm not an OMERO API expert, but I guess the "c"parameter is Channel,
> related to the acquisition device channel settings (and not to a R/G/B
> /Alpha channel)?
> I assume raw means...raw, and not (always) RGB(A) 8 bit/pixel value,  
> but
> depends on pixel depth, could be 2 bytes for 16 bits signed/unsigned
> short pixel value (Big Endian byte order as the JVM byte order???)...
> getPlane should return an array of  
> ImageWidth*ImageHeight*BytesPerPixel
>  bytes from plane z, channel c, time t, right?

Yes, pretty much exactly.

Tthe raw, big-endian pixel values. 16-bit integers, 32-bit floating  
point values, etc. whatever the Pixels object has defined as its  
"pixel type". C is as Sebastien has largely outlined the channel or by  
another name "wavelength" index. OMERO resolves all data to a 5- 
dimensional data structure for which the indexes are X, Y, Z, C and T.

>
>
> regards,
>
> sebastien

Ciao.

-Chris


More information about the ome-devel mailing list