C# Class Accord.Vision.Detection.HaarFeature

Inheritance: IXmlSerializable, ICloneable
Mostrar archivo 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.

GetSum ( IntegralImage2 image, int x, int y ) : double

Gets the sum of the areas of the rectangular features in an integral image.

HaarFeature ( ) : System

Constructs a new Haar-like feature.

HaarFeature ( bool tilted ) : System

Constructs a new Haar-like feature.

IXmlSerializable ( XmlReader reader ) : void
IXmlSerializable ( XmlWriter writer ) : void
SetScaleAndWeight ( float scale, float weight ) : void

Sets the scale and weight of a Haar-like rectangular feature container.

Private Methods

Method Description
IXmlSerializable ( ) : XmlSchema

Method Details

Clone() public method

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

GetSum() public method

Gets the sum of the areas of the rectangular features in an integral image.
public GetSum ( IntegralImage2 image, int x, int y ) : double
image Accord.Imaging.IntegralImage2
x int
y int
return double

HaarFeature() public method

Constructs a new Haar-like feature.
public HaarFeature ( ) : System
return System

HaarFeature() public method

Constructs a new Haar-like feature.
public HaarFeature ( bool tilted ) : System
tilted bool
return System

IXmlSerializable() public method

public IXmlSerializable ( XmlReader reader ) : void
reader System.Xml.XmlReader
return void

IXmlSerializable() public method

public IXmlSerializable ( XmlWriter writer ) : void
writer System.Xml.XmlWriter
return void

SetScaleAndWeight() public method

Sets the scale and weight of a Haar-like rectangular feature container.
public SetScaleAndWeight ( float scale, float weight ) : void
scale float
weight float
return void