필터 지우기
필터 지우기

Image acquisition toolbox app

조회 수: 1 (최근 30일)
Sagar
Sagar 2014년 7월 22일
편집: Image Analyst 2014년 7월 24일
How to capture video frames or images with uncompressed format in Image acquisition toolbox app,I'm using matlab-2013a and I have connected my logitech webcam c525 to the system

채택된 답변

Akshay
Akshay 2014년 7월 23일
Refer to the documentation link for Setting Acquisition Parameters in the Image Acquisition Tool.

추가 답변 (1개)

Image Analyst
Image Analyst 2014년 7월 23일
Have you tried getsnapshot()?
  댓글 수: 1
Sagar
Sagar 2014년 7월 24일
편집: Image Analyst 2014년 7월 24일
already had got the answer,I tried this prg
vid = videoinput('winvideo', 1, 'RGB24_1024x576');
preview(vid)
src = getselectedsource(vid);
vid.LoggingMode = 'memory';
m=5;
vid.TriggerRepeat = 5;
triggerconfig(vid, 'manual');
vid.TimerFcn = 'trigger(vid)';
vid.TimerPeriod = 1;
n=1;
vid.FramesPerTrigger = n;
start(vid)
for i=1:m*n
imagename = ['C:\Program Files\MATLAB\R2013a\bin\Sample_image' num2str(i) '.tif'];
imwrite(getdata(vid), imagename);
end
stop(vid)

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

Community Treasure Hunt

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

Start Hunting!

Translated by