|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.esa.beam.framework.dataop.dem.Orthorectifier
public class Orthorectifier
An Orthorectifier is a GeoCoding which performs an orthorectification algorithm on a base GeoCoding.
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.
| Field Summary | |
|---|---|
static float |
PIXEL_EPS
|
static float |
PIXEL_EPS_SQR
|
| Constructor Summary | |
|---|---|
Orthorectifier(int sceneRasterWidth,
int sceneRasterHeight,
Pointing pointing,
ElevationModel elevationModel,
int maxIterationCount)
Constructs a new Orthorectifier. |
|
| Method Summary | |
|---|---|
boolean |
canGetGeoPos()
Checks whether or not this geo-coding can determine the geodetic position from a pixel position. |
boolean |
canGetPixelPos()
Checks whether or not this geo-coding can determine the pixel position from a geodetic position. |
void |
dispose()
Releases all of the resources used by this object instance and all of its owned children. |
boolean |
equals(Object o)
|
Datum |
getDatum()
Gets the datum, the reference point or surface against which GeoPos measurements are made. |
protected float |
getElevation(GeoPos geoPos,
PixelPos pixelPos)
|
ElevationModel |
getElevationModel()
|
GeoCoding |
getGeoCoding()
|
org.opengis.referencing.crs.CoordinateReferenceSystem |
getGeoCRS()
|
GeoPos |
getGeoPos(PixelPos pixelPos,
GeoPos geoPos)
Gets the true (corrected) geographical coordinate for a given source pixel coordinate. |
org.opengis.referencing.crs.CoordinateReferenceSystem |
getImageCRS()
|
org.opengis.referencing.operation.MathTransform |
getImageToMapTransform()
|
org.opengis.referencing.crs.CoordinateReferenceSystem |
getMapCRS()
|
int |
getMaxIterationCount()
|
PixelPos |
getPixelPos(GeoPos geoPos,
PixelPos pixelPos)
Returns the source pixel coordinate for a true (corrected) geographical coordinate. |
Pointing |
getPointing()
|
int |
hashCode()
|
boolean |
isCrossingMeridianAt180()
Checks whether or not the longitudes of this geo-coding cross the +/- 180 degree meridian. |
protected boolean |
isPixelPosValid(PixelPos pixelPos)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final float PIXEL_EPS
public static final float PIXEL_EPS_SQR
| Constructor Detail |
|---|
public Orthorectifier(int sceneRasterWidth,
int sceneRasterHeight,
Pointing pointing,
ElevationModel elevationModel,
int maxIterationCount)
Orthorectifier.
sceneRasterWidth - the scene raster width of the product which uses this orthorectifier as geo coding. Must
be greater than zero.sceneRasterHeight - the scene raster width of the product which uses this orthorectifier as geo coding. Must
be greater than zero.pointing - the pointing, provides satellites viewing direction and base geo-coding. Must not be
null.elevationModel - the provider for the elevation at a given lat/lonmaxIterationCount - the maximum number of iterations, 10 is good choice. Must be greater than one.| Method Detail |
|---|
public Datum getDatum()
GeoPos measurements are made.
getDatum in interface GeoCodingpublic org.opengis.referencing.crs.CoordinateReferenceSystem getImageCRS()
getImageCRS in interface GeoCodingpublic org.opengis.referencing.crs.CoordinateReferenceSystem getMapCRS()
getMapCRS in interface GeoCodingpublic org.opengis.referencing.crs.CoordinateReferenceSystem getGeoCRS()
getGeoCRS in interface GeoCodingpublic org.opengis.referencing.operation.MathTransform getImageToMapTransform()
getImageToMapTransform in interface GeoCodingpublic Pointing getPointing()
public GeoCoding getGeoCoding()
public ElevationModel getElevationModel()
public int getMaxIterationCount()
public PixelPos getPixelPos(GeoPos geoPos,
PixelPos pixelPos)
getPixelPos in interface GeoCodinggeoPos - the true (corrected) geographical coordinate as lat/lon.pixelPos - an instance of Point to be used as return value. If this parameter is
null, the method creates a new instance which it then returns.
public GeoPos getGeoPos(PixelPos pixelPos,
GeoPos geoPos)
getGeoPos in interface GeoCodingpixelPos - the pixel coordinate given as x,ygeoPos - an instance of GeoPos to be used as return value. If this parameter is
null, the method creates a new instance which it then returns.
public boolean canGetGeoPos()
canGetGeoPos in interface GeoCodingtrue, if sopublic boolean canGetPixelPos()
canGetPixelPos in interface GeoCodingtrue, if sopublic boolean isCrossingMeridianAt180()
isCrossingMeridianAt180 in interface GeoCodingtrue, if sopublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic void dispose()
This method should be called only if it is for sure that this object instance will never be used again. The
results of referencing an instance of this class after a call to dispose() are undefined.
dispose in interface GeoCodingprotected final boolean isPixelPosValid(PixelPos pixelPos)
protected final float getElevation(GeoPos geoPos,
PixelPos pixelPos)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||