RidgeRun Video Stabilization Library/API Reference/Adding Algorithms: Difference between revisions

Line 16: Line 16:


=== Define the Integrator Algorithm ===
=== Define the Integrator Algorithm ===
The RidgeRun Integrator Interface, known as IIntegrator, is an extensible class design to support various types of integrators. To add a new integrator to it, the user must implement a new integrator class that derives from the IIntegrator class. This class must implement the following methods:
The RidgeRun Integrator Interface, known as IIntegrator, is an extensible class design to support various types of integrators. To add a new integrator to it, a new integrator class that derives from the IIntegrator class must be implemented. This class shall implement the following methods:
* Apply: applies the integrator algorithm to the entry orientation data.
* Apply: applies the integrator algorithm to the entry orientation data.
* Reset: resets the initial orientation and its initial base on a desired value.
* Reset: resets the initial orientation and its initial base on a desired value.
1,654

edits