Skip to content
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

Add serpentine scanning option to error diffusion algorithms #20

Open
adrhill opened this issue Jun 17, 2021 · 0 comments
Open

Add serpentine scanning option to error diffusion algorithms #20

adrhill opened this issue Jun 17, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@adrhill
Copy link
Collaborator

adrhill commented Jun 17, 2021

As described here under the section "The "false" Floyd-Steinberg filter":

Much better results would be obtained by using an alternating, or
serpentine, raster scan: processing the first line left-to-right, the next
line right-to-left, and so on (reversing the filter pattern appropriately).
Serpentine scanning –which can be used with any of the error-diffusion
filters detailed here– introduces an additional perturbation which
contributes more randomness to the resultant halftone.

(Apparently this is also known as Boustrophedon transform dithering.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant