C# Class Emgu.CV.PointCollection

A collection of points
Afficher le fichier Open project: fajoy/RTSPExample

Méthodes publiques

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

Method Details

BoundingRectangle() public static méthode

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

ConvexHull() public static méthode

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

EllipseLeastSquareFitting() public static méthode

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

GeneratePointCloud() public static méthode

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

Line2DFitting() public static méthode

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

MinAreaRect() public static méthode

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

MinEnclosingCircle() public static méthode

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

PolyLine() public static méthode

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
Résultat Emgu.CV.Structure.LineSegment2DF[]

PolyLine() public static méthode

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
Résultat Emgu.CV.Structure.LineSegment2D[]

ReprojectImageTo3D() public static méthode

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
Résultat MCvPoint3D32f[]

ReprojectImageTo3D() public static méthode

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
Résultat MCvPoint3D32f[]