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 correct mistake #6

Open
lllyasviel opened this issue Sep 2, 2023 · 0 comments
Open

Color correct mistake #6

lllyasviel opened this issue Sep 2, 2023 · 0 comments

Comments

@lllyasviel
Copy link

color_lab = cv2.cvtColor(color_layer, cv2.COLOR_BGR2Lab)

Here the image seems in RGB format but the computation uses BGR.

If we add:

cv2.imwrite('a.png', blended_result)

to def color_blend(bw_layer,color_layer)

we will get this image

a

indicating that the image channel is inversed

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

1 participant