hello everybody,
i'd like to dye my acquired pictures (for example with red color).
the bayer-example works well with my equipment. but when i changed the LLring-example
i had the problem that WIN shuts down.
the row that is responsible for this errors was found, but i don't know exactly what is wrong.
has anybody an idea?
best regards,
malte
//*****************************************************
[...] //other stuff...LUT calculation etc. - works well
inside the thread...
DWORD ImaqThread(LPDWORD lpdwParam)
{
[...]
// Copy the last valid buffer from on-board memory to system memory
errChk(imgSessionCopyBuffer (Sid, currBufNum, (uInt8 *)CopyBuffer, FALSE));
//here is something going wrong - WIN shuts down!
errChk(imgBayerColorDecode(RGBBuffer,(void *)CopyBuffer, AcqWinHeight, AcqWinWidth,
AcqWinWidth, AcqWinWidth, redLUT, greenLUT, blueLUT,
IMG_BAYER_PATTERN_GBGB_RGRG, bPP, 0));
errChk(imgPlot ((GUIHNDL)ImaqSmplHwnd, (void *)RGBBuffer, 0, 0, AcqWinWidth, AcqWinHeight,
CanvasLeft, CanvasTop, plotFlag));
lastBufNum = currBufNum;
[...]
}