Stretch

Command line (2)

To perform the Stretch operation on all raster maps in a map list, type one of the following expressions on the command line of the Main window:

  

OUTMAPLIST

=

MapListApplic(InputMapListName, MapStretchLinear(##, Range from, Domain))

OUTMAPLIST

=

MapListApplic(InputMapListName, MapStretchLinear(##, Range from, Domain, Range to))

OUTMAPLIST

=

MapListApplic(InputMapListName, MapStretchHistEq(##, Range from, Intervals))

where:

OUTMAPLIST

is the name of the output map list map; all output raster maps will be created when the map list is opened, the raster maps will obtain the same name as the map list followed by _1, _2, _3, etc.

MapListApplic

is the command to start an operation on all raster maps in a map list.

InputMapListName

is the name of the input map list which contains all raster maps on which the operation should be performed.

MapStretchLinear

is the command to start the Stretch operation with linear stretching.

MapStretchHistEq

is the command to start the Stretch operation with histogram equalization.

##

is an obligatory parameter in map list expressions; it indicates the individual raster maps in the input map list.

Range from

see Stretch : command line (1)

Domain

see Stretch : command line (1)

Range to

see Stretch : command line (1)

Intervals

see Stretch : command line (1)

When the definition symbol = is used, a dependent output map list is created. When the map list is opened and thus calculated, the dependent output raster maps will be defined and calculated.

When the assignment symbol := is used, the output raster maps will be defined and calculated, then the dependency links of the output raster maps will be broken.

See also: