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

Feature request: specify direction of scanning #2

Open
plazer1 opened this issue Oct 3, 2024 · 0 comments
Open

Feature request: specify direction of scanning #2

plazer1 opened this issue Oct 3, 2024 · 0 comments

Comments

@plazer1
Copy link

plazer1 commented Oct 3, 2024

It would be nice if we could specify the direction of scanning:

  • top-down / bottom-up
  • left-to-right / right-to-left
  • "serpentine scanning" ‒ horizontal direction of scan alternates between lines

Another, more interesting feature, is a non-constant kernel. For example, we could specify a set of kernels ‒ e.g. A = 7 3 5 1; B = 3 2 3 8; C = 4 4 4 4 ‒ which would be applied to successive pixels in sequence (A B C A B C…) or randomly, etc.

An even more interesting feature, although this is no longer Floyd-Steinberg dithering, would be a multi-pass error distribution, where the error can be pushed to previously processed pixels in the first pass(es), and the last pass would either be a standard forward-only distribution (a la Floyd-Steinberg), or the back-propagated error would simply be discarded.

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

No branches or pull requests

1 participant