GlobalsBridgeMatch メソッド (String, Int32, Int32, Int32, Int32, Double, MatchResult) |
テンプレート画像に類似する一つの画像を探します。
名前空間:
KeyToKey.Plugins
アセンブリ:
KeyToKey.Plugins (in KeyToKey.Plugins.dll) バージョン: 1.0.0.0 (1.0.0.0)
構文 public bool Match(
string templateImageFilePath,
int x,
int y,
int width,
int height,
double threshold,
out MatchResult result
)
パラメーター
- templateImageFilePath
- 型: SystemString
テンプレート画像のファイルパス(.png, .jpg, .bmp) - x
- 型: SystemInt32
探索する横の座標 - y
- 型: SystemInt32
探索する縦の座標 - width
- 型: SystemInt32
探索する横の範囲 - height
- 型: SystemInt32
探索する縦の範囲 - threshold
- 型: SystemDouble
類似度(0.0~1.0)。どれくらいの数値になれば類似画像としてみなすかどうかを決める値です。1.0に近いほど類似性が高いことを示します。 - result
- 型: KeyToKey.PluginsMatchResult
探索結果
戻り値
型:
Boolean類似画像が見つかったかどうかを返します。
実装
IGlobalsMatch(String, Int32, Int32, Int32, Int32, Double, MatchResult)関連項目