Help for MARSCSV
PURPOSE:
There are a lot of TPS tools that can't work with VICAR images,
writing out point cloud data in CSV ascii text format allows
the use of TPS tools for point cloud or surface normal analysis
and visualization.
EXECUTION:
marscsv inp=data.img out=data.csv in_xyz=data.xyz
where:
data.img is a grayscale or color image that is coregistered with data.xyz
data.xyz is an input 3-band image of type REAL with the X, Y and Z values
at that pixel in meters (the unit is actually irrelevant).
data.csv is an output ascii text file
Any program producing 3D position could be used; marsxyz is simply an example.
Alternatively, marscsv can be run without an xyz file:
marscsv inp=data.img out=data.csv -no_xyz
where:
data.img is an image with between 1 and 3 bands, data.csv is an output ascii
text file.
METHOD:
HISTORY:
06-20-14 Initial marscsv.
02-06-19 J. Ryan refactored and updated with changes from N. Ruoff
03-01-21 B. Crocco added SINGLE_LINE param
COGNIZANT PROGRAMMER: O. Pariser
PARAMETERS:
INP
Input image.
Must be one 1- to 3-band file
OUT
Output files.
Must be 1 filename
IN_XYZ
Optional input XYZ image. Must be 3-band file
LINE_SAMP
In the NO_XYZ mode, put the line and sample
into the output CSV.
NO_XYZ
Don't require XYZ input. This will use
only the inp image for the output.
SINGLE_LINE
Changes x,y,z(newline)r g b(newline) to
x,y,z,r,g,b(newline)
CONFIG_PATH
Path used to find
configuration/calibration
files.
POINT_METHOD
Specifies a mission-
specific pointing
method to use
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.
COORD_INDEX
Coordinate system index for
some COORD/mission combos.
FIXED_SITE
Which site is FIXED for
rover missions.
SOLUTION_ID
Solution ID to use for
COORD_INDEX
DATA_SET_NAME
Specifies the full name given
to a data set or a data product.
DATA_SET_ID
Specifies a unique alphanumeric
identifier for a data set or data
product.
RELEASE_ID
Specifies the unique identifier
associated with the release to the
public of all or part of a data set.
The release number is associated with
the data set, not the mission.
PRODUCT_ID
Specifies a permanent, unique
identifier assigned to a data
product by its producer.
PRODUCER_ID
Specifies the unique identifier
of an entity associated with the
production a data set.
PRODUCER_INST
Specifies the full name of the
identity of an entity associated
with the production of a data set.
TARGET_NAME
Specifies a target.
TARGET_TYPE
Specifies the type of a named target.
See Examples:
Cognizant Programmer: