imageproc
imageproc copied to clipboard
Multi Channel Image
I am trying to work with multi-channel images. In OpenCV this is supported by the generic cv::Mat type. Where you can pass an arbitrary number of channels. The use case is to upscale an image after ML inference which has 7 channels. (I am using tract_onnx which also does not offer any resize operation on their Tensors).
I have been browsing the docs and examples but I cannot seem to figure out how to do that. From what I have seen, the Pixel data structure only holds maximum of 4 channels and supports just some well known image structures.
Is there a way to do it and if so how?
Thanks a lot for the help