Class MultiLevelROIGeometryOverviews

  • All Implemented Interfaces:
    MultiLevelROI

    public class MultiLevelROIGeometryOverviews
    extends Object
    implements MultiLevelROI
    A ROIGeometry provider that handles multi-scale ROI, supporting per imageIndex overviews's geometries being stored in separate sidecar file
    Author:
    Daniele Romagnoli - GeoSolutions
    • Constructor Detail

      • MultiLevelROIGeometryOverviews

        public MultiLevelROIGeometryOverviews​(Geometry footprint,
                                              List<Geometry> multilevelFootprints,
                                              boolean overviewsInRasterSpace,
                                              Hints hints)
    • Method Detail

      • getTransformedROI

        public ROIGeometry getTransformedROI​(AffineTransform at,
                                             int imageIndex,
                                             Rectangle imgBounds,
                                             ImageReadParam params,
                                             ReadType readType)
        Description copied from interface: MultiLevelROI
        Returns a transformed ROI based on the input parameters
        Specified by:
        getTransformedROI in interface MultiLevelROI
        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

        public boolean isEmpty()
        Description copied from interface: MultiLevelROI
        Checks if the provided MultiLevelROI object is empty or not
        Specified by:
        isEmpty in interface MultiLevelROI
        Returns:
        a boolean indicating if this object is empty