C# Class Emgu.CV.Features2D.PlanarObjectDetector

A Planar object detector
Inheritance: Emgu.Util.UnmanagedObject
ファイルを表示 Open project: fajoy/RTSPExample

Public Methods

Method Description
Detect ( Byte>.Image image, HomographyMatrix h ) : System.Drawing.PointF[]

Detect planar object from the specific image

GetModelPoints ( ) : Emgu.CV.Structure.MKeyPoint[]

Get the model points stored in this detector

PlanarObjectDetector ( ) : System

Create a planar Object detector

Train ( byte>.Image image, int npoints, int patchSize, int nstructs, int structSize, int nviews, LDetector &keyPointDetector, PatchGenerator &patchGenerator ) : void

Train the planar object detector using the specific image

Protected Methods

Method Description
DisposeObject ( ) : void

Release the unmanaged memory associated with this detector

Method Details

Detect() public method

Detect planar object from the specific image
public Detect ( Byte>.Image image, HomographyMatrix h ) : System.Drawing.PointF[]
image Byte>.Image The image where the planar object will be detected
h HomographyMatrix The homography matrix which will be updated
return System.Drawing.PointF[]

DisposeObject() protected method

Release the unmanaged memory associated with this detector
protected DisposeObject ( ) : void
return void

GetModelPoints() public method

Get the model points stored in this detector
public GetModelPoints ( ) : Emgu.CV.Structure.MKeyPoint[]
return Emgu.CV.Structure.MKeyPoint[]

PlanarObjectDetector() public method

Create a planar Object detector
public PlanarObjectDetector ( ) : System
return System

Train() public method

Train the planar object detector using the specific image
public Train ( byte>.Image image, int npoints, int patchSize, int nstructs, int structSize, int nviews, LDetector &keyPointDetector, PatchGenerator &patchGenerator ) : void
image byte>.Image The training image
npoints int Use 300 for default
patchSize int Use 31 for default
nstructs int Use 50 for default
structSize int Use 9 for default
nviews int Use 5000 for default
keyPointDetector LDetector The keypoint detector to be used
patchGenerator PatchGenerator The patch generator to be used
return void