Package omero.api

Interface _IRoiOperationsNC

    • Method Detail

      • findByRoi_async

        void findByRoi_async​(AMD_IRoi_findByRoi __cb,
                             long roiId,
                             RoiOptions opts)
                      throws ServerError
        Deprecated.
        IROI is deprecated.
        Returns a RoiResult with a single Roi member. Shape linkages are properly created. All Shapes are loaded, as is the Pixels and Image object. TODO: Annotations?
        Parameters:
        __cb - The callback object for the operation.
        Throws:
        ServerError
      • findByImage_async

        void findByImage_async​(AMD_IRoi_findByImage __cb,
                               long imageId,
                               RoiOptions opts)
                        throws ServerError
        Deprecated.
        IROI is deprecated.
        Returns all the Rois in an Image, indexed via Shape. Loads Rois as findByRoi.
        Parameters:
        __cb - The callback object for the operation.
        Throws:
        ServerError
      • findByPlane_async

        void findByPlane_async​(AMD_IRoi_findByPlane __cb,
                               long imageId,
                               int z,
                               int t,
                               RoiOptions opts)
                        throws ServerError
        Deprecated.
        IROI is deprecated.
        Returns all the Rois on the given plane, indexed via Shape. Loads Rois as findByRoi.
        Parameters:
        __cb - The callback object for the operation.
        Throws:
        ServerError
      • getPoints_async

        void getPoints_async​(AMD_IRoi_getPoints __cb,
                             long shapeId)
                      throws ServerError
        Deprecated.
        IROI is deprecated.
        Calculate the points contained within a given shape
        Parameters:
        __cb - The callback object for the operation.
        Throws:
        ServerError
      • getRoiStats_async

        void getRoiStats_async​(AMD_IRoi_getRoiStats __cb,
                               long roiId)
                        throws ServerError
        Deprecated.
        IROI is deprecated.
        Calculate stats for all the shapes within the given Roi.
        Parameters:
        __cb - The callback object for the operation.
        Throws:
        ServerError
      • getShapeStats_async

        void getShapeStats_async​(AMD_IRoi_getShapeStats __cb,
                                 long shapeId)
                          throws ServerError
        Deprecated.
        IROI is deprecated.
        Calculate the stats for the points within the given Shape.
        Parameters:
        __cb - The callback object for the operation.
        Throws:
        ServerError
      • getShapeStatsList_async

        void getShapeStatsList_async​(AMD_IRoi_getShapeStatsList __cb,
                                     java.util.List<java.lang.Long> shapeIdList)
                              throws ServerError
        Deprecated.
        IROI is deprecated.
        Calculate the stats for the points within the given Shapes.
        Parameters:
        __cb - The callback object for the operation.
        Throws:
        ServerError
      • getShapeStatsRestricted_async

        void getShapeStatsRestricted_async​(AMD_IRoi_getShapeStatsRestricted __cb,
                                           java.util.List<java.lang.Long> shapeIdList,
                                           int zForUnattached,
                                           int tForUnattached,
                                           int[] channels)
                                    throws ServerError
        Deprecated.
        IROI is deprecated.
        Calculate the stats for the points within the given Shapes. Varies to the above in the following ways: - does not allow tiled images - shapes have to be all belonging to the same image - unattached z/t use the fallback parameters zForUnattached/tForUnattached that is to say there is never more than 1 z/t combination queried - if channel list is given, only the channels in that list are iterated over - does not request data from reader on each iteration
        Parameters:
        __cb - The callback object for the operation.
        Throws:
        ServerError
      • getRoiMeasurements_async

        void getRoiMeasurements_async​(AMD_IRoi_getRoiMeasurements __cb,
                                      long imageId,
                                      RoiOptions opts)
                               throws ServerError
        Deprecated.
        IROI is deprecated.
        Returns a list of FileAnnotation instances with the namespace openmicroscopy.org/measurements which are attached to the Plate containing the given image AND which are attached to at least one Roi
        Parameters:
        __cb - The callback object for the operation.
        Throws:
        ServerError
      • getMeasuredRois_async

        void getMeasuredRois_async​(AMD_IRoi_getMeasuredRois __cb,
                                   long imageId,
                                   long annotationId,
                                   RoiOptions opts)
                            throws ServerError
        Deprecated.
        IROI is deprecated.
        Loads the ROIs which are linked to by the given FileAnnotation id for the given image.
        Parameters:
        __cb - The callback object for the operation.
        annotationId - if -1, logic is identical to findByImage(imageId, opts)
        Throws:
        ServerError
      • getMeasuredRoisMap_async

        void getMeasuredRoisMap_async​(AMD_IRoi_getMeasuredRoisMap __cb,
                                      long imageId,
                                      java.util.List<java.lang.Long> annotationIds,
                                      RoiOptions opts)
                               throws ServerError
        Deprecated.
        IROI is deprecated.
        Returns a map from FileAnnotation ids to RoiResult instances. Logic is identical to getMeasuredRois, but Roi data will not be duplicated. (i.e. the objects are referentially identical)
        Parameters:
        __cb - The callback object for the operation.
        Throws:
        ServerError
      • getTable_async

        void getTable_async​(AMD_IRoi_getTable __cb,
                            long annotationId)
                     throws ServerError
        Deprecated.
        IROI is deprecated.
        Returns the OMERO.tables service via the FileAnnotation id returned by getImageMeasurements.
        Parameters:
        __cb - The callback object for the operation.
        Throws:
        ServerError
      • uploadMask_async

        void uploadMask_async​(AMD_IRoi_uploadMask __cb,
                              long roiId,
                              int z,
                              int t,
                              byte[] bytes)
                       throws ServerError
        Deprecated.
        IROI is deprecated.
        Parameters:
        __cb - The callback object for the operation.
        Throws:
        ServerError