Package boofcv.alg.geo.triangulate
Class ResidualsTriangulateMetricSimple
java.lang.Object
boofcv.alg.geo.triangulate.ResidualsTriangulateMetricSimple
- All Implemented Interfaces:
FunctionInOut
,FunctionNtoM
Basic error function for triangulation which only computes the residual between predicted and
actual observed point location. Does not take in account the epipolar constraints.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
void
process
(double[] input, double[] output) void
setObservations
(List<Point2D_F64> observations, List<Se3_F64> motionGtoC) Configures inputs.
-
Constructor Details
-
ResidualsTriangulateMetricSimple
public ResidualsTriangulateMetricSimple()
-
-
Method Details
-
setObservations
Configures inputs.- Parameters:
observations
- Observations of the feature at different locations. Normalized image coordinates.motionGtoC
- Camera motion from global to camera frame..
-
getNumOfInputsN
public int getNumOfInputsN()- Specified by:
getNumOfInputsN
in interfaceFunctionInOut
-
getNumOfOutputsM
public int getNumOfOutputsM()- Specified by:
getNumOfOutputsM
in interfaceFunctionInOut
-
process
public void process(double[] input, double[] output) - Specified by:
process
in interfaceFunctionNtoM
-