Interface MultiLevelROI

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Geometry getFootprint()
      This method returns a Geometry object containing the ROI footprint or, at least, its bounding box
      ROI getTransformedROI​(AffineTransform at, int imageIndex, Rectangle imgBounds, ImageReadParam params, ReadType readType)
      Returns a transformed ROI based on the input parameters
      boolean isEmpty()
      Checks if the provided MultiLevelROI object is empty or not
    • Method Detail

      • getTransformedROI

        ROI getTransformedROI​(AffineTransform at,
                              int imageIndex,
                              Rectangle imgBounds,
                              ImageReadParam params,
                              ReadType readType)
        Returns a transformed ROI based on the input parameters
        Parameters:
        at - AffineTransformation
        imageIndex - Overview level used for extracting the correct image overview
        imgBounds - ImageBounds to set for Raster ROIs
        readType - ReadType object indicating how the image file must be read. This may be useful for raster ROIs
        Returns:
        a ROI object
      • isEmpty

        boolean isEmpty()
        Checks if the provided MultiLevelROI object is empty or not
        Returns:
        a boolean indicating if this object is empty
      • getFootprint

        Geometry getFootprint()
        This method returns a Geometry object containing the ROI footprint or, at least, its bounding box
        Returns:
        a Geometry object defining ROI bounds