Interface MultiLevelROI

All Known Implementing Classes:
MultiLevelROIGeometry, MultiLevelROIGeometryOverviews, MultiLevelROIRaster

public interface MultiLevelROI
A ROI provider that handles multi-scale ROI
Author:
Andrea Aime - GeoSolutions
  • Method Details

    • 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