Camera Properties/Configure Selected
10 views (last 30 days)
Show older comments
When I use the imaqtool with only one of my cameras connected to the computer I am able to access only very few camera settings. However when I plug a second camera into my computer and hit preview a dialog box comes up that prompts me to choose my camera. In this dialogue box there is a button that says "configure selected" that has many more camera properties for me to edit(and they all work). I would like to know how I can edit these with just a single camera plugged in, and how I could go about accessing them from my own code.
Specifically I'm very interested in manipulating the exposure time, but it does not show up when I use get(vid) or get(getselectedsource(vid)) etc. It seems to be only accessible from this configure selected window which only shows up when two cameras are plugged in. I am using winvideo, it is a Scorpion PointGrey camera, Matlab R2012b.
0 Comments
Answers (1)
Image Analyst
on 20 Oct 2015
Did you try something like this:
vidobj = videoinput('lumeneraimaqW32', 1, '4008x2672'); % Replace with your camera.
src = getselectedsource(vidobj);
src.Exposure = scrollbarValue; % Or some number that you want. I get mine from a scrollbar.
2 Comments
Image Analyst
on 21 Oct 2015
Maybe try the brightness property.
Otherwise, I don't know and it's difficult for me to debug without your camera so I suggest you contact the Mathworks or the camera manufacturer.
See Also
Categories
Find more on Point Grey Hardware in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!