public interface BundleAdjustment<Structure extends SceneStructure>
extends org.ddogleg.struct.Stoppable
| Modifier and Type | Method and Description |
|---|---|
void |
configure(double ftol,
double gtol,
int maxIterations)
Configures optimization parameters.
|
double |
getFitScore()
Returns the fit score.
|
boolean |
optimize(Structure output)
Optimises the parameters contained in 'structure' to minimize the error in the 'observations'.
|
void |
setParameters(Structure structure,
SceneObservations observations)
Specifies the optimization parameters.
|
void |
setVerbose(java.io.PrintStream out,
int level)
If set to a non-null output then extra information will be printed to the specified stream.
|
void configure(double ftol,
double gtol,
int maxIterations)
ftol - Relative threshold for change in function value between iterations. 0 ≤ ftol ≤ 1. Try 1e-12gtol - Absolute threshold for convergence based on the gradient's norm. 0 disables test. 0 ≤ gtol.
Try 1e-12maxIterations - Maximum number of iterations.void setParameters(Structure structure, SceneObservations observations)
structure - Input: Initial parameters. Output: Optimized parametersobservations - Observation of features in each image.boolean optimize(Structure output)
output - Storage for optimized parameters. Can be the same structure passed into setParameters(Structure, boofcv.abst.geo.bundle.SceneObservations).double getFitScore()
void setVerbose(@Nullable
java.io.PrintStream out,
int level)
out - Stream that is printed to. Set to null to disablelevel - (Future use) Parameter which can be used to specify level of verbose output. Set to zero for now.