forked from OSGeo/grass
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i.signatures: Add imagery classifier signature management module (OSG…
…eo#3008) This module allows to manage signature files created by various imagery classification modules such as i.gensig, i.gensigset. The module allows to list, copy, rename and delete signature files. --------- Co-authored-by: Anna Petrasova <[email protected]>
- Loading branch information
Showing
11 changed files
with
605 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,7 @@ SUBDIRS = \ | |
i.rectify \ | ||
i.rgb.his \ | ||
i.segment \ | ||
i.signatures \ | ||
i.smap \ | ||
i.target \ | ||
i.topo.corr \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
MODULE_TOPDIR = ../.. | ||
|
||
PGM = i.signatures | ||
|
||
LIBES = $(GISLIB) $(IMAGERYLIB) | ||
DEPENDENCIES = $(GISDEP) $(IMAGERYDEP) | ||
|
||
include $(MODULE_TOPDIR)/include/Make/Module.make | ||
|
||
default: cmd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<h2>DESCRIPTION</h2> | ||
|
||
<em>i.signatures</em> module allows to manage signature files: | ||
<ul> | ||
<li>"sig" – generated by <a href="i.gensig.html">i.gensig</a> | ||
for <a href="i.maxlik.html">i.maxlik</a></li> | ||
<li>"sigset" – generated by <a href="i.gensigset.html">i.gensigset</a> | ||
for <a href="i.smap.html">i.smap</a></li> | ||
</ul> | ||
The module can perform multiple actions per run. The order of execution | ||
is "copy", "remove", "rename". When the print flag is specified without | ||
specifying any type of signature files, it would print all signatures | ||
grouped by type. | ||
|
||
<h2 id="notes">NOTES</h2> | ||
|
||
By default the module will list signature files from all mapsets in the | ||
current search path. It is possible to limit listing only to a single | ||
mapset by providing the "mapset" option. The mapset can be also not listed | ||
in the current search path.<br> | ||
Actions "remove" and "rename" operate only on the | ||
current mapset (although accept fully qualified names). The "copy" action | ||
will accept a signature file name from any mapset as its first argument | ||
(source file to copy). | ||
|
||
<h2>EXAMPLES</h2> | ||
|
||
Print names of all signature files: | ||
<div class="code"><pre> | ||
i.signatures -p | ||
</pre></div> | ||
|
||
Print only signature files of certain type as a JSON: | ||
<div class="code"><pre> | ||
i.signatures -p type=sigset format=json | ||
</pre></div> | ||
|
||
Delete signature file called "foo" of type "sig" (i.gensig / i.maxlik). | ||
<div class="code"><pre> | ||
i.signatures remove=foo type=sig | ||
</pre></div> | ||
|
||
Copy signature file "bar" from mapset "baz" to current mapset | ||
<div class="code"><pre> | ||
i.signatures copy=bar@baz,best_version type=sigset | ||
</pre></div> | ||
|
||
<h2>SEE ALSO</h2> | ||
|
||
<em> | ||
<a href="i.gensig.html">i.gensig</a> | ||
<a href="i.gensigset.html">i.gensigset</a> | ||
</em> | ||
|
||
<h2>AUTHOR</h2> | ||
|
||
Maris Nartiss |
Oops, something went wrong.