|
1 | | -# Copyright (C) 2008-2023, Luis Pedro Coelho <luis@luispedro.org> |
| 1 | +# Copyright (C) 2008-2025, Luis Pedro Coelho <luis@luispedro.org> |
2 | 2 | # vim: set ts=4 sts=4 sw=4 expandtab smartindent: |
3 | 3 | # |
4 | 4 | # License: MIT (see COPYING file) |
@@ -108,11 +108,11 @@ def haralick(f, |
108 | 108 | difference between max() and min()) across all the directions (default: |
109 | 109 | False). |
110 | 110 | use_x_minus_y_variance : bool, optional |
111 | | - Feature 10 (index 9) has two interpretations, as the variance of \|x-y\| |
112 | | - or as the variance of P(\|x-y\|). In order to achieve compatibility with |
| 111 | + Feature 10 (index 9) has two interpretations, as the variance of |x-y| |
| 112 | + or as the variance of P(|x-y|). In order to achieve compatibility with |
113 | 113 | other software and previous versions of mahotas, mahotas defaults to |
114 | | - using ``VAR[P(\|x-y\|)]``; if this argument is True, then it uses |
115 | | - ``VAR[\|x-y\|]`` (default: False) |
| 114 | + using ``VAR[P(|x-y|)]``; if this argument is True, then it uses |
| 115 | + ``VAR[|x-y|]`` (default: False) |
116 | 116 |
|
117 | 117 |
|
118 | 118 | Returns |
@@ -220,11 +220,11 @@ def haralick_features(cmats, |
220 | 220 | difference between max() and min()) across all the directions (default: |
221 | 221 | False). |
222 | 222 | use_x_minus_y_variance : bool, optional |
223 | | - Feature 10 (index 9) has two interpretations, as the variance of \|x-y\| |
224 | | - or as the variance of P(\|x-y\|). In order to achieve compatibility with |
| 223 | + Feature 10 (index 9) has two interpretations, as the variance of |x-y| |
| 224 | + or as the variance of P(|x-y|). In order to achieve compatibility with |
225 | 225 | other software and previous versions of mahotas, mahotas defaults to |
226 | | - using ``VAR[P(\|x-y\|)]``; if this argument is True, then it uses |
227 | | - ``VAR[\|x-y\|]`` (default: False) |
| 226 | + using ``VAR[P(|x-y|)]``; if this argument is True, then it uses |
| 227 | + ``VAR[|x-y|]`` (default: False) |
228 | 228 |
|
229 | 229 | Returns |
230 | 230 | ------- |
|
0 commit comments