[GRASS-SVN] r66385 - grass/branches/releasebranch_7_0/imagery/i.segment

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Sep 30 12:14:28 PDT 2015


Author: neteler
Date: 2015-09-30 12:14:28 -0700 (Wed, 30 Sep 2015)
New Revision: 66385

Added:
   grass/branches/releasebranch_7_0/imagery/i.segment/i_segment_lsat7_pan.png
   grass/branches/releasebranch_7_0/imagery/i.segment/i_segment_lsat7_seg_min100.png
   grass/branches/releasebranch_7_0/imagery/i.segment/i_segment_lsat7_seg_min5.png
   grass/branches/releasebranch_7_0/imagery/i.segment/i_segment_ortho_segs_final.jpg
   grass/branches/releasebranch_7_0/imagery/i.segment/i_segment_ortho_segs_l1.jpg
   grass/branches/releasebranch_7_0/imagery/i.segment/i_segment_ortho_segs_l2_l5.jpg
Removed:
   grass/branches/releasebranch_7_0/imagery/i.segment/ortho_segs_final.jpg
   grass/branches/releasebranch_7_0/imagery/i.segment/ortho_segs_l1.jpg
   grass/branches/releasebranch_7_0/imagery/i.segment/ortho_segs_l2_l5.jpg
Modified:
   grass/branches/releasebranch_7_0/imagery/i.segment/
   grass/branches/releasebranch_7_0/imagery/i.segment/i.segment.html
Log:
i.segment manual: Landsat7 example added


Property changes on: grass/branches/releasebranch_7_0/imagery/i.segment
___________________________________________________________________
Modified: svn:ignore
   - OBJ.*

   + OBJ.*
*.tmp.html


Modified: grass/branches/releasebranch_7_0/imagery/i.segment/i.segment.html
===================================================================
--- grass/branches/releasebranch_7_0/imagery/i.segment/i.segment.html	2015-09-30 19:11:48 UTC (rev 66384)
+++ grass/branches/releasebranch_7_0/imagery/i.segment/i.segment.html	2015-09-30 19:14:28 UTC (rev 66385)
@@ -111,7 +111,10 @@
 identical values, perfect fit, and a value of 0 means maximum possible 
 distance, worst possible fit.
 
-<h2>EXAMPLE</h2>
+<h2>EXAMPLES</h2>
+
+<h3>Segmentation of RGB orthophoto</h3>
+
 This example uses the ortho photograph included in the NC Sample 
 Dataset. Set up an imagery group:
 <div class="code"><pre>
@@ -131,7 +134,7 @@
 </pre></div>
 
 <center>
-<img src="ortho_segs_l1.jpg">
+<img src="i_segment_ortho_segs_l1.jpg">
 </center>
 
 <p>
@@ -149,7 +152,7 @@
 </pre></div>
 
 <center>
-<img src="ortho_segs_l2_l5.jpg">
+<img src="i_segment_ortho_segs_l2_l5.jpg">
 </center>
 
 <p>
@@ -173,13 +176,51 @@
 </pre></div>
 
 <center>
-<img src="ortho_segs_final.jpg">
+<img src="i_segment_ortho_segs_final.jpg">
 </center>
 
 <p>
 Processing the entire ortho image with nearly 10 million pixels took
 about 450 times more then for the final run.
 
+<h3>Segmentation of panchromatic channel</h3>
+
+This example uses the panchromatic channel of the Landsat7 scene included
+in the North Carolina sample dataset:
+
+<div class="code"><pre>
+# create group with single channel
+i.group group=singleband input=lsat7_2002_80
+
+# set computational region to Landsat7 PAN band
+g.region raster=lsat7_2002_80 -p
+
+# perform segmentation with minsize=5
+i.segment group=singleband threshold=0.05 minsize=5 \
+  output=lsat7_2002_80_segmented_min5 goodness=lsat7_2002_80_goodness_min5
+
+# perform segmentation with minsize=100
+i.segment group=singleband threshold=0.05 minsize=100
+  output=lsat7_2002_80_segmented_min100 goodness=lsat7_2002_80_goodness_min100
+</pre></div>
+
+<p>
+<center>
+<img src="i_segment_lsat7_pan.png"><br>
+Original panchromatic channel of the Landsat7 scene
+</center>
+
+<p>
+<center>
+<img src="i_segment_lsat7_seg_min5.png"><br>
+Segmented panchromatic channel, minsize=5
+</center>
+<p>
+<center>
+<img src="i_segment_lsat7_seg_min100.png"><br>
+Segmented panchromatic channel, minsize=100
+</center>
+
 <h2>TODO</h2>
 <h3>Functionality</h3>
 <ul>

Copied: grass/branches/releasebranch_7_0/imagery/i.segment/i_segment_lsat7_pan.png (from rev 66384, grass/trunk/imagery/i.segment/i_segment_lsat7_pan.png)
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_7_0/imagery/i.segment/i_segment_lsat7_seg_min100.png (from rev 66384, grass/trunk/imagery/i.segment/i_segment_lsat7_seg_min100.png)
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_7_0/imagery/i.segment/i_segment_lsat7_seg_min5.png (from rev 66384, grass/trunk/imagery/i.segment/i_segment_lsat7_seg_min5.png)
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_7_0/imagery/i.segment/i_segment_ortho_segs_final.jpg (from rev 66384, grass/trunk/imagery/i.segment/i_segment_ortho_segs_final.jpg)
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_7_0/imagery/i.segment/i_segment_ortho_segs_l1.jpg (from rev 66384, grass/trunk/imagery/i.segment/i_segment_ortho_segs_l1.jpg)
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_7_0/imagery/i.segment/i_segment_ortho_segs_l2_l5.jpg (from rev 66384, grass/trunk/imagery/i.segment/i_segment_ortho_segs_l2_l5.jpg)
===================================================================
(Binary files differ)

Deleted: grass/branches/releasebranch_7_0/imagery/i.segment/ortho_segs_final.jpg
===================================================================
(Binary files differ)

Deleted: grass/branches/releasebranch_7_0/imagery/i.segment/ortho_segs_l1.jpg
===================================================================
(Binary files differ)

Deleted: grass/branches/releasebranch_7_0/imagery/i.segment/ortho_segs_l2_l5.jpg
===================================================================
(Binary files differ)



More information about the grass-commit mailing list