I would like to use ROIs stored in OMERO from my own Python scripts. While there are examples at OMERO Python language bindings — OMERO 5.6.3 documentation, there are few questions regarding it:
- loading ROIs associated with an image is done via
roi_service = conn.getRoiService()
result = roi_service.findByImage(imageId, None)
According to OMERO Application Programming Interface — OMERO 5.6.3 documentation, RoiService is deprecated. Is there some replacement for it? Example on how to get ROIs out of OMERO database using some recommended API?
- How do you delete ROI? Let’s say, I want to delete all ROIs associated with some image.