Page 1 of 1

get physical z size of czi image

PostPosted: Thu Jul 02, 2015 10:17 am
by pospiech
I am using latest bioformats matlab implementation.
I can print out all >10000 elements of the metadata, but so far could not find the entry for the physical z resolution of an image. The image is a x-z plane of a zstack. I am interested in both the x and z (in the image y) pixel size in µm.

Re: get physical z size of czi image

PostPosted: Thu Jul 02, 2015 12:14 pm
by sbesson
Hi,

If existing, the pixel size should be stored in the OME-XML metadata object populated when the file reader is initialized. It can be retrieved using the `getPixelsPhysicalSize[XYZ]` method. See this section for an example using Bio-Formats and MATLAB.

Best,
Sebastien