process
public boolean process(java.util.List<AssociatedTriple> observations,
org.ejml.data.DMatrixRMaj P2,
org.ejml.data.DMatrixRMaj P3,
org.ejml.data.DMatrixRMaj refinedP2,
org.ejml.data.DMatrixRMaj refinedP3)
Refines the camera matrices from three views. The first view is assumed to be P1 = [I|0]. It's
recommended that observations already be normalized so that they have a mean of 0 and standard
deviation of 1, or similar.
- Specified by:
process in interface RefineThreeViewProjective
- Parameters:
observations - (Input) Pixel observations from each view
P2 - (Input) Initial estimate camera matrix from view 2
P3 - (Input) Initial estimate camera matrix from view 3
refinedP2 - (Output) Refined estimate of camera matrix from view 2
refinedP3 - (Output) Refined estimate of camera matrix from view 3
- Returns:
- true if successful or false if it failed