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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Geometry
getFootprint()
This method returns aGeometry
object containing the ROI footprint or, at least, its bounding boxROI
getTransformedROI(AffineTransform at, int imageIndex, Rectangle imgBounds, ImageReadParam params, ReadType readType)
Returns a transformed ROI based on the input parametersboolean
isEmpty()
Checks if the providedMultiLevelROI
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
- AffineTransformationimageIndex
- Overview level used for extracting the correct image overviewimgBounds
- ImageBounds to set for Raster ROIsreadType
-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 providedMultiLevelROI
object is empty or not- Returns:
- a boolean indicating if this object is empty
-
-