Skip to content

Commit 766bde5

Browse files
habipakyolsedatguzelsemme
authored andcommitted
Fix typo in haralick_descriptors.py (TheAlgorithms#10988)
1 parent aa13cf4 commit 766bde5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: computer_vision/haralick_descriptors.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -253,13 +253,13 @@ def matrix_concurrency(image: np.ndarray, coordinate: tuple[int, int]) -> np.nda
253253

254254

255255
def haralick_descriptors(matrix: np.ndarray) -> list[float]:
256-
"""Calculates all 8 Haralick descriptors based on co-occurence input matrix.
256+
"""Calculates all 8 Haralick descriptors based on co-occurrence input matrix.
257257
All descriptors are as follows:
258258
Maximum probability, Inverse Difference, Homogeneity, Entropy,
259259
Energy, Dissimilarity, Contrast and Correlation
260260
261261
Args:
262-
matrix: Co-occurence matrix to use as base for calculating descriptors.
262+
matrix: Co-occurrence matrix to use as base for calculating descriptors.
263263
264264
Returns:
265265
Reverse ordered list of resulting descriptors

0 commit comments

Comments
 (0)