ProcUnit::GetImageFormat
Gets the type of the image data
int GetImageFormat(
int measureImageNo
);
Parameters
measureImageNo
|
The current target image number to be gotten
|
Return Value
Returns the image type.
Available types are:
0 (I_BINARY): Binary image
1 (I_MONOCHRO): Monochrome image
2 (I_RGBCOLOR): RGB color image
100 (I_USERFORMAT): User-defined image
101 (I_USERDATA): User-defined data
Description
Gets the type of the specified image.
Example
int Sample::MeasureProc(ProcUnit *ptrProcUnit)
{
int format;
// Get the type of image No. 0
format = ptrProcUnit->GetImageFormat(0);
}