MpatSetSearchParameter()函数
Synopsis
Set a pattern matching internal search parameter.
Format
void MpatSetSearchParameter(ModelId, Parameter, Value)
图像处理: 滤波,增强,锐化,边缘检测,直方图,分割,轮廓提取,变换,形态学,几何变换,拟合,特征提取,匹配,分析,分类
Synopsis
Set a pattern matching internal search parameter.
Format
void MpatSetSearchParameter(ModelId, Parameter, Value)
Synopsis
Set the pattern matching search position.
Format
void MpatSetPosition(ModelId, OffX, OffY, SizeX, SizeY)
Synopsis
Set the expected number of occurrences of a model.
Format
void MpatSetNumber(ModelId, NbOccurences)
Synopsis
Set the pattern matching model’s “don’t care” pixels.
Format
void MpatSetDontCare(ModelId, ImageBufId, OffX, OffY, Value)
Synopsis
Set the pattern matching model center.
Format
void MpatSetCenter(ModelId, OffX, OffY)
Synopsis
Set the pattern matching certainty level.
Format
void MpatSetCertainty(ModelId, CertaintyThreshold)
Synopsis
Set the pattern matching positional accuracy.
Format
void MpatSetAccuracy(ModelId, Accuracy)
Synopsis
Set the angular search control parameters of a model.
Format
void MpatSetAngle(ModelId, ControlType, ControlValue)
Synopsis
Set the pattern matching acceptance level.
Format
void MpatSetAcceptance(ModelId, AcceptanceThreshold)
Synopsis
Save a pattern matching model to disk.
Format
void MpatSave(FileName, ModelId)