Hey guys. I want to use reshape() function in matlab by calling the following self-defined function : imgRgb = reshape(convertYuvToRgb(reshape(imgYuv, height*width, 3)), height, width, 3);
here, width=352, height=288, imgYuv is a 4D matrix.
However, the system gave me the following error message: To RESHAPE the number of elements must not change.
Can any expert give me some tips?
Thanks!