Replies: 1 comment
-
This is a wanted feature. We have a proof of concept of this somewhere. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an
ArrayView<RGB8, Ix2>
whereRGB8
if from thergb
crate. This represents an RGB image with a width and height. I have my images in this format because it makes it easier to convert to a OpenCV Mat type for image processing. However, in some situations I need the data transmuted into aArrayView<u8, Ix3>
where the new axis is of length 3 for the red, green, blue color channels.The array memory should already be in the correct format, so ideally I shouldn't have to iterate through every element and "expand" it manually into a third axis. Is there a way to do this?
Beta Was this translation helpful? Give feedback.
All reactions