Package boofcv.abst.geo.trifocal
Class WrapRefineThreeViewProjectiveGeometric
- java.lang.Object
-
- boofcv.abst.geo.trifocal.WrapRefineThreeViewProjectiveGeometric
-
- All Implemented Interfaces:
RefineThreeViewProjective
public class WrapRefineThreeViewProjectiveGeometric extends java.lang.Object implements RefineThreeViewProjective
Wrapper aroundRefineThreeViewProjectiveGeometric
-
-
Constructor Summary
Constructors Constructor Description WrapRefineThreeViewProjectiveGeometric(RefineThreeViewProjectiveGeometric alg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RefineThreeViewProjectiveGeometricgetAlg()booleanprocess(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.
-
-
-
Constructor Detail
-
WrapRefineThreeViewProjectiveGeometric
public WrapRefineThreeViewProjectiveGeometric(RefineThreeViewProjectiveGeometric alg)
-
-
Method Detail
-
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)
Description copied from interface:RefineThreeViewProjectiveRefines 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:
processin interfaceRefineThreeViewProjective- Parameters:
observations- (Input) Pixel observations from each viewP2- (Input) Initial estimate camera matrix from view 2P3- (Input) Initial estimate camera matrix from view 3refinedP2- (Output) Refined estimate of camera matrix from view 2refinedP3- (Output) Refined estimate of camera matrix from view 3- Returns:
- true if successful or false if it failed
-
getAlg
public RefineThreeViewProjectiveGeometric getAlg()
-
-