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

Dithering area inconsistent when running image sequences. #29

Closed
mbilyanov opened this issue Dec 22, 2021 · 2 comments
Closed

Dithering area inconsistent when running image sequences. #29

mbilyanov opened this issue Dec 22, 2021 · 2 comments

Comments

@mbilyanov
Copy link

Hi,

First of all, what a great tool! This has a great creative potential and I have been using it for a while now.

One issue I'm having is, with image sequences I get some areas with dithering that are jumping around when run through pyxelate. I know it is a difficult problem to solve as the shading of those areas change from frame to frame. I can try and share some test images if you are interested. I wish there was a way to lock the dithering samples?

What I tried, is generating the palette from a single image:

pyx = Pyx(upscale=1, factor=2, dither="naive", alpha=0.4, sobel=5, palette=7)
pyx.fit(init_image)

init_image being a single image out of the whole sequence.

But that did not solve my issues.

@sedthh
Copy link
Owner

sedthh commented Jan 3, 2022

Please check https://github.com/sedthh/pyxelate/tree/video-support branch

@mbilyanov
Copy link
Author

Thank you. Looks like a good solution. Will test further.

@sedthh sedthh closed this as completed Jan 15, 2022
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

2 participants