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
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.
vijay chander
vijay chander 2014 年 2 月 24 日
編集済み: vijay chander 2014 年 2 月 25 日
Thanks but the problem i'm facing is i cant able to read vido into matlab im getting the error saying that the following codec is missing on ur computer h 264 i cant understand whats this i cant able to figure it out im running out of time please help me about this Thank you

サインインしてコメントする。

 採用された回答

David Young
David Young 2014 年 2 月 12 日

0 投票

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 件のコメント

vijay chander
vijay chander 2014 年 2 月 18 日
thanks David for giving me solution i upgraded for 2011 a version but i m facing some errors
Error in ==> VideoReader.VideoReader>VideoReader.init at 423 obj.VideoReaderImpl = audiovideo.mmreader(fullName);
Error in ==> VideoReader.VideoReader>VideoReader.VideoReader at 133 obj.init(fileName);
David Young
David Young 2014 年 2 月 18 日
Is that the whole error message? It's surprisingly uninformative. Are other programs able to read your file? If they can, I guess you might need to contact MathWorks support for advice.
vijay chander
vijay chander 2014 年 2 月 20 日
no its saying that some codecs are missing in ur computer
David Young
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
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
Urmila 2014 年 2 月 12 日

0 投票

you can use mmreader(filemame) function. see matlab documentation on mmreader function.

1 件のコメント

vijay chander
vijay chander 2014 年 2 月 12 日
im getting this error
>> mmreader('C:\vijay\Wildlife.avi')'; ??? Undefined function or method 'mmreader' for input arguments of type 'char'.

サインインしてコメントする。

質問済み:

2014 年 2 月 12 日

編集済み:

2014 年 2 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by