Class BundleAdjustmentSchur<Structure extends SceneStructure,​M extends org.ejml.data.DMatrix>

    • Method Detail

      • configure

        public void configure​(double ftol,
                              double gtol,
                              int maxIterations)
        Description copied from interface: BundleAdjustment
        Configures optimization parameters. meaning of all of these parameters is implementation dependent. They might even be ignored.
        Specified by:
        configure in interface BundleAdjustment<Structure extends SceneStructure>
        Parameters:
        ftol - Relative threshold for change in function value between iterations. 0 ≤ ftol ≤ 1. Try 1e-12
        gtol - Absolute threshold for convergence based on the gradient's norm. 0 disables test. 0 ≤ gtol. Try 1e-12
        maxIterations - Maximum number of iterations.
      • setParameters

        public void setParameters​(Structure structure,
                                  SceneObservations observations)
        Description copied from interface: BundleAdjustment
        Specifies the optimization parameters. After this the initial fit score will return a valid value.
        Specified by:
        setParameters in interface BundleAdjustment<Structure extends SceneStructure>
        Parameters:
        structure - Input: Initial parameters. Output: Optimized parameters
        observations - Observation of features in each image.
      • setVerbose

        public void setVerbose​(@Nullable
                               java.io.PrintStream out,
                               int level)
        Description copied from interface: BundleAdjustment
        If set to a non-null output then extra information will be printed to the specified stream.
        Specified by:
        setVerbose in interface BundleAdjustment<Structure extends SceneStructure>
        Parameters:
        out - Stream that is printed to. Set to null to disable
        level - (Future use) Parameter which can be used to specify level of verbose output. Set to zero for now.
      • requestStop

        public void requestStop()
        Specified by:
        requestStop in interface org.ddogleg.struct.Stoppable
      • isStopRequested

        public boolean isStopRequested()
        Specified by:
        isStopRequested in interface org.ddogleg.struct.Stoppable