How to assign 2d images to planes of a 3d OpenCV Mat, then extract 2D Mats along a different axis?

后端 未结 1 558
南旧
南旧 2021-01-19 09:53

I want to make a 3D Mat out of stacked 2D Mats and then pull out 2D Mats along a different axis of the 3D Mat. I know I can build this up manually accessing every row or co

相关标签:
1条回答
  • 2021-01-19 10:19

    I have done a lot of work with opencv and as far as I know that is the best way to do it. You could make a Mat of higher dimensional vectors but then your access would be even less clean. Stick to the vector its your best bet.

    0 讨论(0)
提交回复
热议问题