[Matlab] How to retrieve Tile and Position infor from .CZI?
Posted: Tue Sep 13, 2016 2:55 pm
Hi everyone,
I am trying to use the BioFormat Matlab wrapper to open and read the images included in a .CZI file.
The file consists of 405 images, each one of them with 3 channels and of size 512 X 512 pixels. The images are tiled in a 15 X 9 rectangular grid. And there are 3 positions, each one made of 135 images (15x9).
Reading all the images with bfGetReader and related methods I was able to extract the position of each tile in the (even though I got some weird values), but I couldn't find anywhere information about the number of positions in the file (3 in this case), nor could I find in the OME metadata information about the overlap percentage between tiles, or the size of the rectangular grid.
Does anybody know of a way of getting this information? For simpler file (just one "position", and accurate X and Y information about each tile) I was able to infer the grid size as well as the overlap between tiles, but this approach doesn't work now.
Here's what some information I got from ZEN:
If you want to check the file, I uploaded it here: http://qa.openmicroscopy.org.uk/qa/feed ... 93297ce80e
Thanks in advance!
I am trying to use the BioFormat Matlab wrapper to open and read the images included in a .CZI file.
The file consists of 405 images, each one of them with 3 channels and of size 512 X 512 pixels. The images are tiled in a 15 X 9 rectangular grid. And there are 3 positions, each one made of 135 images (15x9).
Reading all the images with bfGetReader and related methods I was able to extract the position of each tile in the (even though I got some weird values), but I couldn't find anywhere information about the number of positions in the file (3 in this case), nor could I find in the OME metadata information about the overlap percentage between tiles, or the size of the rectangular grid.
Does anybody know of a way of getting this information? For simpler file (just one "position", and accurate X and Y information about each tile) I was able to infer the grid size as well as the overlap between tiles, but this approach doesn't work now.
Here's what some information I got from ZEN:
Dimensions: x: 4198, y: 6963, positions: 3, channels: 3, 12-bit
Tile scan: tiles: 135, overlap in percent: 10.0, tiling mode: rectangular grid
If you want to check the file, I uploaded it here: http://qa.openmicroscopy.org.uk/qa/feed ... 93297ce80e
Thanks in advance!