Skip to content
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

getShapeStatsRestricted support for Big Images #145

Open
will-moore opened this issue Aug 17, 2023 · 1 comment
Open

getShapeStatsRestricted support for Big Images #145

will-moore opened this issue Aug 17, 2023 · 1 comment

Comments

@will-moore
Copy link
Member

See discussion at https://forum.image.sc/t/batch-roi-export-py-omero-script/84527/7

The getShapeStatsRestricted() throws ome.conditions.ApiUsageException: This method cannot handle tiled images yet. for big Images because the possibility that the ROIs themselves are big and would lead to a high cost of retrieving all pixel values for them.

However, this means that you can't access pixel value stats even for small ROIs (where the cost would be the same as for a regular-sized image).

It would be preferable to handle Shapes on a case-by-case basis, based on the size of the Shapes and not on the size of the Image.

@imagesc-bot
Copy link

This issue has been mentioned on Image.sc Forum. There might be relevant details there:

https://forum.image.sc/t/batch-roi-export-py-omero-script/84527/9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants