Skip to content

getShapeStatsRestricted support for Big Images #145

Description

@will-moore

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions