BitmapHelperToTemplateMatchingImage メソッド |
Bimapを画像認識用の画像に変換します。主にMatch(),Matches()で使用されます。
名前空間:
KeyToKey.Plugins.Helpers
アセンブリ:
KeyToKey.Plugins (in KeyToKey.Plugins.dll) バージョン: 1.0.0.0 (1.0.0.0)
構文public static ITemplateMatchingImage ToTemplateMatchingImage(
this Bitmap bitmap,
bool grayscale = false,
double scale = 1
)
パラメーター
- bitmap
- 型: System.DrawingBitmap
bitmap - grayscale (Optional)
- 型: SystemBoolean
グレースケール - scale (Optional)
- 型: SystemDouble
["M:KeyToKey.Plugins.Helpers.BitmapHelper.ToTemplateMatchingImage(System.Drawing.Bitmap,System.Boolean,System.Double)"に対する<param name="scale"/>がありません
戻り値
型:
ITemplateMatchingImageITemplateMatchingImage
使用上の注意
Visual Basic と C#では、
Bitmap型のオブジェクトのインスタンスメソッドのようにこのメソッドを呼び出せます。このメソッドを呼び出すためにインスタンスメソッド構文を使う場合、最初のパラメーターを省略します。詳細は、
拡張メソッド(Visual Basic)または
拡張メソッド(C# プログラミング ガイド)を参照してください。
関連項目