Class FundamentalMatrixRefinerTest
java.lang.Object
com.irurueta.ar.epipolar.refiners.FundamentalMatrixRefinerTest
- All Implemented Interfaces:
com.irurueta.geometry.refiners.RefinerListener<FundamentalMatrix>
class FundamentalMatrixRefinerTest
extends Object
implements com.irurueta.geometry.refiners.RefinerListener<FundamentalMatrix>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final double
private static final double
private static final double
private static final int
private static final double
private static final double
private static final double
private static final double
private static final double
private static final double
private static final int
private static final double
private static final double
private static final double
private int
private int
private static final int
private static final double
private static final double
private static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
checkLocked
(FundamentalMatrixRefiner refiner) void
onRefineEnd
(com.irurueta.geometry.refiners.Refiner<FundamentalMatrix> refiner, FundamentalMatrix initialEstimation, FundamentalMatrix result, boolean errorDecreased) void
onRefineStart
(com.irurueta.geometry.refiners.Refiner<FundamentalMatrix> refiner, FundamentalMatrix initialEstimation) private void
reset()
(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_POINTS
private static final int MIN_POINTS- See Also:
-
MAX_POINTS
private static final int MAX_POINTS- See Also:
-
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_SKEWNESS
private static final double MIN_SKEWNESS- See Also:
-
MAX_SKEWNESS
private static final double MAX_SKEWNESS- See Also:
-
MIN_PRINCIPAL_POINT
private static final double MIN_PRINCIPAL_POINT- See Also:
-
MAX_PRINCIPAL_POINT
private static final double MAX_PRINCIPAL_POINT- 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:
-
PERCENTAGE_OUTLIERS
private static final int PERCENTAGE_OUTLIERS- See Also:
-
STD_ERROR
private static final double STD_ERROR- See Also:
-
THRESHOLD
private static final double THRESHOLD- See Also:
-
TIMES
private static final int TIMES- See Also:
-
mRefineStart
private int mRefineStart -
mRefineEnd
private int mRefineEnd
-
-
Constructor Details
-
FundamentalMatrixRefinerTest
FundamentalMatrixRefinerTest()
-
-
Method Details
-
testConstructor
@Test void testConstructor() throws com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException- Throws:
com.irurueta.geometry.estimators.LockedException
com.irurueta.geometry.estimators.NotReadyException
com.irurueta.numerical.robust.RobustEstimatorException
-
testGetSetListener
@Test void testGetSetListener() -
testGetSetRefinementStandardDeviation
@Test void testGetSetRefinementStandardDeviation() 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, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException- Throws:
com.irurueta.geometry.estimators.LockedException
com.irurueta.geometry.estimators.NotReadyException
com.irurueta.numerical.robust.RobustEstimatorException
-
testGetSetResiduals
@Test void testGetSetResiduals() throws com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException- Throws:
com.irurueta.geometry.estimators.LockedException
com.irurueta.geometry.estimators.NotReadyException
com.irurueta.numerical.robust.RobustEstimatorException
-
testGetSetNumInliers
@Test void testGetSetNumInliers() throws com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException- Throws:
com.irurueta.geometry.estimators.LockedException
com.irurueta.geometry.estimators.NotReadyException
com.irurueta.numerical.robust.RobustEstimatorException
-
testSetInliersData
@Test void testSetInliersData() throws com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException- Throws:
com.irurueta.geometry.estimators.LockedException
com.irurueta.geometry.estimators.NotReadyException
com.irurueta.numerical.robust.RobustEstimatorException
-
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.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException, com.irurueta.geometry.refiners.RefinerException, com.irurueta.geometry.NotAvailableException- Throws:
com.irurueta.geometry.estimators.LockedException
com.irurueta.geometry.estimators.NotReadyException
com.irurueta.numerical.robust.RobustEstimatorException
com.irurueta.geometry.refiners.RefinerException
com.irurueta.geometry.NotAvailableException
-
createRobustEstimator
private RANSACFundamentalMatrixRobustEstimator createRobustEstimator() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
onRefineStart
public void onRefineStart(com.irurueta.geometry.refiners.Refiner<FundamentalMatrix> refiner, FundamentalMatrix initialEstimation) - Specified by:
onRefineStart
in interfacecom.irurueta.geometry.refiners.RefinerListener<FundamentalMatrix>
-
onRefineEnd
public void onRefineEnd(com.irurueta.geometry.refiners.Refiner<FundamentalMatrix> refiner, FundamentalMatrix initialEstimation, FundamentalMatrix result, boolean errorDecreased) - Specified by:
onRefineEnd
in interfacecom.irurueta.geometry.refiners.RefinerListener<FundamentalMatrix>
-
reset
private void reset() -
checkLocked
-