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 Summary
Modifier and TypeMethodDescriptionThis method returns aGeometryobject containing the ROI footprint or, at least, its bounding boxROIgetTransformedROI(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
-
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- 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
boolean isEmpty()Checks if the providedMultiLevelROIobject is empty or not- Returns:
- a boolean indicating if this object is empty
-
getFootprint
Geometry getFootprint()This method returns aGeometryobject containing the ROI footprint or, at least, its bounding box- Returns:
- a
Geometryobject defining ROI bounds
-