Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: change webcam resolution
Replies: 4   Last Post: Nov 19, 2012 8:42 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
kinor

Posts: 181
Registered: 11/19/09
change webcam resolution
Posted: Nov 15, 2012 8:50 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi all,

the attempt to use the image acquisition toolbox for using a webcam was really fast:

video = videoinput('winvideo',1);
preview(video)
foto = getsnapshot(video);

however the desired resolution was not achieved.
how is it possible to change the resolution?

k = imaqhwinfo('winvideo');
k.DeviceInfo.SupportedFormats

gives me the desired Format:
'RGB24_1600x1200'

the attempt to use it fails:

video = videoinput('winvideo',1, 'VideoResolution', [1600 1200]);
Error using videoinput (line 319)
The FORMAT specified is not supported by this device. See IMAQHWINFO(ADAPTORNAME).


thanks for any hint
kinor



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.