PDA

View Full Version : Images to VisSDK



Unregistered
April 24, 2003, 15:43:29
I want to know how do I send images from the Live Video to a sequence of VisSDK (cVisSequence). I must change the type of the image to CDefaultImage.
Thank you

Stefan Geissler
May 7, 2003, 07:04:34
Hello,

I do not know, how to work with the VisSDK, but the MemBuffer delivered by IC Imaging Control is a DIB. You can get a BITMAPINFOHEADER structure and a pointer to the image data from the MemBuffer. If you take a look in the Demoapp->childview::OnPaint Method, you can see, how to access the imagedata.

If you want to capture a sequence, you can do this, like it is shown in the Callback example of IC Imaging Control. There is a ring buffer used, that is an array of MemBuffers.