MATLAB Answers

0

reading and writing movie files of of . y4m extension

Asked by Majid Al-Sirafi on 2 Dec 2015
Latest activity Commented on by Walter Roberson
on 10 Apr 2017
Hi everyone I have two questions
1-How to read and write movie files (of . y4m extension) with matlab
2-I want simple movies (.avi extension) with little frames with size(256X256) or size(512X512)
Regards

  0 Comments

Sign in to comment.

Products

1 Answer

Answer by Walter Roberson
on 2 Dec 2015
 Accepted Answer

For writing y4m files I do not see code available (but I do see it listed as an Extra Credit project at a couple of universities.)
For writing .avi see VideoWriter

  9 Comments

Image analysis that requires square matrices would typically be analyzing frame by frame, but the information calculated might be tracked through multiple frames.
I'm using the function you mentioned in your answer, it worked for me. Now I want to divide each frame into 64x64 block and build an histogram for each block created. Could you help me on that ?
mat2cell() to break into blocks, and then histogram each. Or, alternately, you might be able to use blockproc()

Sign in to comment.