Hello,
did not find it in the OMERO Matlab language bindings tutorial nor elsewhere...
How to get pixel size information from matlab?
Is it somewhere in
metadataService = session.getMetadataService();
thank you!
sizeX = image.getPrimaryPixels().getSizeX().getValue()
sizeY = image.getPrimaryPixels().getSizeY().getValue()
..
physicalSizeX = image.getPrimaryPixels().getPhysicalSizeX().getValue()
physicalSizeY = image.getPrimaryPixels().getPhysicalSizeY().getValue()
...
image(1).getPrimaryPixels()
image(1).getPrimaryPixels.getSizeX()
image(1).getPrimaryPixels.getSizeY()
image(1).getPrimaryPixels.getSizeZ()
image(1).getPrimaryPixels.getPhysicalSizeX()
...
plane = getPlane(session, image(1), 0, 0, 0);
Return to Developer Discussion
Users browsing this forum: No registered users and 0 guests