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?
↧