org.esa.beam.framework.datamodel
Class ImageGeometry

java.lang.Object
  extended by org.esa.beam.framework.datamodel.ImageGeometry

public class ImageGeometry
extends Object

Since:
BEAM 4.7
Author:
Marco Zuehlke

Constructor Summary
ImageGeometry(Rectangle bounds, org.opengis.referencing.crs.CoordinateReferenceSystem mapCrs, AffineTransform image2map)
           
 
Method Summary
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)
           
 AffineTransform getImage2MapTransform()
           
 Rectangle getImageRect()
           
 org.opengis.referencing.crs.CoordinateReferenceSystem getMapCrs()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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()

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(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)


Copyright © 2002-2013 Brockmann Consult GmbH. All Rights Reserved.