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

Color and brightness issue- #18

Open
demiguelm opened this issue Apr 18, 2023 · 9 comments
Open

Color and brightness issue- #18

demiguelm opened this issue Apr 18, 2023 · 9 comments

Comments

@demiguelm
Copy link

image

Yeah, that's happen to me for a while. Any help?

@carloball
Copy link

I have the same issue

@demiguelm
Copy link
Author

I have noticed that it does it especially in the darkest images, as if it made a kind of "auto tone" prior to pixelization. In medium bright or very bright images it is less visible.

@dustyatticgames
Copy link

I made a PR that adds options to copy hue and saturation from the original image. You can wait for that to be merged or install the extension from my repo: https://github.com/dustyatticgames/stable-diffusion-webui-pixelization

@demiguelm
Copy link
Author

demiguelm commented Jul 17, 2023

image

Uhm...

@demiguelm
Copy link
Author

image

I get this IndexError and when works, resusoults are not what expected.

image

Seems like is the brightness what is messing around

@demiguelm
Copy link
Author

one more example:

image

@dustyatticgames
Copy link

I see what you mean. I think you're right, the model seems to be struggling with darker colors. My fix was to address a different issue I was seeing. Attached is an example of what I was trying to solve (and what I thought you were experiencing but I was wrong). I did push a fix for the "image index out of range" issue you experienced with my change if you decide to use it.

King

@demiguelm
Copy link
Author

I see what you mean. I think you're right, the model seems to be struggling with darker colors. My fix was to address a different issue I was seeing. Attached is an example of what I was trying to solve (and what I thought you were experiencing but I was wrong). I did push a fix for the "image index out of range" issue you experienced with my change if you decide to use it.

King

Thanks! The color fix is really great. I more or less get around the problem of dark colors by pre-treating in PS, but it only works for "slightly" dark images.

@2blackbar
Copy link

Its fixed , each image has a bit less or more issues so i left finetuning for the user, dark areas are affected the most
#22 (comment)

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

4 participants