USGS

Isis 2 Documentation


tic Documentation

tic - Write tic marks on a cube
This program may be used to mark the position of control points of some
kind such as ground control, reseau locations, etc.  TIC will copy the
input cube to the output cube and then mosaic the tic mark array
described in the TIC file to every position listed in the CONT file
(control point file).  0 DN's in the TIC file will not be overlayed on
the output cube (they will be transparent).

PROGRAMMER: Kay Edwards U.S.G.S. Flagstaff

ParmDescriptionDefault
FROM
Input cube file name
(Default extension is .cub)
NONE
TO
Output cube file name
(Default extension is .cub)
NONE
TIC
File name of ticmark shape
(No default extension)
"plus.mrk"
CONT
File name of ticmark locations
(No default extension)
"cont.dat"

ADDITIONAL NOTES:

ParmDescription
FROM
Input cube file name.  If the file extension is omitted,
the ".cub" will be assumed.
TO
Output cube file name.  If the file extension is omitted,
the ".cub" will be assumed.
TIC
The ticmark is mosaicked on to the file, such that 0 dn is
transparent.
The format of the ASCII tic mark file is:

number of samples (ns), number of lines (nl)
density(1,1),density(1,2),density(1,3)...density(1,ns)
density(2,1),density(2,2),density(2,3)...density(2,ns)
  .             .             .                .
  .             .             .                .
density(nl,1),density(nl,2),density(nl,3)...density(nl,ns)

ex:
5,5
255,0,0,0,255
0,255,0,255,0
0,0,255,0,0
0,255,0,255,0
255,0,0,0,255

This example will create a 5 by 5 pixel x for a tic mark.
The maximum ns,nl is 15,15 and odd numbers should be used
so that an odd pixel is in the center.  Note that the
density numbers are integer values.
CONT
Format of tic mark location file is samp,line separated by
commas with one position per line.

Ex:
1, 1
5.3, 6.0

This will place the center of a tic mark at samp 1, line 1
and at samp 5, line 6.  Decimal values of sample, line
positions will be accepted, but a tic mark will be plotted
at the nearest integer position.

Last updated: Jan 31 2005
File: pdfs2.html

Contact us online at the Isis Support Center: http://isisdist.wr.usgs.gov

ISIS Documentation Home Page