reading and writing movie files of of . y4m extension

5 次查看(过去 30 天)
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

采纳的回答

Walter Roberson
Walter Roberson 2015-12-2
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 个评论
sendja450
sendja450 2017-4-10
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 ?
Walter Roberson
Walter Roberson 2017-4-10
mat2cell() to break into blocks, and then histogram each. Or, alternately, you might be able to use blockproc()

请先登录,再进行评论。

更多回答(0 个)

产品

Community Treasure Hunt

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

Start Hunting!

Translated by