Dewobble
Video motion stabilization with awareness of lens projection
Public Member Functions | List of all members
dewobble::StabilizerSavitzkyGolay Class Reference

#include <stabilizer.hpp>

Inheritance diagram for dewobble::StabilizerSavitzkyGolay:
dewobble::Stabilizer

Public Member Functions

 StabilizerSavitzkyGolay (Camera camera, unsigned int radius, int interpolation_horizon=0)
 Construct a new Savitzky-Golay stabilizer. More...
 
void end_input ()
 
bool frame_ready ()
 
StabilizedFrame pop_stabilized_frame ()
 
void push_frame (Frame frame)
 

Additional Inherited Members

- Protected Attributes inherited from dewobble::Stabilizer
std::queue< StabilizedFrame > m_buffered_frames
 
bool m_input_ended = false
 

Detailed Description

Stabilizer which uses a Savitzky-Golay filter on the detected input camera rotations to produce a smooth output camera path

Constructor & Destructor Documentation

◆ StabilizerSavitzkyGolay()

dewobble::StabilizerSavitzkyGolay::StabilizerSavitzkyGolay ( Camera  camera,
unsigned int  radius,
int  interpolation_horizon = 0 
)

Construct a new Savitzky-Golay stabilizer.

Parameters
camerathe input camera
radiusthe number of frames to look ahead and behind the current frame when deciding how to rotate the frame
interpolation_horizonmaximum number of input frames to buffer to assist with interpolating rotation on input frames where it could not be detected

The documentation for this class was generated from the following file: