org.esa.beam.framework.dataop.dem
Class Orthorectifier2

java.lang.Object
  extended by org.esa.beam.framework.dataop.dem.Orthorectifier
      extended by org.esa.beam.framework.dataop.dem.Orthorectifier2
All Implemented Interfaces:
GeoCoding

public class Orthorectifier2
extends Orthorectifier

An experimental modification of the standard Orthorectifier.

IMPORTANT NOTE: This class is not thread save. In order to use it safely, make sure to create a new instance of this class for each orthorectifying thread.

Version:
$Revision$ $Date$
Author:
Norman Fomferra

Field Summary
static float DEGREE_EPS
           
static float DEGREE_EPS_SQR
           
static double RE
           
 
Fields inherited from class org.esa.beam.framework.dataop.dem.Orthorectifier
PIXEL_EPS, PIXEL_EPS_SQR
 
Constructor Summary
Orthorectifier2(int sceneRasterWidth, int sceneRasterHeight, Pointing pointing, ElevationModel elevationModel, int maxIterationCount)
           
 
Method Summary
 PixelPos getPixelPos(GeoPos geoPos, PixelPos pixelPos)
          Returns the pixel co-ordinates as x,y for a given geographical position given as lat,lon.
 
Methods inherited from class org.esa.beam.framework.dataop.dem.Orthorectifier
canGetGeoPos, canGetPixelPos, dispose, equals, getDatum, getElevation, getElevationModel, getGeoCoding, getGeoCRS, getGeoPos, getImageCRS, getImageToMapTransform, getMapCRS, getMaxIterationCount, getPointing, hashCode, isCrossingMeridianAt180, isPixelPosValid
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEGREE_EPS

public static final float DEGREE_EPS
See Also:
Constant Field Values

DEGREE_EPS_SQR

public static final float DEGREE_EPS_SQR
See Also:
Constant Field Values

RE

public static final double RE
See Also:
Constant Field Values
Constructor Detail

Orthorectifier2

public Orthorectifier2(int sceneRasterWidth,
                       int sceneRasterHeight,
                       Pointing pointing,
                       ElevationModel elevationModel,
                       int maxIterationCount)
Method Detail

getPixelPos

public PixelPos getPixelPos(GeoPos geoPos,
                            PixelPos pixelPos)
Returns the pixel co-ordinates as x,y for a given geographical position given as lat,lon.

Implements the prediction/correction algorithm from the MERIS Geometry Handbook, VT-P194-DOC-001-E, iss 1, rev 4, page 29, figure 23.

Scope of the prediction/correction algorithm is to retrieve the pixel x,y that matches the given lat,lon by the direct location model f(x,y) = lat,lon.

Specified by:
getPixelPos in interface GeoCoding
Overrides:
getPixelPos in class Orthorectifier
Parameters:
geoPos - the geographical position as lat/lon.
pixelPos - an instance of Point to be used as retun value. If this parameter is null, the method creates a new instance which it then returns.
Returns:
the pixel co-ordinates as x/y


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