You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Documentation error: skimage.feature.graycomatrix, relationship between pixels #7919
Compute 4 GLCMs using 1-pixel distance and 4 different angles. For example, an angle of 0 radians refers to the neighboring pixel to the right; pi/4 radians to the top-right diagonal neighbor; pi/2 radians to the pixel above, and so forth
0 rad refer to the right pixel --> OK
pi/4 radians to the top-right diagonal neighbor -->no, it refers to bottom right
pi/2 radians to the pixel above --> no, it refers to bottom
Means the rotation direction is clockwise, which is unusual. Possibly an error in the code....
Hi lagru,
the documentation doesn't match the code's behavior.
The direction of rotation, as described in the documentation, is counterclockwise. The direction of rotation in the code is clockwise.
Hello scikit-image core devs! There hasn't been any activity on this issue for more than 180 days. I have marked it as "dormant" to make it easy to find.
To our contributors, thank you for your contribution and apologies if this issue fell through the cracks! Hopefully this ping will help bring some fresh attention to the issue. If you need help, you can always reach out on our forum
If you think that this issue is no longer relevant, you may close it, or we may do it at some point (either way, it will be done manually).
Activity
lagru commentedon Nov 10, 2025
Thanks for the feedback @g2rob. This was added in #7297, it could very well be that we mixed up something.
That said, could you clarify what you think is the error here?
g2rob commentedon Nov 14, 2025
Hi lagru,
the documentation doesn't match the code's behavior.
The direction of rotation, as described in the documentation, is counterclockwise. The direction of rotation in the code is clockwise.
docs: fix angle direction description in graycomatrix (Fixes scikit-i…
docs: fix angle direction description in graycomatrix (Fixes scikit-i…
stefanv commentedon Dec 13, 2025
Confirmed in my investigation on #7980 (comment)
github-actions commentedon Jun 12, 2026
Hello scikit-image core devs! There hasn't been any activity on this issue for more than 180 days. I have marked it as "dormant" to make it easy to find.
To our contributors, thank you for your contribution and apologies if this issue fell through the cracks! Hopefully this ping will help bring some fresh attention to the issue. If you need help, you can always reach out on our forum
If you think that this issue is no longer relevant, you may close it, or we may do it at some point (either way, it will be done manually).