1D array, elements are 2D matrix [test]
이전 댓글 표시
I read a 10 frames YUV sequence into matlab. There are three outputs, Y U and V. Each of them is a 1 by 10 matrix, and Each of the elements contains a 288*352 matrix. I wonder what is the syntex to read the 10 frames separatly. I try Y[:,1] but didn't work.
Thanks!
댓글 수: 1
Oleg Komarov
2011년 2월 11일
Post the answer of whos Y U V
답변 (2개)
Vieniava
2011년 2월 11일
What about this:
Y(:,:,1)
Walter Roberson
2011년 2월 12일
0 개 추천
Yf = cat(3,Y{:}); Uf = cat(3,U{:}); Vf = cat(3,V{:});
Then frame K is Yf(:,:,K) and Uf(:,:,K) and Vf(:,:,K)
카테고리
도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!