Structure of signature files
Stephan Eickschen
eicksch at uni-muenster.de
Mon Apr 27 12:38:13 EDT 1998
Hi all,
I would like to create signature files "by hand". So what I need to
know about now is the structure of GRASS' signature files. I did
some i.cluster - ing on several images. One signature file is attached.
As far as I understand:
1st line: just a header
2nd line: type of heading
3rd line: number of pixel belonging to this class
4th line: spectral values for each channel in this class
5th to 11th line: ???
6th line: beginning of class 2 as line 2 of class 1
...
Is there a way to fill the ??? if they are unknown so that i.maxlik
will work?
Regards,
Stephan
--
------------------------------------------------------------------------
Stephan Eickschen Tel. : +49 (0)251 83-34704
Westfaelische Wilhelms-Universitaet Fax. : +49 (0)251 83-36100
Institute for Geophysics
Research Unit of Physical Glaciology email: eicksch at uni-muenster.de
Corrensstrasse 24
48149 Muenster
Germany
------------------------------------------------------------------------
-------------- next part --------------
#produced by i.cluster
#Class 1
2921
215.335159 181.852105 214.680589 214.432729 188.128723 214.051695 195.370079
7.640027
6.049243 8.657572
7.765994 7.111991 8.394174
6.391904 7.396897 7.523540 8.915422
3.916432 7.840619 5.546267 8.172703 10.103288
2.281298 4.379908 2.889805 4.577965 6.438891 33.829861
1.864278 5.678382 2.906261 4.940829 7.782483 27.523671 24.157858
#Class 2
2912
221.473214 188.607143 221.388736 222.038805 195.705357 229.000343 208.669643
7.734081
8.554915 12.344408
8.347757 9.913334 9.463398
7.879260 9.122430 9.065638 10.120445
7.348684 9.897949 8.834949 9.744175 10.447680
-1.502052 -8.048302 -3.655922 -3.057725 -5.546103 36.351426
-0.560552 -4.899666 -2.099978 -1.353030 -3.031071 29.136836 24.665131
#Class 3
3530
228.966006 197.069122 229.602266 230.674788 204.322663 233.610198 213.795467
3.924602
4.830914 8.233249
4.247456 6.257877 5.494356
4.156128 5.831213 5.364523 6.187774
4.534916 7.498801 6.330977 6.971215 9.265369
1.999497 -2.545449 -0.442698 -0.376167 -1.775578 24.933305
2.350937 -1.952704 -0.376074 -0.394390 -1.666205 24.196816 24.828089
More information about the grass-user
mailing list