C# Class Emgu.CV.Features2D.PlanarObjectDetector

A Planar object detector
Inheritance: Emgu.Util.UnmanagedObject
Afficher le fichier Open project: fajoy/RTSPExample

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
DisposeObject ( ) : void

Release the unmanaged memory associated with this detector

Method Details

Detect() public méthode

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
Résultat System.Drawing.PointF[]

DisposeObject() protected méthode

Release the unmanaged memory associated with this detector
protected DisposeObject ( ) : void
Résultat void

GetModelPoints() public méthode

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

PlanarObjectDetector() public méthode

Create a planar Object detector
public PlanarObjectDetector ( ) : System
Résultat System

Train() public méthode

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
Résultat void