Hi everyone,
The question pertains to the Image Acquisition Toolbox. I'm interested in building a programmatic GUI, where I can have some sliders to control the basic settings like Contrast, Brightness, etc. For a script, what I have so far is the following:
clc; clear all; close all;
imaqreset;
deviceIDToUse = 2;
resolutionList_IDX = 1;
dev_info = imaqhwinfo('winvideo',deviceIDToUse);
resolutionList = dev_info.SupportedFormats;
vid = videoinput(...
'winvideo', deviceIDToUse,...
resolutionList{resolutionList_IDX});
src = getselectedsource(vid);
get(src)
One thing I cannot figure out is how I can get the ranges of the Device Specific Properties. I can access the values clicking the videosource variable in the workspace.
Would anyone have an idea on how I can access the ranges programmatically?
Thanks in advance.
Cheers