C# Class Accord.Imaging.BorderFollowing

Border following algorithm for contour extraction.
Inheritance: IContourExtractionAlgorithm
Mostrar archivo Open project: accord-net/framework Class Usage Examples

Public Methods

Method Description
BorderFollowing ( ) : AForge

Initializes a new instance of the BorderFollowing class.

BorderFollowing ( byte threshold ) : AForge

Initializes a new instance of the BorderFollowing class.

FindContour ( Bitmap image ) : List

Extracts the contour from a single object in a grayscale image.

FindContour ( BitmapData image ) : List

Extracts the contour from a single object in a grayscale image.

FindContour ( UnmanagedImage image ) : List

Extracts the contour from a single object in a grayscale image.

Private Methods

Method Description
CheckPixelFormat ( PixelFormat format ) : void

Method Details

BorderFollowing() public method

Initializes a new instance of the BorderFollowing class.
public BorderFollowing ( ) : AForge
return AForge

BorderFollowing() public method

Initializes a new instance of the BorderFollowing class.
public BorderFollowing ( byte threshold ) : AForge
threshold byte The pixel value threshold above which a pixel /// is considered black (belonging to the object). Default is zero.
return AForge

FindContour() public method

Extracts the contour from a single object in a grayscale image.
public FindContour ( Bitmap image ) : List
image System.Drawing.Bitmap A grayscale image.
return List

FindContour() public method

Extracts the contour from a single object in a grayscale image.
public FindContour ( BitmapData image ) : List
image System.Drawing.Imaging.BitmapData A grayscale image.
return List

FindContour() public method

Extracts the contour from a single object in a grayscale image.
public FindContour ( UnmanagedImage image ) : List
image UnmanagedImage A grayscale image.
return List