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

When working with OpenCV should the images be transformed to RGB? #2915

Closed
dfvr1994 opened this issue Jan 24, 2025 · 2 comments
Closed

When working with OpenCV should the images be transformed to RGB? #2915

dfvr1994 opened this issue Jan 24, 2025 · 2 comments
Labels
question Further information is requested

Comments

@dfvr1994
Copy link

Discussed in #2914

Originally posted by dfvr1994 January 24, 2025
OpenCV loads the images in BGR. When calculating using the functional interface https://github.com/Lightning-AI/torchmetrics/tree/master/src/torchmetrics/functional/image should I first transform my images to RGB?

Copy link

Hi! thanks for your contribution!, great first issue!

@Borda Borda added the question Further information is requested label Jan 25, 2025
@Borda
Copy link
Member

Borda commented Jan 25, 2025

I assume so as it is the basic color format :)

@Borda Borda closed this as completed Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants