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
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$
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final floatstatic final floatstatic final doubleFields inherited from class org.esa.snap.core.dataop.dem.Orthorectifier
PIXEL_EPS, PIXEL_EPS_SQR -
Constructor Summary
ConstructorsConstructorDescriptionOrthorectifier2(int sceneRasterWidth, int sceneRasterHeight, Pointing pointing, ElevationModel elevationModel, int maxIterationCount) -
Method Summary
Modifier and TypeMethodDescriptiongetPixelPos(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 Details
-
DEGREE_EPS
public static final float DEGREE_EPS- See Also:
-
DEGREE_EPS_SQR
public static final float DEGREE_EPS_SQR- See Also:
-
RE
public static final double RE- See Also:
-
-
Constructor Details
-
Orthorectifier2
public Orthorectifier2(int sceneRasterWidth, int sceneRasterHeight, Pointing pointing, ElevationModel elevationModel, int maxIterationCount)
-
-
Method Details
-
getPixelPos
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:
getPixelPosin interfaceGeoCoding- Overrides:
getPixelPosin classOrthorectifier- Parameters:
geoPos- the geographical position as lat/lon.pixelPos- an instance ofPointto 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
-