Package com.irurueta.ar.sfm
Class AbsoluteOrientationSlamSparseReconstructorTest
java.lang.Object
com.irurueta.ar.sfm.AbsoluteOrientationSlamSparseReconstructorTest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final double
private static final double
private static final double
private boolean
private static final int
private EstimatedCamera
private EstimatedCamera
private EstimatedCamera
private EstimatedCamera
private EstimatedFundamentalMatrix
private EstimatedFundamentalMatrix
private EstimatedFundamentalMatrix
private EstimatedCamera
private EstimatedCamera
private EstimatedCamera
private EstimatedCamera
private List<ReconstructedPoint3D>
private boolean
private boolean
private static final double
private static final Logger
private static final double
private static final float
private static final int
private static final double
private static final double
private static final double
private static final int
private static final int
private List<ReconstructedPoint3D>
private static final int
private static final double
private static final float
private static final double
private static final double
private static final double
private static final int
private static final int
private static final int
private static final double
private static final double
private double
private double
private double
private com.irurueta.geometry.PinholeCamera
private int
private com.irurueta.algebra.Matrix
private int
private boolean
private static final int
private long
private int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static AbsoluteOrientationSlamCalibrator
createFinishedCalibrator
(float accelerationOffsetX, float accelerationOffsetY, float accelerationOffsetZ, float angularOffsetX, float angularOffsetY, float angularOffsetZ, com.irurueta.statistics.GaussianRandomizer noiseRandomizer) private void
reset()
(package private) void
setUp()
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
-
Field Details
-
MIN_FOCAL_LENGTH_ESSENTIAL
private static final double MIN_FOCAL_LENGTH_ESSENTIAL- See Also:
-
MAX_FOCAL_LENGTH_ESSENTIAL
private static final double MAX_FOCAL_LENGTH_ESSENTIAL- 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_ESSENTIAL
private static final double MIN_CAMERA_SEPARATION_ESSENTIAL- See Also:
-
MAX_CAMERA_SEPARATION_ESSENTIAL
private static final double MAX_CAMERA_SEPARATION_ESSENTIAL- 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:
-
MIN_LAMBDA_ESSENTIAL
private static final double MIN_LAMBDA_ESSENTIAL- See Also:
-
MAX_LAMBDA_ESSENTIAL
private static final double MAX_LAMBDA_ESSENTIAL- See Also:
-
TIMES
private static final int TIMES- See Also:
-
MAX_TRIES
private static final int MAX_TRIES- See Also:
-
ABSOLUTE_ERROR
private static final double ABSOLUTE_ERROR- See Also:
-
LARGE_ABSOLUTE_ERROR
private static final double LARGE_ABSOLUTE_ERROR- See Also:
-
MIN_TRACKED_POINTS
private static final int MIN_TRACKED_POINTS- See Also:
-
NEAREST_THRESHOLD
private static final double NEAREST_THRESHOLD- See Also:
-
RELATIVE_ERROR
private static final double RELATIVE_ERROR- See Also:
-
MAX_CALIBRATION_SAMPLES
private static final int MAX_CALIBRATION_SAMPLES- See Also:
-
MILLIS_TO_NANOS
private static final int MILLIS_TO_NANOS- See Also:
-
DELTA_NANOS
private static final int DELTA_NANOS- See Also:
-
MIN_CALIBRATION_OFFSET
private static final float MIN_CALIBRATION_OFFSET- See Also:
-
MAX_CALIBRATION_OFFSET
private static final float MAX_CALIBRATION_OFFSET- See Also:
-
ACCELERATION_NOISE_STANDARD_DEVIATION
private static final double ACCELERATION_NOISE_STANDARD_DEVIATION- See Also:
-
ANGULAR_SPEED_NOISE_STANDARD_DEVIATION
private static final double ANGULAR_SPEED_NOISE_STANDARD_DEVIATION- See Also:
-
N_SENSOR_SAMPLES
private static final int N_SENSOR_SAMPLES- See Also:
-
LOGGER
-
viewCount
private int viewCount -
estimatedFundamentalMatrix
-
estimatedFundamentalMatrix2
-
estimatedFundamentalMatrix3
-
estimatedMetricCamera1
-
estimatedMetricCamera2
-
estimatedMetricCamera3
-
estimatedMetricCamera4
-
estimatedEuclideanCamera1
-
estimatedEuclideanCamera2
-
estimatedEuclideanCamera3
-
estimatedEuclideanCamera4
-
metricReconstructedPoints
-
euclideanReconstructedPoints
-
scale
private double scale -
scale2
private double scale2 -
scale3
private double scale3 -
started
private boolean started -
finished
private boolean finished -
failed
private boolean failed -
cancelled
private boolean cancelled -
timestamp
private long timestamp -
slamDataAvailable
private int slamDataAvailable -
slamCameraEstimated
private int slamCameraEstimated -
slamCamera
private com.irurueta.geometry.PinholeCamera slamCamera -
slamCovariance
private com.irurueta.algebra.Matrix slamCovariance
-
-
Constructor Details
-
AbsoluteOrientationSlamSparseReconstructorTest
AbsoluteOrientationSlamSparseReconstructorTest()
-
-
Method Details
-
setUp
@BeforeEach void setUp() -
testConstructor
@Test void testConstructor() -
testGeneralPointsEssentialWithConstantAccelerationAndRotationWithoutNoiseTwoViews
@Test void testGeneralPointsEssentialWithConstantAccelerationAndRotationWithoutNoiseTwoViews() throws InvalidPairOfCamerasException, com.irurueta.algebra.AlgebraException, com.irurueta.geometry.CameraException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.geometry.NotAvailableException, com.irurueta.geometry.RotationException- Throws:
InvalidPairOfCamerasException
com.irurueta.algebra.AlgebraException
com.irurueta.geometry.CameraException
com.irurueta.geometry.estimators.NotReadyException
com.irurueta.geometry.NotAvailableException
com.irurueta.geometry.RotationException
-
testGeneralPointsEssentialWithConstantAccelerationAndRotationWithNoiseTwoViews
@Test void testGeneralPointsEssentialWithConstantAccelerationAndRotationWithNoiseTwoViews() throws InvalidPairOfCamerasException, com.irurueta.algebra.AlgebraException, com.irurueta.geometry.CameraException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.geometry.NotAvailableException, com.irurueta.geometry.RotationException- Throws:
InvalidPairOfCamerasException
com.irurueta.algebra.AlgebraException
com.irurueta.geometry.CameraException
com.irurueta.geometry.estimators.NotReadyException
com.irurueta.geometry.NotAvailableException
com.irurueta.geometry.RotationException
-
testGeneralPointsEssentialWithConstantAccelerationAndRotationWithoutNoiseThreeViews
@Test void testGeneralPointsEssentialWithConstantAccelerationAndRotationWithoutNoiseThreeViews() throws InvalidPairOfCamerasException, com.irurueta.algebra.AlgebraException, com.irurueta.geometry.CameraException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.geometry.NotAvailableException, com.irurueta.geometry.RotationException- Throws:
InvalidPairOfCamerasException
com.irurueta.algebra.AlgebraException
com.irurueta.geometry.CameraException
com.irurueta.geometry.estimators.NotReadyException
com.irurueta.geometry.NotAvailableException
com.irurueta.geometry.RotationException
-
testGeneralPointsEssentialWithConstantAccelerationAndRotationWithNoiseThreeViews
@Test void testGeneralPointsEssentialWithConstantAccelerationAndRotationWithNoiseThreeViews() throws InvalidPairOfCamerasException, com.irurueta.algebra.AlgebraException, com.irurueta.geometry.CameraException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.geometry.NotAvailableException, com.irurueta.geometry.RotationException- Throws:
InvalidPairOfCamerasException
com.irurueta.algebra.AlgebraException
com.irurueta.geometry.CameraException
com.irurueta.geometry.estimators.NotReadyException
com.irurueta.geometry.NotAvailableException
com.irurueta.geometry.RotationException
-
testGeneralPointsEssentialWithConstantAccelerationAndRotationWithoutNoiseFourViews
@Test void testGeneralPointsEssentialWithConstantAccelerationAndRotationWithoutNoiseFourViews() throws InvalidPairOfCamerasException, com.irurueta.algebra.AlgebraException, com.irurueta.geometry.CameraException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.geometry.NotAvailableException, com.irurueta.geometry.RotationException- Throws:
InvalidPairOfCamerasException
com.irurueta.algebra.AlgebraException
com.irurueta.geometry.CameraException
com.irurueta.geometry.estimators.NotReadyException
com.irurueta.geometry.NotAvailableException
com.irurueta.geometry.RotationException
-
reset
private void reset() -
createFinishedCalibrator
private static AbsoluteOrientationSlamCalibrator createFinishedCalibrator(float accelerationOffsetX, float accelerationOffsetY, float accelerationOffsetZ, float angularOffsetX, float angularOffsetY, float angularOffsetZ, com.irurueta.statistics.GaussianRandomizer noiseRandomizer)
-