hello,
i'd like to produce an anaglyph picture. therefore i switch between two channels while the acquisition is running.
in the callback function i paint the two images in two different HBITMAPs. this happens not until i have both images
(this means, that the while-loop has to run twice before plotting).
when i got the two HBITMAPS, i read the COLORREFs wit GetPixel().
In a new HBITMAP i set the Pixel with setPixel(...,RGB(RValue(colorref1),0,BValue(colorref2))). This HBitmap is then
drawn with imgPlotDC.
the problem is, that SetPixel() is very slow, so that my frame rate goes down to 0.58 f/s...
has anybody an idea how to solve this problem?
best regards,
malte