how to fast execute the avi file in matlab?when i am view avi file in matlab its working properly but when i apply some code and run the file the file execute very slowly so what to do?

1 次查看(过去 30 天)
vidObj = mmreader('videoavi.avi');
i=1;
for(i<300)
q=read(vidObj,i);
//various morphologicl instruction
//image segmentation
end

回答(1 个)

Image Analyst
Image Analyst 2014-3-5
Some operations just take a while. It depends on what you're doing with the badly-named "q".

Community Treasure Hunt

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

Start Hunting!

Translated by