C# Class SANTA.Controller.ImageRecognition

A class that performs image recognition on an image.
Afficher le fichier Open project: siegleal/iSanta

Méthodes publiques

Méthode Description
ProcessImage ( String filename, int shotsFired, int pixelsPerRadius, int ROIx, int ROIy, int ROIheight, int ROIwidth ) : List

Performs image recognition on an image returning a list of points where possible bullet holes are located.

TestImageRecognition ( ) : void

Tests the image recognition module.

Method Details

ProcessImage() public static méthode

Performs image recognition on an image returning a list of points where possible bullet holes are located.
public static ProcessImage ( String filename, int shotsFired, int pixelsPerRadius, int ROIx, int ROIy, int ROIheight, int ROIwidth ) : List
filename String The filename of the image.
shotsFired int The number of bullet holes to look for.
pixelsPerRadius int The approximate number of pixels per radius of a bullet hole.
ROIx int The x-coordinate of the top left corner of the region of interest.
ROIy int The y-coordinate of the top left corner of the region of interest.
ROIheight int The height in pixels of the region of interest.
ROIwidth int The width in pixels of the region of interest.
Résultat List

TestImageRecognition() public static méthode

Tests the image recognition module.
public static TestImageRecognition ( ) : void
Résultat void