public class PixelSubsetRegion extends AbstractSubsetRegion
borderPixels
Constructor and Description |
---|
PixelSubsetRegion(int x,
int y,
int width,
int height,
int borderPixels) |
PixelSubsetRegion(Rectangle pixelRegion,
int borderPixels) |
Modifier and Type | Method and Description |
---|---|
Rectangle |
computeBandPixelRegion(GeoCoding productDefaultGeoCoding,
GeoCoding bandDefaultGeoCoding,
int defaultProductWidth,
int defaultProductHeight,
int defaultBandWidth,
int defaultBandHeight,
boolean roundPixelRegion) |
Rectangle |
computeProductPixelRegion(GeoCoding productDefaultGeoCoding,
int defaultProductWidth,
int defaultProductHeight,
boolean roundPixelRegion) |
Rectangle |
getPixelRegion() |
protected void |
validateDefaultSize(int defaultProductWidth,
int defaultProductHeight,
String exceptionMessagePrefix) |
public PixelSubsetRegion(int x, int y, int width, int height, int borderPixels)
public PixelSubsetRegion(Rectangle pixelRegion, int borderPixels)
public Rectangle computeProductPixelRegion(GeoCoding productDefaultGeoCoding, int defaultProductWidth, int defaultProductHeight, boolean roundPixelRegion)
computeProductPixelRegion
in class AbstractSubsetRegion
public Rectangle computeBandPixelRegion(GeoCoding productDefaultGeoCoding, GeoCoding bandDefaultGeoCoding, int defaultProductWidth, int defaultProductHeight, int defaultBandWidth, int defaultBandHeight, boolean roundPixelRegion)
computeBandPixelRegion
in class AbstractSubsetRegion
protected void validateDefaultSize(int defaultProductWidth, int defaultProductHeight, String exceptionMessagePrefix)
validateDefaultSize
in class AbstractSubsetRegion
public Rectangle getPixelRegion()
Copyright © 2014–2022 European Space Agency (ESA). All rights reserved.