Info

This question is closed. Reopen it to edit or answer.

can exist 2 channel within one vedio frame?why we count frames in algorithm part on matlab

1 view (last 30 days)

function grmovstruct = myvideo(structname)

fcount = size(structname,2); for i = fcount:-1:1

    grvedio = rgb2gray(structname(i).cdata);
    imshow(grvedio);
    grmovstruct(i) = getframe;
end
movie(grmovstruct);
end

Answers (0)

Community Treasure Hunt

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

Start Hunting!