Package com.irurueta.geometry.refiners
Class EuclideanTransformation2DRefinerTest
java.lang.Object
com.irurueta.geometry.refiners.EuclideanTransformation2DRefinerTest
- All Implemented Interfaces:
RefinerListener<EuclideanTransformation2D>
class EuclideanTransformation2DRefinerTest
extends Object
implements RefinerListener<EuclideanTransformation2D>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final doubleprivate static final intprivate static final doubleprivate static final doubleprivate static final intprivate static final doubleprivate static final doubleprivate static final intprivate intprivate intprivate static final doubleprivate static final doubleprivate static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidprivate static RANSACEuclideanTransformation2DRobustEstimatorprivate static EuclideanTransformation2DvoidonRefineEnd(Refiner<EuclideanTransformation2D> refiner, EuclideanTransformation2D initialEstimation, EuclideanTransformation2D result, boolean errorDecreased) voidonRefineStart(Refiner<EuclideanTransformation2D> refiner, EuclideanTransformation2D 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
-
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_RANDOM_DEGREES
private static final double MIN_RANDOM_DEGREES- See Also:
-
MAX_RANDOM_DEGREES
private static final double MAX_RANDOM_DEGREES- See Also:
-
ABSOLUTE_ERROR
private static final double ABSOLUTE_ERROR- See Also:
-
MIN_POINTS
private static final int MIN_POINTS- See Also:
-
MAX_POINTS
private static final int MAX_POINTS- See Also:
-
PERCENTAGE_OUTLIER
private static final int PERCENTAGE_OUTLIER- 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:
-
refineStart
private int refineStart -
refineEnd
private int refineEnd
-
-
Constructor Details
-
EuclideanTransformation2DRefinerTest
EuclideanTransformation2DRefinerTest()
-
-
Method Details
-
testConstructor
@Test void testConstructor() throws LockedException, NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException- Throws:
LockedExceptionNotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorException
-
testGetSetListener
@Test void testGetSetListener() -
testGetSetRefinementStandardDeviation
- Throws:
LockedException
-
testGetSetSamples1
- Throws:
LockedException
-
testGetSetSamples2
- Throws:
LockedException
-
testGetSetInliers
@Test void testGetSetInliers() throws LockedException, NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException- Throws:
LockedExceptionNotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorException
-
testGetSetResiduals
@Test void testGetSetResiduals() throws LockedException, NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException- Throws:
LockedExceptionNotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorException
-
testGetSetNumInliers
@Test void testGetSetNumInliers() throws LockedException, NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException- Throws:
LockedExceptionNotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorException
-
testSetInliersData
@Test void testSetInliersData() throws LockedException, NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException- Throws:
LockedExceptionNotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorException
-
testGetSetInitialEstimation
- Throws:
LockedException
-
testIsSetCovarianceKept
- Throws:
LockedException
-
testRefine
@Test void testRefine() throws LockedException, NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException, RefinerException- Throws:
LockedExceptionNotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorExceptionRefinerException
-
createRobustEstimator
private static RANSACEuclideanTransformation2DRobustEstimator createRobustEstimator() throws LockedException- Throws:
LockedException
-
createTransformation
-
reset
private void reset() -
onRefineStart
public void onRefineStart(Refiner<EuclideanTransformation2D> refiner, EuclideanTransformation2D initialEstimation) - Specified by:
onRefineStartin interfaceRefinerListener<EuclideanTransformation2D>
-
onRefineEnd
public void onRefineEnd(Refiner<EuclideanTransformation2D> refiner, EuclideanTransformation2D initialEstimation, EuclideanTransformation2D result, boolean errorDecreased) - Specified by:
onRefineEndin interfaceRefinerListener<EuclideanTransformation2D>
-
checkLocked
-