View Full Version : how to set exposure value programmatically
December 13, 2011, 12:35:23
I am trying to change the exposure value programmatically by using the setProperty() function. In my image sourcing camera i am getting the exposure value like as 1/1000, 1/500 and so on. But in setProperty() function the argument that need to pass is an type of long. please tell me if there is any other function is available to process it.
Thanks in Advance
December 14, 2011, 08:30:27
the answer is also at http://www.theimagingsourceforums.com/showthread.php?324120-set-exposure-programmatically-makes-an-issue
May 24, 2012, 12:39:45
Provided you have na instantiated Grabber object _Grabber, and exposure-value in variable _exposure:
DShowLib::tIVCDPropertyInterfacePtr pItf = _Grabber->getAvailableVCDProperties()->findInterface(DShowLib::VCDID_Exposure,
pItf->QueryInterface( pRangeItf );
if( pRangeItf == 0 )
Hope it's usefull!
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.