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.
See discussion at https://forum.image.sc/t/batch-roi-export-py-omero-script/84527/7
The
getShapeStatsRestricted()
throwsome.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.