C# Class ForMiner.SaperImageDetectionWindows7

Afficher le fichier Open project: JohnyWaster/SaperBot Class Usage Examples

Méthodes publiques

Свойство Type Description
path string

Méthodes publiques

Méthode 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

Méthode 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 méthode

public GetSaperField ( ) : ].int[
Résultat ].int[

IfAnyChanges() public static méthode

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

IfGameOverWin7() public static méthode

public static IfGameOverWin7 ( Byte>.Image image ) : bool
image Byte>.Image
Résultat bool

IfNewGameStarted() public static méthode

public static IfNewGameStarted ( Byte>.Image image ) : bool
image Byte>.Image
Résultat bool

SaperImageDetectionWindows7() public méthode

public SaperImageDetectionWindows7 ( Byte>.Image image, int tableOfNumbers ) : System
image Byte>.Image
tableOfNumbers int
Résultat System

Property Details

path public_oe static_oe property

public static string path
Résultat string