How to convert video into Frames
4 次查看(过去 30 天)
显示 更早的评论
Hi sir
I'm doing a project on histogram equalization of videos for that i need to convert videos into images(Frames) so that i can apply histogram techniques on images and again i convert back into video of avi format.
please help me sir i am using matlab version R2010a
Thankyou...
2 个评论
Image Analyst
2014-2-18
That could give a very odd looking video. At the very least you'd want to do it only on the L or V channel, not on R, G, and B separately.
采纳的回答
David Young
2014-2-12
Is it possible for you to upgrade to version 2010b or later? If so, you could use VideoReader.
vreader = VideoReader(vidfile);
frames = 1:vreader.NumberOfFrames;
for f = frames
try
im = vreader.read(f);
catch err
<error processing>
end
<image processing>
end
5 个评论
David Young
2014-2-21
I think MathWorks support is the best bet then. You might be able to work out how to download the missing codecs, but I can't really help with that, sorry.
David Young
2014-2-21
I think MathWorks support is the best bet then. You might be able to work out how to download the missing codecs, but I can't really help with that, sorry.
更多回答(1 个)
Urmila
2014-2-12
you can use mmreader(filemame) function. see matlab documentation on mmreader function.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!