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 view (last 30 days)
vidObj = mmreader('videoavi.avi');
i=1;
for(i<300)
q=read(vidObj,i);
//various morphologicl instruction
//image segmentation
end

Answers (1)

Image Analyst
Image Analyst on 5 Mar 2014
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!