Open edgarriba opened 2 years ago
https://github.com/cessen/openexr-rs/blob/master/examples/simple_input.rs - can be done something like this to import images to tensor?
With the current image-rs we already can decode exr, however we need to somehow redesign the cv:: Tensor class so that can hold not only uint8 but also floating point data.
I think using Rust generics might work? I can try when I have some time.
the crate
image-rs
supports openexr images so that we can import/export floating point images. However, thecv::Tensor
class assumes for now only byte representation.