Info

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

can I do graythresh on getdata output if I acquire only 1 frame from the video input object ?

1 view (last 30 days)
vid = videoinput('winvideo',1,'MJPG_1024x768'); set(vid,'TriggerRepeat',inf); vid.FrameGrabInterval = 4;
start(vid)
i = getdata(vid,1);

Answers (1)

Image Analyst
Image Analyst on 9 Jun 2015
You should be able to, though I'd use getsnapshot() if you're just getting one frame. It's super easy to bwthresh() - did you even try it?

Community Treasure Hunt

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

Start Hunting!