Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
implemented a few more pymorph algorithms
git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@184 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
- Loading branch information
volayaf@gmail.com
committed
May 17, 2012
1 parent
40f1ea5
commit 16b3417
Showing
17 changed files
with
26 additions
and
2 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
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 erode | ||
output_array=erode(input_array) |
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 gdist | ||
output_array=gdist(input_array) |
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 gradm | ||
output_array=gradm(input_array) |
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 @@ | ||
##Contrast_threshold=number 1 | ||
from sextante.pymorph.mmorph import hmax | ||
output_array=hmax(input_array, Contrast_threshold) |
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 @@ | ||
##Contrast_threshold=number 1 | ||
from sextante.pymorph.mmorph import hmin | ||
output_array=hmin(input_array, Contrast_threshold) |
Empty file.
Empty file.
Empty file.
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 @@ | ||
##Binary_marker_image=raster | ||
from sextante.pymorph.mmorph import inpos, binary | ||
img2 = gdal.Open(Binary_marker_image) | ||
input_array2 = img2.ReadAsArray() | ||
output_array=inpos(binary(input_array2), input_array) |
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,3 @@ | ||
##Number_of_isolines=number 10 | ||
from sextante.pymorph.mmorph import isolines | ||
output_array=isolines(input_array, Number_of_isolines) |