Image acquisition toolbox app

7 vues (au cours des 30 derniers jours)
Sagar
Sagar le 22 Juil 2014
Modifié(e) : Image Analyst le 24 Juil 2014
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

Réponse acceptée

Akshay
Akshay le 23 Juil 2014
Refer to the documentation link for Setting Acquisition Parameters in the Image Acquisition Tool.

Plus de réponses (1)

Image Analyst
Image Analyst le 23 Juil 2014
Have you tried getsnapshot()?
  1 commentaire
Sagar
Sagar le 24 Juil 2014
Modifié(e) : Image Analyst le 24 Juil 2014
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)

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by