[GRASS-dev] wxGUI: i.cluster argument is needed in pair,
gui accepts only single value
Yann Chemin
yann.chemin at gmail.com
Thu Feb 5 00:51:40 EST 2009
Hello,
Below is one of the tests done from the i.cluster wxGUI, where sample
needs a pair as input, while the GUI does not provide such option.
-----------------------------------------------
(Thu Feb 5 13:48:32 2009) Command finished (0 sec)
(Thu Feb 5 13:49:08 2009)
i.cluster group=124r039_20010915 at PERMANENT subgroup=process
signaturefile=signatures.txt classes=15 sample=8 reportfile=report
ERROR: option <sample> must be provided in multiples of 2
You provided 1 items:
8
Description:
Generates spectral signatures for land cover types in an
image using a clustering algorithm.
The resulting signature file is used as input for i.maxlik,
to generate an unsupervised image classification.
Keywords:
imagery, classification, signatures
Usage:
i.cluster group=name subgroup=name signaturefile=name
classes=value
[seed=name] [sample=row_interval,col_interval]
[iterations=value]
[convergence=value] [separation=value] [min_size=value]
[reportfile=name] [--verbose] [--quiet]
Flags:
--v Verbose module output
--q Quiet module output
Parameters:
group Name of input imagery group
subgroup Name of input imagery subgroup
signaturefile Name for output file containing result
signatures
classes Initial number of classes
options: 1-255
seed Name of file containing initial signatures
sample Sampling intervals (by row and col);
default: ~10,000 pixels
iterations Maximum number of iterations
default: 30
convergence Percent convergence
options: 0-100
default: 98.0
separation Cluster separation
default: 0.0
min_size Minimum number of pixels in a class
default: 17
reportfile Name for output file containing final
report
(Thu Feb 5 13:49:08 2009) Command finished (0 sec)
--------------------
Yann
More information about the grass-dev
mailing list