Class 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$
    • 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