Class InhomogeneousPoint2DRefiner


public class InhomogeneousPoint2DRefiner extends Point2DRefiner<InhomogeneousPoint2D>
Refines an inhomogeneous 2D point by taking into account an initial estimation, inlier samples and their residuals. This class can be used to find a solution that minimizes error of inliers in LMSE terms. Typically, a refiner is used by a robust estimator, however it can also be useful in some other situations.
  • Constructor Details

    • InhomogeneousPoint2DRefiner

      public InhomogeneousPoint2DRefiner()
      Constructor.
    • InhomogeneousPoint2DRefiner

      public InhomogeneousPoint2DRefiner(InhomogeneousPoint2D initialEstimation, boolean keepCovariance, BitSet inliers, double[] residuals, int numInliers, List<Line2D> samples, double refinementStandardDeviation)
      Constructor.
      Parameters:
      initialEstimation - initial estimation to be set.
      keepCovariance - true if covariance of estimation must be kept after refinement, false otherwise.
      inliers - set indicating which of the provided matches are inliers.
      residuals - residuals for matched samples.
      numInliers - number of inliers on initial estimation.
      samples - collection of samples.
      refinementStandardDeviation - standard deviation used for Levenberg-Marquardt fitting.
    • InhomogeneousPoint2DRefiner

      public InhomogeneousPoint2DRefiner(InhomogeneousPoint2D initialEstimation, boolean keepCovariance, com.irurueta.numerical.robust.InliersData inliersData, List<Line2D> samples, double refinementStandardDeviation)
      Constructor.
      Parameters:
      initialEstimation - initial estimation to be set.
      keepCovariance - true if covariance of estimation must be kept after refinement, false otherwise.
      inliersData - inlier data, typically obtained from a robust estimator.
      samples - collection of samples.
      refinementStandardDeviation - standard deviation used for Levenberg-Marquardt fitting.
  • Method Details