AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
142.18k stars 26.84k forks source link

Image2Image color correction enabled will overdrive the colors #2435

Closed Ladypoly closed 1 year ago

Ladypoly commented 2 years ago

Describe the bug When the option "Apply color correction to img2img results to match original colors." is enabled the colors will overdrive.

To Reproduce Steps to reproduce the behavior:

  1. Go to Settings
  2. Enable ""Apply color correction to img2img results to match original colors."
  3. Go to Img2Img
  4. Generate image

Expected behavior Colors should match the original image.

Screenshots https://imgur.com/a/X45Emfn

Desktop (please complete the following information):

Additional context It was working fine when I first tried it two weeks ago. But since I wasn't using image2image I can't tell exactly when it broke.

foofifoo commented 2 years ago

I am also experiencing this bug. While testing, I also noticed that it only effected the first image, which led me to discover that it is only applied to the first image in a batch. I've actually had this bug for a while, but thought the issue was related to my parameters or images, since it seems to create a lot of color "noise" I have images dating back to September 13th, when I first used this repo, with this issue, which wasn't as noticeable, mainly caused some red a blue to be added to bits of the image.

OS: Windows 10 x64 Browser: Firefox Commit revision: https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/4ed99d599640bb86bc793aa3cbed31c6d0bd6957

mezotaken commented 1 year ago

https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/5644 probably fixed by this one