Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

Reshape 2D matrix into 4D matrix in OpenCV

$
0
0
I have a 2D matrix which has the size 4096 × 800, if I want to convert it to a 4D in OpenCV, first I should convert it to a 64 × 64, and then that 64 × 64 x 400 x 2 into an 4D. After getting 4D matrix 64 x 64 x 400 x 2 I want to take 64 x 64 x 400 x 1 as one 4D matrix and 64 x 64 x 400 x 2 as one 4D matrix. Can anyone help me with that?

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>