-
Notifications
You must be signed in to change notification settings - Fork 21
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
Support reading images other thant RGB #149
Comments
@emilmgeorge this is another use case for allowing |
kornia-rs/crates/kornia-io/src/functional.rs Line 130 in a4b5fd4
Here
|
@emilmgeorge awesome, I'll give it a shot. Also we can start supporting to return a generic |
a small pov here #154 feel free to comment |
Your implementation in #154 looks good. 👍🏼 I do not have any better ideas. |
Expand
kornia_io::functional::read_image_any
to read / decode images in more formats such as u16reference: https://github.com/kornia/kornia-rs/blob/main/crates/kornia-io/src/functional.rs#L104
NOTE: Take especial care when constructing the
Image
to avoid copies: https://github.com/kornia/kornia-rs/blob/main/crates/kornia-io/src/functional.rs#L130The text was updated successfully, but these errors were encountered: