Jump to content

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

Line 11: Line 11:
== Integrator ==
== Integrator ==


The integrator algorithms work with orientation data captured by the IMU sensor, defined as Quaternions. These algorithms estimate an object's orientation using gyroscope and accelerometer measurements for improved accuracy. An initial orientation is necessary to begin the estimation process.To add a new integrator algorithm, follow these steps:
The integrator algorithms work with orientation data captured by the IMU sensor, defined as Quaternions. These algorithms estimate an object's orientation using gyroscope and accelerometer measurements for improved accuracy. An initial orientation is necessary to begin the estimation process. To add a new integrator algorithm, follow these steps:
* Define the Integrator Algorithm class, inheriting from the IIntegrator class.
* Define the Integrator Algorithm class, inheriting from the IIntegrator class.
* Add the new Integrator Algorithm to the Integrator Interface.
* Add the new Integrator Algorithm to the Integrator Interface.
Line 106: Line 106:
}
}
</syntaxhighlight>
</syntaxhighlight>


== Interpolator ==
== Interpolator ==
1,654

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.