Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@187 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
- Loading branch information
volayaf@gmail.com
committed
May 21, 2012
1 parent
f97a6b5
commit 3608452
Showing
11 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
Empty file.
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,5 @@ | ||
##Additional_image=raster | ||
from sextante.pymorph.mmorph import suprec | ||
img2 = gdal.Open(Additional_image) | ||
input_array2 = img2.ReadAsArray() | ||
output_array = suprec(input_array, input_array2) |
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,5 @@ | ||
##Additional_image=raster | ||
from sextante.pymorph.mmorph import symdiff | ||
img2 = gdal.Open(Additional_image) | ||
input_array2 = img2.ReadAsArray() | ||
output_array = symdiff(input_array, input_array2) |
Empty file.
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,3 @@ | ||
#iterations=number 1 | ||
from sextante.pymorph.mmorph import thick | ||
output_array=thick(input_array, n=iterations) |
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,3 @@ | ||
#iterations=number 1 | ||
from sextante.pymorph.mmorph import thin | ||
output_array=thin(input_array, n=iterations) |
Empty file.
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 @@ | ||
##Additional_image=raster | ||
##Additional_image_2=raster | ||
from sextante.pymorph.mmorph import toggle | ||
img2 = gdal.Open(Additional_image) | ||
input_array2 = img2.ReadAsArray() | ||
img3 = gdal.Open(Additional_image_2) | ||
input_array3 = img2.ReadAsArray() | ||
|
||
output_array = toggle(input_array, input_array2, input_array3) | ||
|
Empty file.
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,2 @@ | ||
from sextante.pymorph.mmorph import watershed | ||
output_array=watershed(input_array) |