Package com.irurueta.ar.sfm
Interface PairedViewsSparseReconstructorListener
- All Superinterfaces:
BasePairedViewsSparseReconstructorListener<PairedViewsSparseReconstructor>
public interface PairedViewsSparseReconstructorListener
extends BasePairedViewsSparseReconstructorListener<PairedViewsSparseReconstructor>
Listener to retrieve and and store required data to compute a 3D reconstruction
from sparse image point correspondences.
-
Method Summary
Modifier and TypeMethodDescriptiondouble
onBaselineRequested
(PairedViewsSparseReconstructor reconstructor, int viewId1, int viewId2, EstimatedCamera metricCamera1, EstimatedCamera metricCamera2) Requests baseline for the provided pair of views so that actual scale can be estimated to obtain cameras and reconstructed points in an Euclidean space (up to certain rotation and translation).Methods inherited from interface com.irurueta.ar.sfm.BasePairedViewsSparseReconstructorListener
hasMoreViewsAvailable, onCancel, onEuclideanCameraPairEstimated, onEuclideanReconstructedPointsEstimated, onFail, onFinish, onFundamentalMatrixEstimated, onIntrinsicParametersRequested, onRequestMatches, onRequestSamplesForCurrentViewPair, onSamplesAccepted, onSamplesRejected, onStart
-
Method Details
-
onBaselineRequested
double onBaselineRequested(PairedViewsSparseReconstructor reconstructor, int viewId1, int viewId2, EstimatedCamera metricCamera1, EstimatedCamera metricCamera2) Requests baseline for the provided pair of views so that actual scale can be estimated to obtain cameras and reconstructed points in an Euclidean space (up to certain rotation and translation).- Parameters:
reconstructor
- re-constructor raising this event.viewId1
- id of previous view (i.e. 1st view).viewId2
- id of current view (i.e. 2nd view).metricCamera1
- estimated first metric camera.metricCamera2
- estimated second metric camera- Returns:
- baseline separating cameras.
-