BUG: Fix typo and docstrng

This commit is contained in:
Neil Yager
2011-11-21 10:06:59 +00:00
parent ab780b1ecd
commit 0597cec006
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -90,5 +90,5 @@ plt.ylabel('GLVM Correlation')
plt.legend()
# display the patches and plot
plt.suptitle('Grey level co-occurance matrix features', fontsize=14)
plt.suptitle('Grey level co-occurrence matrix features', fontsize=14)
plt.show()
+1 -1
View File
@@ -156,7 +156,7 @@ def greycoprops(P, prop='contrast'):
... [2, 2, 3, 3]], dtype=np.uint8)
>>> g = greycomatrix(image, [1, 2], [0, np.pi/2], levels=4,
... normed=True, symmetric=True)
>>> contrast = compute_glcm_prop(g, 'contrast')
>>> contrast = greycoprops(g, 'contrast')
>>> contrast
array([[ 0.58333333, 1. ],
[ 1.25 , 2.75 ]])