PDA

View Full Version : IC Imaging Control 3.2, Rotate-flip filter issue



BennettG
April 3, 2011, 22:13:21
I'm having a problem using the rotate-flip filter with the 3.2 version. It works fine with 3.1.

I'm building with Visual Studio 2003 version 7.1.6030 VC++.
The camera is a TIS DMK 72AUC02.
I set up TIS in this manner:


InitLibrary(keystring);
s_pGrabber = new Grabber();
s_pGrabber->openDev( "DMx 72AUC02" );
s_pGrabber->setVideoFormat( "Y800 (640x480)" );
static smart_com<IFrameFilter> pRotFlipFilter = FilterLoader::createFilter( "Rotate Flip", "");
pRotFlipFilter->setParameter( "Rotation Angle", 90 );
pRotFlipFilter->setParameter( "Flip H", false );
pRotFlipFilter->setParameter( "Flip V", false );
bool flag = s_pGrabber->setDeviceFrameFilters( pRotFlipFilter.get() );
tFrameHandlerSinkPtr pSink = FrameHandlerSink::create( eY800, 1 );
pSink->setSnapMode( true );
s_pGrabber->setSinkType( pSink );
s_pGrabber->startLive( false );
pSink->snapImages( 1 ); // BOOM!
smart_ptr<MemBuffer> pMemBuffer = pSink->getLastAcqMemBuffer();
pMemBuffer->save("Image.bmp");
s_pGrabber->stopLive();
s_pGrabber->closeDev();


The code fails in TIS_UDSHL09_vc71d.dll!0079effe() when snapImages is called.

A ROI filter works fine.

Any ideas on what the problem could be?
Thanks very much.

Michael Kirmse
April 4, 2011, 14:13:42
Hello BennettG,

It seems you need a software update, please create a support case at:

http://www.theimagingsource.com/en_US/contact/

Stefan Geissler
April 11, 2011, 14:58:01
Hello Benett,

I am very sorry for the error in the RotateFlip using the VS 2003 environment. Also I would like to apoligize for the long time we needed to fix the problem. I have sent the download link by email to you. Now you can use the RotateFlip filter as desired

BennettG
April 20, 2011, 00:11:54
Thanks, Stephan. The rotate flip filter works now.