Package org.esa.snap.core.datamodel
Class ImageGeometry
- java.lang.Object
-
- org.esa.snap.core.datamodel.ImageGeometry
-
public class ImageGeometry extends Object
- Since:
- BEAM 4.7
-
-
Constructor Summary
Constructors Constructor Description ImageGeometry(Rectangle bounds, org.opengis.referencing.crs.CoordinateReferenceSystem mapCrs, AffineTransform image2map)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Point2DcalculateEastingNorthing(Product sourceProduct, org.opengis.referencing.crs.CoordinateReferenceSystem targetCrs, double referencePixelX, double referencePixelY, double pixelSizeX, double pixelSizeY)static RectanglecalculateProductSize(Product sourceProduct, org.opengis.referencing.crs.CoordinateReferenceSystem targetCrs, double pixelSizeX, double pixelSizeY)voidchangeYAxisDirection()static ImageGeometrycreateCollocationTargetGeometry(Product targetProduct, Product collocationProduct)static ImageGeometrycreateTargetGeometry(Product sourceProduct, org.opengis.referencing.crs.CoordinateReferenceSystem targetCrs, Double pixelSizeX, Double pixelSizeY, Integer width, Integer height, Double orientation, Double easting, Double northing, Double referencePixelX, Double referencePixelY)static ImageGeometrycreateTargetGeometry(RasterDataNode rasterDataNode, org.opengis.referencing.crs.CoordinateReferenceSystem targetCrs, Double pixelSizeX, Double pixelSizeY, Integer width, Integer height, Double orientation, Double easting, Double northing, Double referencePixelX, Double referencePixelY)doublegetEasting()AffineTransformgetImage2MapTransform()RectanglegetImageRect()org.opengis.referencing.crs.CoordinateReferenceSystemgetMapCrs()doublegetNorthing()doublegetOrientation()doublegetPixelSizeX()doublegetPixelSizeY()doublegetReferencePixelX()doublegetReferencePixelY()
-
-
-
Constructor Detail
-
ImageGeometry
public ImageGeometry(Rectangle bounds, org.opengis.referencing.crs.CoordinateReferenceSystem mapCrs, AffineTransform image2map)
-
-
Method Detail
-
getImage2MapTransform
public AffineTransform getImage2MapTransform()
-
getImageRect
public Rectangle getImageRect()
-
getMapCrs
public org.opengis.referencing.crs.CoordinateReferenceSystem getMapCrs()
-
changeYAxisDirection
public void changeYAxisDirection()
-
getReferencePixelX
public double getReferencePixelX()
-
getReferencePixelY
public double getReferencePixelY()
-
getEasting
public double getEasting()
-
getNorthing
public double getNorthing()
-
getOrientation
public double getOrientation()
-
getPixelSizeX
public double getPixelSizeX()
-
getPixelSizeY
public double getPixelSizeY()
-
calculateEastingNorthing
public static Point2D calculateEastingNorthing(Product sourceProduct, org.opengis.referencing.crs.CoordinateReferenceSystem targetCrs, double referencePixelX, double referencePixelY, double pixelSizeX, double pixelSizeY)
-
calculateProductSize
public static Rectangle calculateProductSize(Product sourceProduct, org.opengis.referencing.crs.CoordinateReferenceSystem targetCrs, double pixelSizeX, double pixelSizeY)
-
createTargetGeometry
public static ImageGeometry createTargetGeometry(RasterDataNode rasterDataNode, org.opengis.referencing.crs.CoordinateReferenceSystem targetCrs, Double pixelSizeX, Double pixelSizeY, Integer width, Integer height, Double orientation, Double easting, Double northing, Double referencePixelX, Double referencePixelY)
-
createTargetGeometry
public static ImageGeometry createTargetGeometry(Product sourceProduct, org.opengis.referencing.crs.CoordinateReferenceSystem targetCrs, Double pixelSizeX, Double pixelSizeY, Integer width, Integer height, Double orientation, Double easting, Double northing, Double referencePixelX, Double referencePixelY)
-
createCollocationTargetGeometry
public static ImageGeometry createCollocationTargetGeometry(Product targetProduct, Product collocationProduct)
-
-