Class HomogeneousRightEpipoleRefinerTest
java.lang.Object
com.irurueta.ar.epipolar.refiners.HomogeneousRightEpipoleRefinerTest
- All Implemented Interfaces:
com.irurueta.geometry.refiners.RefinerListener<com.irurueta.geometry.Point2D>
class HomogeneousRightEpipoleRefinerTest
extends Object
implements com.irurueta.geometry.refiners.RefinerListener<com.irurueta.geometry.Point2D>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final intprivate static final doubleprivate static final intprivate static final doubleprivate static final doubleprivate static final doubleprivate static final intprivate static final doubleprivate intprivate intprivate static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidprivate static com.irurueta.geometry.Transformation2DgenerateHomography(com.irurueta.geometry.PinholeCamera camera1, com.irurueta.geometry.PinholeCamera camera2, FundamentalMatrix fundamentalMatrix, List<com.irurueta.geometry.Point2D> projectedPoints1, List<com.irurueta.geometry.Point2D> projectedPoints2) voidonRefineEnd(com.irurueta.geometry.refiners.Refiner<com.irurueta.geometry.Point2D> refiner, com.irurueta.geometry.Point2D initialEstimation, com.irurueta.geometry.Point2D result, boolean errorDecreased) voidonRefineStart(com.irurueta.geometry.refiners.Refiner<com.irurueta.geometry.Point2D> refiner, com.irurueta.geometry.Point2D initialEstimation) private voidreset()(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void
-
Field Details
-
MIN_RANDOM_VALUE
private static final double MIN_RANDOM_VALUE- See Also:
-
MAX_RANDOM_VALUE
private static final double MAX_RANDOM_VALUE- See Also:
-
MIN_FOCAL_LENGTH
private static final double MIN_FOCAL_LENGTH- See Also:
-
MAX_FOCAL_LENGTH
private static final double MAX_FOCAL_LENGTH- See Also:
-
MIN_ANGLE_DEGREES
private static final double MIN_ANGLE_DEGREES- See Also:
-
MAX_ANGLE_DEGREES
private static final double MAX_ANGLE_DEGREES- See Also:
-
MIN_CAMERA_SEPARATION
private static final double MIN_CAMERA_SEPARATION- See Also:
-
MAX_CAMERA_SEPARATION
private static final double MAX_CAMERA_SEPARATION- See Also:
-
MIN_NUM_POINTS
private static final int MIN_NUM_POINTS- See Also:
-
MAX_NUM_POINTS
private static final int MAX_NUM_POINTS- See Also:
-
ABSOLUTE_ERROR
private static final double ABSOLUTE_ERROR- See Also:
-
ERROR_STD
private static final double ERROR_STD- See Also:
-
MAX_TRIES
private static final int MAX_TRIES- See Also:
-
TIMES
private static final int TIMES- See Also:
-
refineStart
private int refineStart -
refineEnd
private int refineEnd
-
-
Constructor Details
-
HomogeneousRightEpipoleRefinerTest
HomogeneousRightEpipoleRefinerTest()
-
-
Method Details
-
testConstructor
@Test void testConstructor() throws com.irurueta.geometry.GeometryException, com.irurueta.algebra.AlgebraException, com.irurueta.numerical.robust.RobustEstimatorException- Throws:
com.irurueta.geometry.GeometryExceptioncom.irurueta.algebra.AlgebraExceptioncom.irurueta.numerical.robust.RobustEstimatorException
-
testGetSetListener
@Test void testGetSetListener() -
testGetSetRefinementStandardDeviation
@Test void testGetSetRefinementStandardDeviation() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetHomography
@Test void testGetSetHomography() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetSamples1
@Test void testGetSetSamples1() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetSamples2
@Test void testGetSetSamples2() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetInliers
@Test void testGetSetInliers() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetResiduals
@Test void testGetSetResiduals() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetNumInliers
@Test void testGetSetNumInliers() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testSetInliersData
@Test void testSetInliersData() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetInitialEstimation
@Test void testGetSetInitialEstimation() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testIsSetCovarianceKept
@Test void testIsSetCovarianceKept() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testRefine
@Test void testRefine() throws com.irurueta.geometry.GeometryException, com.irurueta.algebra.AlgebraException, com.irurueta.numerical.robust.RobustEstimatorException- Throws:
com.irurueta.geometry.GeometryExceptioncom.irurueta.algebra.AlgebraExceptioncom.irurueta.numerical.robust.RobustEstimatorException
-
generateHomography
private static com.irurueta.geometry.Transformation2D generateHomography(com.irurueta.geometry.PinholeCamera camera1, com.irurueta.geometry.PinholeCamera camera2, FundamentalMatrix fundamentalMatrix, List<com.irurueta.geometry.Point2D> projectedPoints1, List<com.irurueta.geometry.Point2D> projectedPoints2) throws com.irurueta.geometry.GeometryException, com.irurueta.algebra.AlgebraException, com.irurueta.numerical.robust.RobustEstimatorException - Throws:
com.irurueta.geometry.GeometryExceptioncom.irurueta.algebra.AlgebraExceptioncom.irurueta.numerical.robust.RobustEstimatorException
-
onRefineStart
public void onRefineStart(com.irurueta.geometry.refiners.Refiner<com.irurueta.geometry.Point2D> refiner, com.irurueta.geometry.Point2D initialEstimation) - Specified by:
onRefineStartin interfacecom.irurueta.geometry.refiners.RefinerListener<com.irurueta.geometry.Point2D>
-
onRefineEnd
public void onRefineEnd(com.irurueta.geometry.refiners.Refiner<com.irurueta.geometry.Point2D> refiner, com.irurueta.geometry.Point2D initialEstimation, com.irurueta.geometry.Point2D result, boolean errorDecreased) - Specified by:
onRefineEndin interfacecom.irurueta.geometry.refiners.RefinerListener<com.irurueta.geometry.Point2D>
-
reset
private void reset() -
checkLocked
-