C# Class SANTA.Controller.ImageRecognition

A class that performs image recognition on an image.
ファイルを表示 Open project: siegleal/iSanta

Public Methods

Method 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 method

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.
return List

TestImageRecognition() public static method

Tests the image recognition module.
public static TestImageRecognition ( ) : void
return void