Package com.irurueta.geometry.refiners
Class PlaneCorrespondenceAffineTransformation3DRefinerTest
java.lang.Object
com.irurueta.geometry.refiners.PlaneCorrespondenceAffineTransformation3DRefinerTest
- All Implemented Interfaces:
RefinerListener<AffineTransformation3D>
class PlaneCorrespondenceAffineTransformation3DRefinerTest
extends Object
implements RefinerListener<AffineTransformation3D>
-
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 voidprivate static AffineTransformation3DvoidonRefineEnd(Refiner<AffineTransformation3D> refiner, AffineTransformation3D initialEstimation, AffineTransformation3D result, boolean errorDecreased) voidonRefineStart(Refiner<AffineTransformation3D> refiner, AffineTransformation3D 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:
-
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
-
PlaneCorrespondenceAffineTransformation3DRefinerTest
PlaneCorrespondenceAffineTransformation3DRefinerTest()
-
-
Method Details
-
testConstructor
@Test void testConstructor() throws com.irurueta.algebra.AlgebraException, LockedException, NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException- Throws:
com.irurueta.algebra.AlgebraExceptionLockedExceptionNotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorException
-
testGetSetListener
@Test void testGetSetListener() -
testGetSetRefinementStandardDeviation
- Throws:
LockedException
-
testGetSetSamples1
- Throws:
LockedException
-
testGetSetSamples2
- Throws:
LockedException
-
testGetSetInliers
@Test void testGetSetInliers() throws LockedException, com.irurueta.algebra.AlgebraException, NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException- Throws:
LockedExceptioncom.irurueta.algebra.AlgebraExceptionNotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorException
-
testGetSetResiduals
@Test void testGetSetResiduals() throws LockedException, com.irurueta.algebra.AlgebraException, NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException- Throws:
LockedExceptioncom.irurueta.algebra.AlgebraExceptionNotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorException
-
testGetSetNumInliers
@Test void testGetSetNumInliers() throws LockedException, com.irurueta.algebra.AlgebraException, NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException- Throws:
LockedExceptioncom.irurueta.algebra.AlgebraExceptionNotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorException
-
testSetInliersData
@Test void testSetInliersData() throws LockedException, com.irurueta.algebra.AlgebraException, NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException- Throws:
LockedExceptioncom.irurueta.algebra.AlgebraExceptionNotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorException
-
testGetSetInitialEstimation
- Throws:
LockedException
-
testIsSetCovarianceKept
- Throws:
LockedException
-
testRefine
@Test void testRefine() throws com.irurueta.algebra.AlgebraException, LockedException, NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException, RefinerException- Throws:
com.irurueta.algebra.AlgebraExceptionLockedExceptionNotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorExceptionRefinerException
-
createRobustEstimator
private static RANSACPlaneCorrespondenceAffineTransformation3DRobustEstimator createRobustEstimator() throws com.irurueta.algebra.AlgebraException, LockedException- Throws:
com.irurueta.algebra.AlgebraExceptionLockedException
-
createTransformation
private static AffineTransformation3D createTransformation() throws com.irurueta.algebra.AlgebraException- Throws:
com.irurueta.algebra.AlgebraException
-
onRefineStart
public void onRefineStart(Refiner<AffineTransformation3D> refiner, AffineTransformation3D initialEstimation) - Specified by:
onRefineStartin interfaceRefinerListener<AffineTransformation3D>
-
onRefineEnd
public void onRefineEnd(Refiner<AffineTransformation3D> refiner, AffineTransformation3D initialEstimation, AffineTransformation3D result, boolean errorDecreased) - Specified by:
onRefineEndin interfaceRefinerListener<AffineTransformation3D>
-
reset
private void reset() -
checkLocked
-