C# 클래스 Accord.Imaging.RansacHomographyEstimator

RANSAC Robust Homography Matrix Estimator.

Fitting a homography using RANSAC is pretty straightforward. Being a iterative method, in a single iteration a random sample of four correspondences is selected from the given correspondence points and a homography H is then computed from those points.

The original points are then transformed using this homography and their distances to where those transforms should be is then computed and matching points can classified as inliers and non-matching points as outliers.

After a given number of iterations, the iteration which produced the largest number of inliers is then selected as the best estimation for H.

References: E. Dubrofsky. Homography Estimation. Master thesis. Available on: http://www.cs.ubc.ca/~dubroe/courses/MastersEssay.pdf

파일 보기 프로젝트 열기: accord-net/framework 1 사용 예제들

공개 메소드들

메소드 설명
Estimate ( Accord points ) : MatrixH

Matches two sets of points using RANSAC.

Estimate ( Accord points1, Accord points2 ) : MatrixH

Matches two sets of points using RANSAC.

Estimate ( IntPoint points ) : MatrixH

Matches two sets of points using RANSAC.

Estimate ( IntPoint points1, IntPoint points2 ) : MatrixH

Matches two sets of points using RANSAC.

Estimate ( PointF points ) : MatrixH

Matches two sets of points using RANSAC.

Estimate ( PointF points1, PointF points2 ) : MatrixH

Matches two sets of points using RANSAC.

RansacHomographyEstimator ( double threshold, double probability ) : System

Creates a new RANSAC homography estimator.

비공개 메소드들

메소드 설명
degenerate ( int points ) : bool

Checks if the selected points will result in a degenerate homography.

distance ( MatrixH H, double t ) : int[]

Compute inliers using the Symmetric Transfer Error,

homography ( int points ) : MatrixH

Estimates a homography with the given points.

메소드 상세

Estimate() 공개 메소드

Matches two sets of points using RANSAC.
public Estimate ( Accord points ) : MatrixH
points Accord
리턴 MatrixH

Estimate() 공개 메소드

Matches two sets of points using RANSAC.
public Estimate ( Accord points1, Accord points2 ) : MatrixH
points1 Accord
points2 Accord
리턴 MatrixH

Estimate() 공개 메소드

Matches two sets of points using RANSAC.
public Estimate ( IntPoint points ) : MatrixH
points AForge.IntPoint
리턴 MatrixH

Estimate() 공개 메소드

Matches two sets of points using RANSAC.
public Estimate ( IntPoint points1, IntPoint points2 ) : MatrixH
points1 AForge.IntPoint
points2 AForge.IntPoint
리턴 MatrixH

Estimate() 공개 메소드

Matches two sets of points using RANSAC.
public Estimate ( PointF points ) : MatrixH
points System.Drawing.PointF
리턴 MatrixH

Estimate() 공개 메소드

Matches two sets of points using RANSAC.
public Estimate ( PointF points1, PointF points2 ) : MatrixH
points1 System.Drawing.PointF
points2 System.Drawing.PointF
리턴 MatrixH

RansacHomographyEstimator() 공개 메소드

Creates a new RANSAC homography estimator.
public RansacHomographyEstimator ( double threshold, double probability ) : System
threshold double Inlier threshold.
probability double Inlier probability.
리턴 System