Image Acquisition Toolbox: Obtaining Camera Property Constraint Values
Ältere Kommentare anzeigen
I'm currently attempting to obtain the available range of values for a number of camera settings using the Image Acquisition Toolbox, using multiple cameras that require either Mathlab's 'dcam' or 'gige' adaptor. In the case of the dcam, this is no problem, as I simply do the following:
vid = ('dcam',1,'someFormat');
src = getselectedsource(vid);
info = propinfo(src);
limits = info.someProperty.ConstraintValue;
The ConstraintValue field for each property gives me all the information I need. Now for the problem: in the case of the 'gige' adaptor, the ConstraintValue fields return as empty. However, it seems that this constraint info must exist somewhere, as if I try to set properties to values that are apparently outside their bounds using imaqtool, I get a message like the following:
Warning: The value of AcquisitionFrameRateAbs should be between 0.014552 and 5.084944.
So is there some way [other than propinfo()] to find this information using the Image Acquisition Toolbox ?
2 Kommentare
Evan
am 26 Sep. 2012
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu GigE Vision Hardware finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!