the following code from http://www.openmicroscopy.org/site/supp ... b-dev.html
gives error due to missing getValue method:
- Code: Select all
data = bfopen('/path/to/data/file');
omeMeta = data{1, 4};
voxelSizeX = omeMeta.getPixelsPhysicalSizeX(0).getValue(); % in µm
voxelSizeY = omeMeta.getPixelsPhysicalSizeY(0).getValue(); % in µm
voxelSizeZ = omeMeta.getPixelsPhysicalSizeZ(0).getValue(); % in µm
tested with bioformats_package.jar 5.1.0