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

sample_mode=4|5 introduces banding #22

Open
q3cpma opened this issue Dec 28, 2024 · 0 comments
Open

sample_mode=4|5 introduces banding #22

q3cpma opened this issue Dec 28, 2024 · 0 comments

Comments

@q3cpma
Copy link

q3cpma commented Dec 28, 2024

Hello,

tried the new mode with this input picture, here are the results:
gentoo-abducted-1680x1050__s

sample_mode=2:
gentoo-abducted-1680x1050__s_2

sample_mode=5:
gentoo-abducted-1680x1050__s_5

Using the following script:

import vapoursynth as vs

core = vs.core

src = core.imwri.Read($(dquote "$in"))
src = core.resize.Bilinear(src, format=vs.YUV444P8, matrix=1)
src = core.neo_f3kdb.Deband(src, sample_mode=X, range=15})
src = core.resize.Bilinear(src, format=vs.RGB24)
src = core.imwri.Write(src, "PNG", $(dquote "$out"), overwrite=True)

src.set_output()

EDIT: sample_mode=4 has the same output as 5 here. I guess it's just corner case?

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