MpatSetSearchParameter()函数

Synopsis

Set a pattern matching internal search parameter.

Format

void MpatSetSearchParameter(ModelId, Parameter, Value)

MIL_ID ModelId; Identifier of model to be affected
long Parameter; Parameter to be set
double Value; Value to set parameter to

继续阅读MpatSetSearchParameter()函数

MpatSetPosition()函数

Synopsis

Set the pattern matching search position.

Format

void MpatSetPosition(ModelId, OffX, OffY, SizeX, SizeY)

MIL_ID ModelId;

Identifier of model to be affected

long OffX;

X-coordinate of search region origin within target image

long OffY;

Y-coordinate of search region origin within target image

long SizeX;

Width of search region

long SizeY;

Height of the search region

继续阅读MpatSetPosition()函数

MpatSetDontCare()函数

Synopsis

Set the pattern matching model’s “don’t care” pixels.

Format

void MpatSetDontCare(ModelId, ImageBufId, OffX, OffY, Value)

MIL_ID ModelId; Model identifier
MIL_ID ImageBufId; “Don’t-care” image buffer identifier
long OffX; Start of “don’t care” mask in X direction
long OffY; Start of “don’t care” mask in Y direction
long Value; Pixel value in image to be considered as “don’t care” value

继续阅读MpatSetDontCare()函数