MpatWrite()函数
Synopsis
Write a pattern matching model to an open file.
Format
void MpatWrite(FileHandle, ModelId)
记录分享,MIL5.1版本的Mpat模板匹配,模板匹配主要通过统计分析,遍历图像找到一处跟模板比分值最大点,多用来定位。
Synopsis
Write a pattern matching model to an open file.
Format
void MpatWrite(FileHandle, ModelId)
Synopsis
Set pattern matching search speed.
Format
void MpatSetSpeed(ModelId, SpeedFactor)
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 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)