Fix doc string of texture detection

This commit is contained in:
Johannes Schönberger
2012-08-26 00:08:29 +02:00
parent 90420f0924
commit 32afefef23
2 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -95,7 +95,8 @@ def _local_binary_pattern(np.ndarray[double, ndim=2] image,
R : float
Radius of circle (spatial resolution of the operator).
method : {'D', 'R', 'U', 'V'}
Method to determine the pattern::
Method to determine the pattern.
* 'D': 'default'
* 'R': 'ror'
* 'U': 'uniform'
+3 -3
View File
@@ -139,7 +139,6 @@ def greycoprops(P, prop='contrast'):
`P[i,j,d,theta]` is the number of times that grey-level j
occurs at a distance d and at an angle theta from
grey-level i.
prop : {'contrast', 'dissimilarity', 'homogeneity', 'energy', \
'correlation', 'ASM'}, optional
The property of the GLCM to compute. The default is 'contrast'.
@@ -241,8 +240,9 @@ def local_binary_pattern(image, P, R, method='default'):
angular space).
R : float
Radius of circle (spatial resolution of the operator).
method : {'D', 'R', 'U', 'V'}
Method to determine the pattern::
method : {'default', 'ror', 'uniform', 'var'}
Method to determine the pattern.
* 'default': original local binary pattern which is gray scale but not
rotation invariant.
* 'ror': extension of default implementation which is gray scale and