grayscale

Greyscale ImageBuffer

M.Oostrik's picture

Hi All

I'm using the queue patch to create a video buffer. For most of my installations I use black and white (infrared) video from my flea2. The dimensions of the video are 1280x960 and it runs @ 30 fps.

When I use the image as is I can store up to 1000 images before strange things start to happen (flickering frame drops etc). I quess because most of the video Ram is used (?).

Because I use black and white video it din't seem logical to use the image as is in QC, because the image is RGBA (is this right?).

I started looking into alternatives and decided to try out the QC image to CV image (from Kineme CV) before the queue patch and CV to QC after. This resulted in a stunning amount of 20.000 images before QC fps start to fall under 30. Up to 35.000 (and counting while i write) images it runs @ 20 fps.

I got one problem here. The image turns from Black and White into Blue and White. I can solve this by inserting a Render in Image patch or an Image Resizer patch after the Video in patch or try to restore the black and white with a False Color patch. All these solutions bring down fps by around 30% .

2 concrete questions. is there a solution for the blue problem? anybody got suggestions for a different method of converting the images to greyscale?

I'll try the same patch on my Hackintosh with a GTS 250 graphics card when i find the max images on my MacPro with Ati Radeon X1900.

regards Matthias