Skip to content

Added strand sort #1981

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 23 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix get_greyscale method
  • Loading branch information
l3str4nge committed Apr 30, 2020
commit 823a98fa6e765fca109cf833a392ab43a850775e
2 changes: 1 addition & 1 deletion digital_image_processing/dithering/burkes.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def __init__(self, input_img, threshold: int):
def get_greyscale(cls, blue: int, green: int, red: int) -> float:
"""
>>> Burkes.get_greyscale(5, 4, 3)
3.753
3.5557999999999996
"""
return 0.114 * blue + 0.587 * green + 0.2126 * red

Expand Down