Package org.esa.snap.core.dataop.dem
Class Orthorectifier2
- java.lang.Object
-
- org.esa.snap.core.dataop.dem.Orthorectifier
-
- org.esa.snap.core.dataop.dem.Orthorectifier2
-
- All Implemented Interfaces:
GeoCoding
public class Orthorectifier2 extends Orthorectifier
An experimental modification of the standardOrthorectifier
.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$
-
-
Field Summary
Fields Modifier and Type Field Description static float
DEGREE_EPS
static float
DEGREE_EPS_SQR
static double
RE
-
Fields inherited from class org.esa.snap.core.dataop.dem.Orthorectifier
PIXEL_EPS, PIXEL_EPS_SQR
-
-
Constructor Summary
Constructors Constructor Description Orthorectifier2(int sceneRasterWidth, int sceneRasterHeight, Pointing pointing, ElevationModel elevationModel, int maxIterationCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.snap.core.dataop.dem.Orthorectifier
canClone, canGetGeoPos, canGetPixelPos, clone, dispose, equals, getDatum, getElevation, getElevationModel, getGeoCoding, getGeoCRS, getGeoPos, getImageCRS, getImageToMapTransform, getMapCRS, getMaxIterationCount, getPointing, hashCode, isCrossingMeridianAt180, isPixelPosValid
-
-
-
-
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 interfaceGeoCoding
- Overrides:
getPixelPos
in classOrthorectifier
- Parameters:
geoPos
- the geographical position as lat/lon.pixelPos
- an instance ofPoint
to be used as retun value. If this parameter isnull
, the method creates a new instance which it then returns.- Returns:
- the pixel co-ordinates as x/y
-
-