invoke-ai / invoke-ai/InvokeAI

[enhancement]: Color correction in Upscale tab

Open
#7,191 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
28.2k
Forks
3k
Avg merge
6d 5h
Merged PRs (30d)
19

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Contact Details

Svyaga

### What should this feature add?

It would be great to have color correction in Upscale tab. Depending on settings and model used, upscaling (especially at high denoise) can change colors a lot. Forge/reForge has color correction option, Invoke's "Workflows" also has a color correction node:
![image](https://github.com/user-attachments/assets/121ba61a-5d24-4689-9b58-d90ee186e3cc)

Here's an example:
Initial image
![c05d5d7e-7f83-49d1-b1df-0d3511f21c21](https://github.com/user-attachments/assets/9f1c8cc1-42cf-4191-b9eb-308c754b4c81)
Upscaled image (using Upscale tab)
![816853a5-e020-43a5-9b24-776fbc708096](https://github.com/user-attachments/assets/f1641a83-7dea-4289-a51d-219c228b17dd)
This is an example of using upscale with color correction in Workflows tab:
![7ed83c8e-4645-42b2-88f7-8846e6b1825a](https://github.com/user-attachments/assets/d4fc25aa-fa78-444d-ae43-13fa3ab14eaa)

I made a very primitive color correction in Workflow tab to use as a reference:
[color correction example.json](https://github.com/user-attachments/files/17512556/color.correction.example.json)
It just applies color correction at a low percent (so the image doesn't just revert to the original), but it loses some quality.
Better masking properties could lead to even better result.

### Alternatives

_No response_

### Additional Content

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.