A Sandcastle Documented Class Library
IGlobals
Match メソッド (String, Double, Bounds, MatchResult
)
テンプレート画像に類似する一つの画像を探します。
名前空間:
KeyToKey.Plugins
アセンブリ:
KeyToKey.Plugins (in KeyToKey.Plugins.dll) バージョン: 1.0.0.0 (1.0.0.0)
構文
C#
コピー
bool
Match
(
string
templateImageFilePath
,
double
threshold
,
Bounds
bounds
,
out
MatchResult
result
)
パラメーター
templateImageFilePath
型:
System
String
テンプレート画像のファイルパス(.png, .jpg, .bmp)
threshold
型:
System
Double
類似度(0.0~1.0)どれくらいの数値になれば類似画像としてみなすかどうかを決める値です。1.0に近いほど類似性が高いことを示します。
bounds
型:
KeyToKey.Plugins
Bounds
位置と範囲
result
型:
KeyToKey.Plugins
MatchResult
探索結果
戻り値
型:
Boolean
類似画像が見つかったかどうかを返します。
関連項目
参照
IGlobals インターフェイス
Match オーバーロード
KeyToKey.Plugins 名前空間