Hi,
I'm using a NIMAQ PCI-1428 with a Pulnix TMC1000 camera. I'm writing an image processing program in VC++6.0. My question is, how do i read the contents of imaqbuffer byte by byte (for each pixel)? I want to process the image prior to displaying in to screen.
rval = imgPlot(GUIHNDL window, void* buffer, uInt32 leftBufOffset, uInt32 topBufOffset, uInt32 xsize, uInt32 ysize, uInt32 xpos, uInt32 ypos, uInt32 flags)
Using the imgPlot, i can plot to window, and then using getPixel & setPixel i can do the processing (in this case, i want to do thresholding to the image). But this is too slow.
How can i access the memory pixel by pixel, and process it in the memory (change the content of memory) and the call
imgPlot to draw on a window?
And by the way, what's the memory content structure of the buffer?
Thx in advance.