Image Acquisition Toolbox: Obtaining Camera Property Constraint Values
Mostrar comentarios más antiguos
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 comentarios
Evan
el 26 de Sept. de 2012
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre GigE Vision Hardware en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!