drgolf
September 1, 2010, 02:13:12
I want to change the camera gain (get rid of grainy images).
I couldn't find an appropriate command.
THANKS :)
grabber.setVideoFormat("Y800 (640x480)");
pSink = FrameHandlerSink::create( eY800, 1 );
pSink->setSnapMode( true );
grabber.setSinkType( pSink );
result = grabber.prepareLive( false ); // this allows getting info
if (result == false)
{
printf("FAILED\n");
cin.get();
}
pSink->getOutputFrameType( info );
pBuf = new BYTE[info.buffersize];
result = grabber.setExternalTrigger(true);
grabber.startLive();
I couldn't find an appropriate command.
THANKS :)
grabber.setVideoFormat("Y800 (640x480)");
pSink = FrameHandlerSink::create( eY800, 1 );
pSink->setSnapMode( true );
grabber.setSinkType( pSink );
result = grabber.prepareLive( false ); // this allows getting info
if (result == false)
{
printf("FAILED\n");
cin.get();
}
pSink->getOutputFrameType( info );
pBuf = new BYTE[info.buffersize];
result = grabber.setExternalTrigger(true);
grabber.startLive();