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 Transfer: add Initial Reference Image parameter #2848

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Splendide-Imaginarius
Copy link
Contributor

Among other things, this allows performing a consistent color transfer operation to multiple input images, or performing a color transfer to a large image based on the color difference in only a small portion of that image.

@Splendide-Imaginarius
Copy link
Contributor Author

(I see my formatting isn't to Ruff's liking, I'll fix that soon.)

@RunDevelopment
Copy link
Member

What problem does this solve?

@Splendide-Imaginarius
Copy link
Contributor Author

What problem does this solve?

@RunDevelopment I have 3 input images, which are intended to be stacked together later (and which share a color scheme). I have one reference image, which corresponds to one of the input images. I want to do a color transfer from the reference image to its corresponding input image, and perform the same color transformation to the other two input images (such that the consistent color scheme in the 3 input images stays consistent in the 3 output images). This PR enables me to do that by using the same image as the initial reference image for all 3 color transfer operations.

@Splendide-Imaginarius
Copy link
Contributor Author

Ruff seems happy now; feel free to review.

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

Successfully merging this pull request may close these issues.

2 participants