C# 클래스 Emgu.CV.PointCollection

A collection of points
파일 보기 프로젝트 열기: fajoy/RTSPExample

공개 메소드들

메소드 설명
BoundingRectangle ( PointF points ) : Rectangle

Find the bounding rectangle for the specific array of points

ConvexHull ( PointF points, MemStorage storage, CvEnum orientation ) : Seq

Finds convex hull of 2D point set using Sklansky's algorithm

EllipseLeastSquareFitting ( PointF points ) : Ellipse

Fit an ellipse to the points collection

GeneratePointCloud ( Ellipse e, int numberOfPoints ) : System.Drawing.PointF[]

Generate a random point cloud around the ellipse.

Line2DFitting ( PointF points, CvEnum type, PointF &normalizedDirection, PointF &aPointOnLine ) : void

Fit a line to the points collection

MinAreaRect ( PointF points ) : MCvBox2D

Find the bounding rectangle for the specific array of points

MinEnclosingCircle ( PointF points ) : CircleF

Find the minimum enclosing circle for the specific array of points

PolyLine ( PointF points, bool closed ) : Emgu.CV.Structure.LineSegment2DF[]

convert a series of points to LineSegment2D

PolyLine ( Point points, bool closed ) : Emgu.CV.Structure.LineSegment2D[]

convert a series of System.Drawing.Point to LineSegment2D

ReprojectImageTo3D ( Byte>.Image disparity, Matrix Q ) : MCvPoint3D32f[]

Reproject pixels on a 1-channel disparity map to array of 3D points.

ReprojectImageTo3D ( Int16>.Image disparity, Matrix Q ) : MCvPoint3D32f[]

Reproject pixels on a 1-channel disparity map to array of 3D points.

메소드 상세

BoundingRectangle() 공개 정적인 메소드

Find the bounding rectangle for the specific array of points
public static BoundingRectangle ( PointF points ) : Rectangle
points System.Drawing.PointF The collection of points
리턴 System.Drawing.Rectangle

ConvexHull() 공개 정적인 메소드

Finds convex hull of 2D point set using Sklansky's algorithm
public static ConvexHull ( PointF points, MemStorage storage, CvEnum orientation ) : Seq
points System.Drawing.PointF The points to find convex hull from
storage MemStorage the storage used by the resulting sequence
orientation CvEnum The orientation of the convex hull
리턴 Seq

EllipseLeastSquareFitting() 공개 정적인 메소드

Fit an ellipse to the points collection
public static EllipseLeastSquareFitting ( PointF points ) : Ellipse
points System.Drawing.PointF The points to be fitted
리턴 Emgu.CV.Structure.Ellipse

GeneratePointCloud() 공개 정적인 메소드

Generate a random point cloud around the ellipse.
public static GeneratePointCloud ( Ellipse e, int numberOfPoints ) : System.Drawing.PointF[]
e Emgu.CV.Structure.Ellipse The region where the point cloud will be generated. The axes of e corresponds to std of the random point cloud.
numberOfPoints int The number of points to be generated
리턴 System.Drawing.PointF[]

Line2DFitting() 공개 정적인 메소드

Fit a line to the points collection
public static Line2DFitting ( PointF points, CvEnum type, PointF &normalizedDirection, PointF &aPointOnLine ) : void
points System.Drawing.PointF The points to be fitted
type CvEnum The type of the fitting
normalizedDirection System.Drawing.PointF The normalized direction of the fitted line
aPointOnLine System.Drawing.PointF A point on the fitted line
리턴 void

MinAreaRect() 공개 정적인 메소드

Find the bounding rectangle for the specific array of points
public static MinAreaRect ( PointF points ) : MCvBox2D
points System.Drawing.PointF The collection of points
리턴 MCvBox2D

MinEnclosingCircle() 공개 정적인 메소드

Find the minimum enclosing circle for the specific array of points
public static MinEnclosingCircle ( PointF points ) : CircleF
points System.Drawing.PointF The collection of points
리턴 CircleF

PolyLine() 공개 정적인 메소드

convert a series of points to LineSegment2D
public static PolyLine ( PointF points, bool closed ) : Emgu.CV.Structure.LineSegment2DF[]
points System.Drawing.PointF the array of points
closed bool if true, the last line segment is defined by the last point of the array and the first point of the array
리턴 Emgu.CV.Structure.LineSegment2DF[]

PolyLine() 공개 정적인 메소드

convert a series of System.Drawing.Point to LineSegment2D
public static PolyLine ( Point points, bool closed ) : Emgu.CV.Structure.LineSegment2D[]
points Point the array of points
closed bool if true, the last line segment is defined by the last point of the array and the first point of the array
리턴 Emgu.CV.Structure.LineSegment2D[]

ReprojectImageTo3D() 공개 정적인 메소드

Reproject pixels on a 1-channel disparity map to array of 3D points.
public static ReprojectImageTo3D ( Byte>.Image disparity, Matrix Q ) : MCvPoint3D32f[]
disparity Byte>.Image Disparity map
Q Matrix The reprojection 4x4 matrix, can be arbitrary, e.g. the one, computed by cvStereoRectify
리턴 MCvPoint3D32f[]

ReprojectImageTo3D() 공개 정적인 메소드

Reproject pixels on a 1-channel disparity map to array of 3D points.
public static ReprojectImageTo3D ( Int16>.Image disparity, Matrix Q ) : MCvPoint3D32f[]
disparity Int16>.Image Disparity map
Q Matrix The reprojection 4x4 matrix, can be arbitrary, e.g. the one, computed by cvStereoRectify
리턴 MCvPoint3D32f[]