public class MultiLevelROIRaster extends Object implements MultiLevelROI
MultiLevelROI
implementation supporting Raster masking. Notice that actually it does not
support Inset definition.Constructor and Description |
---|
MultiLevelROIRaster(DatasetLayout layout,
File file,
SimpleFeature sf) |
Modifier and Type | Method and Description |
---|---|
Geometry |
getFootprint()
This method returns a
Geometry object containing the ROI footprint or, at least, its
bounding box |
ROI |
getTransformedROI(AffineTransform at,
int imageIndex,
Rectangle imgBounds,
ImageReadParam params,
ReadType readType)
Returns a transformed ROI based on the input parameters
|
boolean |
isEmpty()
Checks if the provided
MultiLevelROI object is empty or not |
public MultiLevelROIRaster(DatasetLayout layout, File file, SimpleFeature sf) throws IOException
IOException
public ROI getTransformedROI(AffineTransform at, int imageIndex, Rectangle imgBounds, ImageReadParam params, ReadType readType)
MultiLevelROI
getTransformedROI
in interface MultiLevelROI
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 ROIsROI
objectpublic boolean isEmpty()
MultiLevelROI
MultiLevelROI
object is empty or notisEmpty
in interface MultiLevelROI
public Geometry getFootprint()
MultiLevelROI
Geometry
object containing the ROI footprint or, at least, its
bounding boxgetFootprint
in interface MultiLevelROI
Geometry
object defining ROI boundsCopyright © 1996–2019 Geotools. All rights reserved.