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
DOCS: Description of example in skimage.feature.graycomatrix documentation does not seem to match the code #7293
In the scikit image documentation on the gray-level co-occurrence matrix, the Example states: "Compute 2 GLCMs: One for a 1-pixel offset to the right, and one for a 1-pixel offset upwards."
The code below however computes 4 GLCMs result = graycomatrix(image, [1], [0, np.pi/4, np.pi/2, 3*np.pi/4], levels=4).
Should it not just be result = graycomatrix(image, [1], [0, np.pi/2], levels=4)?
Thanks for the hint @FedericoWZhaw! #955 makes me think that that when the other angles were added the comment was just forgotten. Would you like to make a PR that fixes the comment? 😊 🙏
Activity
lagru commentedon Jan 15, 2024
Thanks for the hint @FedericoWZhaw! #955 makes me think that that when the other angles were added the comment was just forgotten. Would you like to make a PR that fixes the comment? 😊 🙏
FedericoWZhaw commentedon Jan 15, 2024
Made the PR: main...FedericoWZhaw:scikit-image:graycomatrix-docfix#7293
github-actions commentedon Jul 14, 2024