Help for MARSAUTOLOCO
PURPOSE:
-------
To automatically adjust the map coordinates origin (Easting, Northing) of the
INP image with respect to the base map image. The adjustment is based on
the coregistration of the orthomosaic (INP) to the baseline image.
EXECUTION:
---------
marsautoloco inp=orthomosaic.img basemap=basemap.img out=solution.xml rmc=45,345 ortho_northing=-279206.27 ortho_easting=8141890.79
METHOD:
------
The process is composed of the following steps:
[1]
The orthomosaic is low-pass filtered and decimated according to the basemap
resolution to simulate an orthomosaic at the same resolution of the basemap
[2]
Using the input Easting/Northing map coordinates estimate of the orthomosaic
(usually based on the telemetry), a subset of the basemap image that contains
the footprint of the orthomosaic is extracted. The subset is actually enlarged
to account for the search space
[3]
The downsampled orthomosaic and base map are correlated using NCC. The
correlation is designed to account for holes (no data) in the orthomosaic and
can weight (WEIGHT) differently pixel that are far from orthomosaic map
coordinates origin (usually the center of the mosaic, which also usually
corresponds to the rover location). The hypothese is that orthomosaic pixels
far from the rover are of poorer quality. Also, good registration in the
vicinity of the rover is what matters.
[4]
The corrected map coordinates of the orthomosaic reference system with respect
to the base map are saved in an XML file. If a DEM is supplied, the elevation
at the corrected coordinates is extracted and supplied in the XML file.
HISTORY:
-------
2002-02-18 Francois Ayoub - Initial marsautoloco.
2019-10-02 Walt Bunch - IDS-7926 - Initialized some variables;
Commented unused variables. Added a test directory
with a csh test script and example output and log.
COGNIZANT PROGRAMMER: Francois Ayoub
PARAMETERS:
INP
Input image.
BASEMAP
Basemap image.
DEMP
DEM image.
OUT
Output XML file.
RMC
RMC numbers
ORTHO_NORTHING
Northing of ortho in
base map projection.
ORTHO_EASTING
Easting of ortho in
base map projection.
ORTHO_X_SCALE
Scale in X. Same unit
as base map scale.
ORTHO_Y_SCALE
Scale in Y. Same unit
as base map scale.
ORTHO_L_OFFSET
Pixel line of ortho
Northing coordinate.
ORTHO_S_OFFSET
Pixel sample of ortho
Northing coordinate.
MAP_NORTHING
Northing of base map
MAP_EASTING
Easting of base map
MAP_X_SCALE
Scale of base map in X.
MAP_Y_SCALE
Scale of base map in Y.
MAP_L_OFFSET
Pixel line of map
coordinate.
MAP_S_OFFSET
Pixel sample of
map coordinate.
DEM_NORTHING
Northing of DEM
DEM_EASTING
Easting of DEM
DEM_X_SCALE
Scale of DEM in X.
DEM_Y_SCALE
Scale of DEM in Y.
DEM_L_OFFSET
Pixel line of map
coordinate.
DEM_S_OFFSET
Pixel sample of
map coordinate.
SEARCH_RANGE
Search range in
pixel.
WEIGHT
Weighted correlation.
CORR_SCORE
Output variable for
correlation score
CONFIG_PATH
Path used to find
configuration/calibration
files.
POINT_METHOD
Specifies a mission-
specific pointing
method to use
MATCH_METHOD
Specifies a method
for pointing corrections.
MATCH_TOL
Tolerance value for
matching pointing params
in pointing corrections file.
NOSITE
Disables coordinate
system sites.
RSF
Rover State File(s) to use.
DEBUG_RSF
Turns on debugging of RSF
parameter.
COORD
Coordinate system to use.
Ignored by marstie.
COORD_INDEX
Coordinate system index for
some COORD/mission combos.
Ignored by marstie.
FIXED_SITE
Which site is FIXED for
rover missions.
Cognizant Programmer: