public class ImageGeometry extends Object
Constructor and Description |
---|
ImageGeometry(Rectangle bounds,
org.opengis.referencing.crs.CoordinateReferenceSystem mapCrs,
AffineTransform image2map) |
Modifier and Type | Method and Description |
---|---|
static Point2D |
calculateEastingNorthing(Product sourceProduct,
org.opengis.referencing.crs.CoordinateReferenceSystem targetCrs,
double referencePixelX,
double referencePixelY,
double pixelSizeX,
double pixelSizeY) |
static Rectangle |
calculateProductSize(Product sourceProduct,
org.opengis.referencing.crs.CoordinateReferenceSystem targetCrs,
double pixelSizeX,
double pixelSizeY) |
void |
changeYAxisDirection() |
static ImageGeometry |
createCollocationTargetGeometry(Product targetProduct,
Product collocationProduct) |
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) |
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) |
double |
getEasting() |
AffineTransform |
getImage2MapTransform() |
Rectangle |
getImageRect() |
org.opengis.referencing.crs.CoordinateReferenceSystem |
getMapCrs() |
double |
getNorthing() |
double |
getOrientation() |
double |
getPixelSizeX() |
double |
getPixelSizeY() |
double |
getReferencePixelX() |
double |
getReferencePixelY() |
public ImageGeometry(Rectangle bounds, org.opengis.referencing.crs.CoordinateReferenceSystem mapCrs, AffineTransform image2map)
public AffineTransform getImage2MapTransform()
public Rectangle getImageRect()
public org.opengis.referencing.crs.CoordinateReferenceSystem getMapCrs()
public void changeYAxisDirection()
public double getReferencePixelX()
public double getReferencePixelY()
public double getEasting()
public double getNorthing()
public double getOrientation()
public double getPixelSizeX()
public double getPixelSizeY()
public static Point2D calculateEastingNorthing(Product sourceProduct, org.opengis.referencing.crs.CoordinateReferenceSystem targetCrs, double referencePixelX, double referencePixelY, double pixelSizeX, double pixelSizeY)
public static Rectangle calculateProductSize(Product sourceProduct, org.opengis.referencing.crs.CoordinateReferenceSystem targetCrs, double pixelSizeX, double pixelSizeY)
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)
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)
public static ImageGeometry createCollocationTargetGeometry(Product targetProduct, Product collocationProduct)
Copyright © 2014–2016 European Space Agency (ESA). All rights reserved.