The Cluster operation can directly be executed by typing one of the following expressions on the command line of the Main Window:
OUTMAP |
= |
MapCluster(InputMapList, nr of clusters) |
OUTMAP |
= |
MapCluster(InputMapList, nr of clusters, OutputAttribTable) |
where:
OUTMAP |
is the name of the output map. |
MapCluster |
is the command to start the Cluster operation. |
InputMapList |
is the name of an existing maplist which contains 1 up to 4 raster maps with the Image domain. If you like you can also define a map list on the fly as: mlist(map1, map2, ...) where mlist is fixed syntax to define a temporary map list without name, and where map1, map2 etc. are the names of the raster maps that should be part of the map list. |
nr of clusters |
is an integer value for the number of clusters/spectral classes you want to obtain in the output map; number of clusters between 2 and 60. |
OutputAttribTable |
is the name of an attribute table for the output map containing statistical information on the clusters (optional parameter). |
When the definition symbol = is used, a dependent output map is created; when the assignment symbol := is used, the dependency link is immediately broken after the output map has been calculated. Furthermore, cluster names for the output map and optional attribute table are stored by the output map (internal class domain).
See also: