MATLAB Answers


area or macroblock of a video frame (video processing)

Asked by James
on 23 Jun 2011


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!



No products are associated with this question.

1 Answer

Answer by Walter Roberson
on 23 Jun 2011

Consider using blockproc() or blkproc() or filt2()


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today