View Full Version : saveimage before overlay
January 24, 2004, 20:06:48
I think that SDK will be used for image processing.
but, only what was overlayimage can be taken in by frameready.
Please teach me how to take in the image before being overlay.
January 26, 2004, 09:54:51
The only way to hide the overlay in the GrabberListener::frameRead() method, is to disable the OverlayBitmap in the main thread. This is because the overlay graphics is directly drawn on the live video images.
I suggest to not use the overlaybitmap in your application. You should perform your imageprocessing in the GrabberListener::frameReady() method and draw the image buffer using GDI functions.
I have attached a sample to this post, that instantiates a GrabberListener derived CListener object. In the CListener object, the frameReady() method calls an empty DoImageProcessing() method and then a DrawBuffer() method, that draws the current image buffer to the current view window.
January 26, 2004, 09:55:38
Sorry, i forgot the sample attachment.
January 26, 2004, 15:07:28
Thanks for your help.
Powered by vBulletin® Version 4.2.3 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.