Image Acquisition Toolbox: Obtaining Camera Property Constraint Values
Afficher commentaires plus anciens
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 commentaires
Evan
le 26 Sep 2012
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur GigE Vision Hardware dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!