C# 클래스 Emgu.CV.Features2D.PlanarObjectDetector

A Planar object detector
상속: Emgu.Util.UnmanagedObject
파일 보기 프로젝트 열기: fajoy/RTSPExample

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
DisposeObject ( ) : void

Release the unmanaged memory associated with this detector

메소드 상세

Detect() 공개 메소드

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
리턴 System.Drawing.PointF[]

DisposeObject() 보호된 메소드

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

GetModelPoints() 공개 메소드

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

PlanarObjectDetector() 공개 메소드

Create a planar Object detector
public PlanarObjectDetector ( ) : System
리턴 System

Train() 공개 메소드

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
리턴 void