User's Guide

MCRN

Determines starting location in the output mosaic space for the specified frame

Function:

Determines starting location in the output mosaic space for the specified frame.

Parameters:

FRAMNUM
Frame number. Frame number of the image whose starting location in the output mosaic space is being determined.

NLGRID(-- )
Number of lines per grid. The number of lines contained in each output grid cell. If NLGRID is NULL, the geometric mapping grid size is set to the maximum and then reduced according to the TOLVAL parameter.

NSGRID(-- )
Number of samples per grid. The number of samples contained in each output grid cell. If NSGRID is NULL, the geometric mapping grid size is set to the maximum and then reduced according to the TOLVAL parameter.

TOLVAL(0.015625)
Tolerance value. Tolerance (in pixel values) for reducing the density of geometric mapping grid points. If NLGRID and NSGRID are not NULL, the TOLVAL parameter is ignored.

DELFLG(YES)
Delete flag. Specifies whether or not the temporary files should be deleted upon procedure completion.


  = YES:  Delete temporary files.
  = NO:   Do not delete temporary files.

Example:

  1. LAS> mcrn framnum=1

    The starting location in the output mosaic space is determined for the first frame. The temporary files are deleted.

Description/Algorithm:

The procedure begins by setting up local names for the current input frame. The input frame's control point (GCP) file is copied to a temporary image based information system (IBIS) tabular file. All the points with the "to frame" number not equal to the current frame number are deleted from this temporary file. All the inactive points are also deleted. The mosaic space line number, mosaic space sample number, input space line number, and input space sample number are extracted from the tabular file and written to an IBIS graphics file. This graphics file is then input to FINITE-GEO where it is used in generating the mapping grid.

Next, a temporary file is created which contains the active tie points. This file and the mapping grid are input to POLYGEO to compute the locations of the tie points in the output mosaic space. The locations are output to the tie points file. The first order residual errors are also calculated and output to this file. The tie points file is then concatenated to the original GCP file.

The cutline vertices are also mapped to output mosaic space by POLYGEO using the cutline file and the same mapping grid. Finally, the upper left-hand corner is determined, global variables are updated, and the temporary files are deleted if necessary. Error Messages: Error messages are displayed from the called routines.

User Notes:

  1. Any changes made to the routines CMRENAME, CMCOPY, CMDEL, MF, ROWOP, MTB2MGR, MGR2MTB, INSCOUNT, FINITE, POLYGEO, MTBSORT, MERGE, LSQMTB, AGGRG2, and IBISGBL may affect the operation of this routine.

  2. Related Large Area Mosaicking System (LAMS) procedure functions include MCTP, MCUT, MTIE, MEDIT, MAVE, MGRID, MGMAP, and MRAD.