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

Confusion about the to_rgb flag in mmlabNormalize function #274

Open
zhanghm1995 opened this issue Jul 18, 2023 · 1 comment
Open

Confusion about the to_rgb flag in mmlabNormalize function #274

zhanghm1995 opened this issue Jul 18, 2023 · 1 comment

Comments

@zhanghm1995
Copy link

Hello, thanks for sharing this wonderful work.

When I dive into this code, I am curious about the image processing pipeline. In this line, you load the images with the PIL.Image.open function, in this case, the channels order of the images are already RGB.

However, you still use the to_rgb = True in this line in the mmlabNormalize function to transform the order of the channels. But in this case, the channels would be changed to BGR.

I'm not sure if this operation is your special design or just a bug. I hope you could help me to understand this.

@zbl-96
Copy link

zbl-96 commented Mar 28, 2024

any updates?

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

2 participants