ProcUnit::GetMeasureImage
Gets the pointer to the memory space where the image data of the current target image is stored
IMAGE *GetMeasureImage(
int measureImageNo
);
Parameters
measureImageNo
|
The current target 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 current target image number which is specified by the argument.
Before you get the pointer to the image data of the current target image, you need to set the current target image by using
ProcUnit::SetMeasureImage.
Example
int Sample::MeasureProc(ProcUnit *ptrProcUnit)
{
IMAGE *ImageData;
// Get image data
ImageData = ptrProcUnit->GetMeasureImage(0);
// Perform the image data processing by using the address ImageData
}