View Full Version : Processing video before displaying

June 10, 2005, 15:57:22

I would like to process the video data before it is displayed in the icImagingControl box. As far as I have learned up to now, it is only possible to get image data from the buffers when live video has stopped. But then of course the image data is no longer updated. So how can I process (e.g. invert) the video data BEFORE it is displayed live.

Thanks in advance,

Stefan Geissler
June 13, 2005, 08:32:03

Please have a look to the ImageAvailable event handler. You can refer to:

In the event handler you can access the image data as in the normal image processing sample shown.
You should make sure, that the image processing is fast enough, to it does not block your application. You may use an "unsafe" section, to make the image processing realy fast. There is also an "Image Processing" sample in the "samples/C#" directory of your IC Imaging Control installation, that shows the unsafe handling. This works only with C#.