Package boofcv.alg.geo.triangulate
Class ResidualsTriangulateProjective
java.lang.Object
boofcv.alg.geo.triangulate.ResidualsTriangulateProjective
- All Implemented Interfaces:
FunctionInOut
,FunctionNtoM
Residuals for a projective triangulation where the difference between predicted and observed pixels
are minimized. The optimized point is in homogenous coordinates.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
void
process
(double[] input, double[] output) void
setObservations
(List<Point2D_F64> observations, List<DMatrixRMaj> cameraMatrices) Configures inputs.
-
Constructor Details
-
ResidualsTriangulateProjective
public ResidualsTriangulateProjective()
-
-
Method Details
-
setObservations
Configures inputs.- Parameters:
observations
- Observations of the feature at different locations. Pixels.cameraMatrices
- Camera matrices
-
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
-