필터 지우기
필터 지우기

I am using vision.videofilereader to read video files,URLs.I am able to access read the videos/URLs using step command.But I am not able to save the read data as images. Is there a way in which frame accessed using step can be saved as image(jpg,png)?

조회 수: 1 (최근 30일)
I am using vision tool box.I am using vision.videofilereader to read video files,URLs.I am able to access read the videos/URLs using step command.But I am not able to save the read data as images. Is there a way in which frame accessed using step can be saved as image(jpg,png)?
  댓글 수: 1
amit pathania
amit pathania 2012년 5월 21일
I am able to do this:
hvfr = vision.VideoFileReader('viplanedeparture.avi');
hp = vision.VideoPlayer;
while ~isDone(hvfr)
videoFrame = step(hvfr);
step(hp, videoFrame);
end
release(hp);
release(hvfr);
BUT I WANT TO SAVE VIDEOFRAME AS IMAGE.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Computer Vision with Simulink에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by