Package org.esa.snap.core.subset
Class PixelSubsetRegion
java.lang.Object
org.esa.snap.core.subset.AbstractSubsetRegion
org.esa.snap.core.subset.PixelSubsetRegion
Created by jcoravu on 13/2/2020.
-
Field Summary
Fields inherited from class org.esa.snap.core.subset.AbstractSubsetRegion
borderPixels
-
Constructor Summary
ConstructorsConstructorDescriptionPixelSubsetRegion
(int x, int y, int width, int height, int borderPixels) PixelSubsetRegion
(Rectangle pixelRegion, int borderPixels) -
Method Summary
Modifier and TypeMethodDescriptioncomputeBandPixelRegion
(GeoCoding productDefaultGeoCoding, GeoCoding bandDefaultGeoCoding, int defaultProductWidth, int defaultProductHeight, int defaultBandWidth, int defaultBandHeight, boolean roundPixelRegion) computeProductPixelRegion
(GeoCoding productDefaultGeoCoding, int defaultProductWidth, int defaultProductHeight, boolean roundPixelRegion) protected void
validateDefaultSize
(int defaultProductWidth, int defaultProductHeight, String exceptionMessagePrefix)
-
Constructor Details
-
PixelSubsetRegion
public PixelSubsetRegion(int x, int y, int width, int height, int borderPixels) -
PixelSubsetRegion
-
-
Method Details
-
computeProductPixelRegion
public Rectangle computeProductPixelRegion(GeoCoding productDefaultGeoCoding, int defaultProductWidth, int defaultProductHeight, boolean roundPixelRegion) - Specified by:
computeProductPixelRegion
in classAbstractSubsetRegion
-
computeBandPixelRegion
public Rectangle computeBandPixelRegion(GeoCoding productDefaultGeoCoding, GeoCoding bandDefaultGeoCoding, int defaultProductWidth, int defaultProductHeight, int defaultBandWidth, int defaultBandHeight, boolean roundPixelRegion) - Specified by:
computeBandPixelRegion
in classAbstractSubsetRegion
-
validateDefaultSize
protected void validateDefaultSize(int defaultProductWidth, int defaultProductHeight, String exceptionMessagePrefix) - Overrides:
validateDefaultSize
in classAbstractSubsetRegion
-
getPixelRegion
-