C# Класс Emgu.CV.PointCollection

A collection of points
Показать файл Открыть проект

Открытые методы

Метод Описание
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[]