C# Class Accord.Vision.Detection.HaarRectangle

Inheritance: ICloneable
Show file Open project: accord-net/framework Class Usage Examples

Public Methods

Method Description
Clone ( ) : object

Creates a new object that is a copy of the current instance.

HaarRectangle ( int values ) : System

Constructs a new Haar-like feature rectangle.

HaarRectangle ( int x, int y, int width, int height, float weight ) : System

Constructs a new Haar-like feature rectangle.

Parse ( string s ) : HaarRectangle

Converts from a string representation.

ScaleRectangle ( float value ) : void

Scales the values of this rectangle.

ScaleWeight ( float scale ) : void

Scales the weight of this rectangle.

Private Methods

Method Description
HaarRectangle ( ) : System

Method Details

Clone() public method

Creates a new object that is a copy of the current instance.
public Clone ( ) : object
return object

HaarRectangle() public method

Constructs a new Haar-like feature rectangle.
public HaarRectangle ( int values ) : System
values int Values for this rectangle.
return System

HaarRectangle() public method

Constructs a new Haar-like feature rectangle.
public HaarRectangle ( int x, int y, int width, int height, float weight ) : System
x int
y int
width int
height int
weight float
return System

Parse() public static method

Converts from a string representation.
public static Parse ( string s ) : HaarRectangle
s string
return HaarRectangle

ScaleRectangle() public method

Scales the values of this rectangle.
public ScaleRectangle ( float value ) : void
value float
return void

ScaleWeight() public method

Scales the weight of this rectangle.
public ScaleWeight ( float scale ) : void
scale float
return void