Class ImageGeometry


  • public class ImageGeometry
    extends Object
    Since:
    BEAM 4.7
    • Constructor Detail

      • ImageGeometry

        public ImageGeometry​(Rectangle bounds,
                             org.opengis.referencing.crs.CoordinateReferenceSystem mapCrs,
                             AffineTransform image2map)
    • Method Detail

      • 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)
      • createCollocationTargetGeometry

        public static ImageGeometry createCollocationTargetGeometry​(Product targetProduct,
                                                                    Product collocationProduct)