# Oft-extr

 Revision as of 13:40, 15 July 2013 (view source)Obrien (Talk | contribs)← Older edit Revision as of 13:42, 15 July 2013 (view source)Obrien (Talk | contribs) Newer edit → Line 24: Line 24: *Open your working directory using *Open your working directory using cd /home/... cd /home/... - ====Let's run [[oft-extr]] using the input image ''landsat_t1.tif'' with the point text file ''training.txt''. Output: ''extr.txt'' with '''no extra option''':==== + ====1. Let's run [[oft-extr]] using the input image ''landsat_t1.tif'' with the point text file ''training.txt''. Output: ''extr.txt'' with '''no extra option''':==== oft-extr -o extr.txt training.txt landsat_t1.tif oft-extr -o extr.txt training.txt landsat_t1.tif Line 55: Line 55: *Col6 - col7: Average value of band1, band2, ... band7 *Col6 - col7: Average value of band1, band2, ... band7 - ====Exercises using option -mm:==== + ====2. Exercise using option -mm:==== +
+                                                                                       oft-extr -mm -o extr_mm.txt training.txt landsat_t1.tif
+                                                                                       1.00  730785.00 -2456134.00      50.00    3441.00      52.00      24.00      24.00      51.00      65.00     128.00      29.00      52.00      24.00      24.00      51.00      65.00     128.00      29.00      52.00      24.00      24.00      51.00      65.00     128.00      29.00
+                                                                                       2.00  730785.00 -2455134.00      50.00    3408.00      59.00      27.00      34.00      47.00      82.00     132.00      46.00      59.00      27.00      34.00      47.00      82.00     132.00      46.00      59.00      27.00      34.00      47.00      82.00     132.00      46.00
+                                                                                       3.00  730785.00 -2454134.00      50.00    3374.00      57.00      28.00      33.00      50.00      82.00     131.00      44.00      57.00      28.00      33.00      50.00      82.00     131.00      44.00      57.00      28.00      33.00      50.00      82.00     131.00      44.00
+
+
---- ----