ProcUnit::GetCameraImage
Gets the pointer to the memory space where the image data of the current target camera image is stored
IMAGE *GetCameraImage(
int measureImageNo
);
Parameters
measureImageNo
|
The current target camera image number to be got
|
Return Value
Returns the pointer to the structure in which an image data information is stored.
If failed to get, returns NULL.
Description
Gets the pointer to the memory space which stores the image data of the specified current target camera image number.
Example
int Sample::MeasureProc(ProcUnit *ptrProcUnit)
{
IMAGE *ImageData;
// Get image data
ImageData = ptrProcUnit->GetCameraImage(0);
// Perform the image data processing by using the address ImageData
}