C# Class ForMiner.SaperImageDetectionWindows7

Mostrar archivo Open project: JohnyWaster/SaperBot Class Usage Examples

Public Properties

Property Type Description
path string

Public Methods

Method Description
GetSaperField ( ) : ].int[
IfAnyChanges ( SaperCell table, Rectangle rect, int y, int x ) : bool
IfGameOverWin7 ( Byte>.Image image ) : bool
IfNewGameStarted ( Byte>.Image image ) : bool
SaperImageDetectionWindows7 ( Byte>.Image image, int tableOfNumbers ) : System

Private Methods

Method Description
CellRecognitionWin7 ( Byte>.Image image ) : int
Correlation ( Byte>.Image image1, Byte>.Image image2, int gray ) : bool
GrayAverage ( Byte>.Image img ) : int
ImageToMatrix ( Byte>.Image image, int tableOfNumbers ) : void
InitiateCellsWin7 ( ) : void

Method Details

GetSaperField() public method

public GetSaperField ( ) : ].int[
return ].int[

IfAnyChanges() public static method

public static IfAnyChanges ( SaperCell table, Rectangle rect, int y, int x ) : bool
table SaperCell
rect System.Drawing.Rectangle
y int
x int
return bool

IfGameOverWin7() public static method

public static IfGameOverWin7 ( Byte>.Image image ) : bool
image Byte>.Image
return bool

IfNewGameStarted() public static method

public static IfNewGameStarted ( Byte>.Image image ) : bool
image Byte>.Image
return bool

SaperImageDetectionWindows7() public method

public SaperImageDetectionWindows7 ( Byte>.Image image, int tableOfNumbers ) : System
image Byte>.Image
tableOfNumbers int
return System

Property Details

path public_oe static_oe property

public static string path
return string