-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a few options for working with CZI files that have multiple scenes #3681
Conversation
If enabled, stores upper-left pixel coordinate for each scene relative to entire canvas.
This PR has had no impact on existing builds and tests, all repo tests have continued to pass. Both without this PR or with this PR and the default options, the width and height values are as such:
With this PR and the new
Both without this PR or with this PR and the default options, the
With this PR and the new
Using the combination of both options together also works as expected |
Confirmed with Zen that the above values are correct, PR is good for inclusion in 6.7.0 |
Setting
zeissczi.relative_positions
to true will change thePositionX
andPositionY
values stored in OME-XML to the pixel position instead of the absolute physical stage position. Settingzeissczi.trim_dimensions
to true will use the pixel block metadata to trim XY dimensions to match what ZEN reports.Default behavior shouldn't change, so tests should continue to pass. Comparing e.g.
zeiss-czi/zeiss/jpeg-xr/*2scenes*.czi
in ZEN and with each combination of options should be enough to test. The idea is that with both options set to true, it would be easier to place the images on a canvas just like ZEN does when theScene
box is unchecked. As far as I know, ZEN doesn't report the sizes for each individual scene, you have to actually mouse over the upper left and lower right corners to calculate the position, width, and height.