area or macroblock of a video frame (video processing)

조회 수: 4 (최근 30일)
James
James 2011년 6월 23일
Hi
I am looking select the a current macroblock of a frame with height 120 and width 320.
I now want to loop through selecting each macroblock of the frame from right to left.
So the macroblock will be:
frame(1:8,1:8) then frame(1:8,9:16) then frame(1:8,17:24) . . . ending frame(113:120, 313:320)
Can someone give me the code for this, it should not be too hard, I am just a newbie to Matlab!

답변 (1개)

Walter Roberson
Walter Roberson 2011년 6월 23일
Consider using blockproc() or blkproc() or filt2()

카테고리

Help CenterFile Exchange에서 Audio and Video Data에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by