reading and writing movie files of of . y4m extension

조회 수: 5 (최근 30일)
Majid Al-Sirafi
Majid Al-Sirafi 2015년 12월 2일
댓글: Walter Roberson 2017년 4월 10일
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