Winvideo Camera Exposure - only integer exposure values?

3 visualizaciones (últimos 30 días)
Németh Gergely
Németh Gergely el 13 de Nov. de 2019
Respondida: Harper Leung el 7 de Jun. de 2022
Dear Matlab User Community!
I have a ZWO ASI 183MM Pro and I want to control it through winvideo. Everything works fine, but I only can adjust the exposure value in EVs which has to be az integer. That means that I only can set exposure time to 2^EV values. I can calculate back the the EV from the desired exposure time but I cant set non integer values?
propinfo(src,'Exposure')
Type: 'integer'
Constraint: 'bounded'
ConstraintValue: [-15 11]
DefaultValue: -5
ReadOnly: 'whileRunning'
DeviceSpecific: 1
Accessible: 1
Does anyone has an idea how to get rid of this limitation, I want to set other eposure time than the powers of two!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Respuestas (1)

Harper Leung
Harper Leung el 7 de Jun. de 2022
I have the same problem. Maybe you use the following cammand to connect the camera:
vid = videoinput('winvideo', 1, 'RGB8_1280x1024');
I found out that MATLAB Support Package for USB Webcams is unable to obtain or change many device properties like ExposureTime and Gamma.
Then I uninstall this support package and install Image Acquisition Toolbox Support Package for GenICam Interface. If your camera supports a new standard like GENiCAM, you can try it or install another appropriate support package. Note that two support packages will probably conflict with each other when they exist at the same time. And make sure you use the different cammand to connect the camera:
vid = videoinput('gentl', 1, 'Mono8');

Productos


Versión

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by