C# Class OpenCvSharp.Blob.CvContourChainCode

Inheritance: ICloneable
Mostra file Open project: shimat/opencvsharp Class Usage Examples

Public Methods

Method Description
Clone ( ) : CvContourChainCode

ConvertToPolygon ( ) : CvContourPolygon

Convert a chain code contour to a polygon.

CvContourChainCode ( ) : System

Perimeter ( ) : double

Calculates perimeter of a polygonal contour.

Render ( Mat img ) : void

Draw a contour.

Render ( Mat img, Scalar color ) : void

Draw a contour.

Method Details

Clone() public method

public Clone ( ) : CvContourChainCode
return CvContourChainCode

ConvertToPolygon() public method

Convert a chain code contour to a polygon.
public ConvertToPolygon ( ) : CvContourPolygon
return CvContourPolygon

CvContourChainCode() public method

public CvContourChainCode ( ) : System
return System

Perimeter() public method

Calculates perimeter of a polygonal contour.
public Perimeter ( ) : double
return double

Render() public method

Draw a contour.
public Render ( Mat img ) : void
img Mat Image to draw on.
return void

Render() public method

Draw a contour.
public Render ( Mat img, Scalar color ) : void
img Mat Image to draw on.
color Scalar Color to draw (default, white).
return void