Package com.irurueta.geometry.refiners
Class InhomogeneousPoint3DRefinerTest
java.lang.Object
com.irurueta.geometry.refiners.InhomogeneousPoint3DRefinerTest
- All Implemented Interfaces:
RefinerListener<InhomogeneousPoint3D>
class InhomogeneousPoint3DRefinerTest
extends Object
implements RefinerListener<InhomogeneousPoint3D>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final doubleprivate static final intprivate static final doubleprivate static final intprivate 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 voidcheckLocked(InhomogeneousPoint3DRefiner refiner) private RANSACPoint3DRobustEstimatorvoidonRefineEnd(Refiner<InhomogeneousPoint3D> refiner, InhomogeneousPoint3D initialEstimation, InhomogeneousPoint3D result, boolean errorDecreased) voidonRefineStart(Refiner<InhomogeneousPoint3D> refiner, InhomogeneousPoint3D 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
-
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:
-
ABSOLUTE_ERROR
private static final double ABSOLUTE_ERROR- See Also:
-
MIN_LINES
private static final int MIN_LINES- See Also:
-
MAX_LINES
private static final int MAX_LINES- See Also:
-
THRESHOLD
private static final double THRESHOLD- See Also:
-
STD_ERROR
private static final double STD_ERROR- See Also:
-
PERCENTAGE_OUTLIER
private static final int PERCENTAGE_OUTLIER- See Also:
-
TIMES
private static final int TIMES- See Also:
-
refineStart
private int refineStart -
refineEnd
private int refineEnd
-
-
Constructor Details
-
InhomogeneousPoint3DRefinerTest
InhomogeneousPoint3DRefinerTest()
-
-
Method Details
-
testConstructor
@Test void testConstructor() throws LockedException, NotReadyException, ColinearPointsException, com.irurueta.numerical.robust.RobustEstimatorException- Throws:
LockedExceptionNotReadyExceptionColinearPointsExceptioncom.irurueta.numerical.robust.RobustEstimatorException
-
testGetSetListener
@Test void testGetSetListener() -
testGetSetRefinementStandardDeviation
- Throws:
LockedException
-
testGetSetSamples
-
testGetSetInliers
@Test void testGetSetInliers() throws LockedException, NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException, ColinearPointsException- Throws:
LockedExceptionNotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorExceptionColinearPointsException
-
testGetSetResiduals
@Test void testGetSetResiduals() throws LockedException, NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException, ColinearPointsException- Throws:
LockedExceptionNotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorExceptionColinearPointsException
-
testGetSetNumInliers
@Test void testGetSetNumInliers() throws LockedException, NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException, ColinearPointsException- Throws:
LockedExceptionNotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorExceptionColinearPointsException
-
testSetInliersData
@Test void testSetInliersData() throws LockedException, NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException, ColinearPointsException- Throws:
LockedExceptionNotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorExceptionColinearPointsException
-
testGetSetInitialEstimation
- Throws:
LockedException
-
testIsSetCovarianceKept
- Throws:
LockedException
-
testRefine
@Test void testRefine() throws ColinearPointsException, LockedException, NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException, RefinerException- Throws:
ColinearPointsExceptionLockedExceptionNotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorExceptionRefinerException
-
createRobustEstimator
private RANSACPoint3DRobustEstimator createRobustEstimator() throws ColinearPointsException, LockedException -
reset
private void reset() -
onRefineStart
public void onRefineStart(Refiner<InhomogeneousPoint3D> refiner, InhomogeneousPoint3D initialEstimation) - Specified by:
onRefineStartin interfaceRefinerListener<InhomogeneousPoint3D>
-
onRefineEnd
public void onRefineEnd(Refiner<InhomogeneousPoint3D> refiner, InhomogeneousPoint3D initialEstimation, InhomogeneousPoint3D result, boolean errorDecreased) - Specified by:
onRefineEndin interfaceRefinerListener<InhomogeneousPoint3D>
-
checkLocked
-