Class MultiLevelROIGeometryOverviews
Object
MultiLevelROIGeometryOverviews
- All Implemented Interfaces:
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 Summary
ConstructorsConstructorDescriptionMultiLevelROIGeometryOverviews(Geometry footprint, List<Geometry> multilevelFootprints, boolean overviewsInRasterSpace, Hints hints) -
Method Summary
Modifier and TypeMethodDescriptionThis method returns aGeometryobject containing the ROI footprint or, at least, its bounding boxROIGeometrygetTransformedROI(AffineTransform at, int imageIndex, Rectangle imgBounds, ImageReadParam params, ReadType readType) Returns a transformed ROI based on the input parametersbooleanisEmpty()Checks if the providedMultiLevelROIobject is empty or not
-
Constructor Details
-
MultiLevelROIGeometryOverviews
-
-
Method Details
-
getTransformedROI
public ROIGeometry getTransformedROI(AffineTransform at, int imageIndex, Rectangle imgBounds, ImageReadParam params, ReadType readType) Description copied from interface:MultiLevelROIReturns a transformed ROI based on the input parameters- Specified by:
getTransformedROIin interfaceMultiLevelROI- Parameters:
at- AffineTransformationimageIndex- Overview level used for extracting the correct image overviewimgBounds- ImageBounds to set for Raster ROIsreadType-ReadTypeobject indicating how the image file must be read. This may be useful for raster ROIs- Returns:
- a
ROIobject
-
isEmpty
public boolean isEmpty()Description copied from interface:MultiLevelROIChecks if the providedMultiLevelROIobject is empty or not- Specified by:
isEmptyin interfaceMultiLevelROI- Returns:
- a boolean indicating if this object is empty
-
getFootprint
Description copied from interface:MultiLevelROIThis method returns aGeometryobject containing the ROI footprint or, at least, its bounding box- Specified by:
getFootprintin interfaceMultiLevelROI- Returns:
- a
Geometryobject defining ROI bounds
-