Hi there - hope this is the right place to ask...
I've recorded some FRAP data using a Zeiss LSM confocal, with a few ROI's in each image. I can successfully read the ROI info in the metadata from the .lsm file in MATLAB using the bfreader / getMetadataStore commands.
ROIs in the OME format are specified by values like x-position / y-position / radius / width / height / polygon points (depending on the ROI shape).
However, I'm looking for a definitive and general method for getting the actual pixels that are part of each ROI. I can write my own script for doing so, but it seems like the Zeiss LSM might be using specific rules about whether a pixel is inside a boundary. I.e. is the real-world xyz coordinate of a pixel defined by it's center or a corner of the pixel.
Is there an existing definition of how OME determines whether pixels are within an ROI? If so, how to I access this definition. Ideally, I'm looking for a solution that would work for using MATLAB, but if I can access the source code to any existing tool that would still be helpful.
Thanks!