|
| cv::videostab::ColorInpainter::ColorInpainter (int method=INPAINT_TELEA, double radius=2.) |
|
template<typename T > |
T & | cv::videostab::at (int idx, std::vector< T > &items) |
|
template<typename T > |
const T & | cv::videostab::at (int idx, const std::vector< T > &items) |
|
float | cv::videostab::calcBlurriness (const Mat &frame) |
|
void | cv::videostab::calcFlowMask (const Mat &flowX, const Mat &flowY, const Mat &errors, float maxError, const Mat &mask0, const Mat &mask1, Mat &flowMask) |
|
void | cv::videostab::completeFrameAccordingToFlow (const Mat &flowMask, const Mat &flowX, const Mat &flowY, const Mat &frame1, const Mat &mask1, float distThresh, Mat &frame0, Mat &mask0) |
|
The video stabilization module contains a set of functions and classes that can be used to solve the problem of video stabilization. There are a few methods implemented, most of them are described in the papers [155] and [90] . However, there are some extensions and deviations from the original paper methods.
References
- "Full-Frame Video Stabilization with Motion Inpainting" Yasuyuki Matsushita, Eyal Ofek, Weina Ge, Xiaoou Tang, Senior Member, and Heung-Yeung Shum
- "Auto-Directed Video Stabilization with Robust L1 Optimal Camera Paths" Matthias Grundmann, Vivek Kwatra, Irfan Essa
◆ ColorInpainter()
cv::videostab::ColorInpainter::ColorInpainter |
( |
int |
method = INPAINT_TELEA , |
|
|
double |
radius = 2. |
|
) |
| |
|
inline |
◆ at() [1/2]
template<typename T >
T& cv::videostab::at |
( |
int |
idx, |
|
|
std::vector< T > & |
items |
|
) |
| |
|
inline |
◆ at() [2/2]
template<typename T >
const T& cv::videostab::at |
( |
int |
idx, |
|
|
const std::vector< T > & |
items |
|
) |
| |
|
inline |
◆ calcBlurriness()
float cv::videostab::calcBlurriness |
( |
const Mat & |
frame | ) |
|
◆ calcFlowMask()
void cv::videostab::calcFlowMask |
( |
const Mat & |
flowX, |
|
|
const Mat & |
flowY, |
|
|
const Mat & |
errors, |
|
|
float |
maxError, |
|
|
const Mat & |
mask0, |
|
|
const Mat & |
mask1, |
|
|
Mat & |
flowMask |
|
) |
| |
◆ completeFrameAccordingToFlow()
void cv::videostab::completeFrameAccordingToFlow |
( |
const Mat & |
flowMask, |
|
|
const Mat & |
flowX, |
|
|
const Mat & |
flowY, |
|
|
const Mat & |
frame1, |
|
|
const Mat & |
mask1, |
|
|
float |
distThresh, |
|
|
Mat & |
frame0, |
|
|
Mat & |
mask0 |
|
) |
| |