OpenCV 4.10.0
开源计算机视觉
正在加载...
正在搜索...
没有匹配项
| 命名空间 | 类型定义 | 枚举 | 函数
video.hpp 文件参考
#include <utility>
#include <opencv2/gapi/gkernel.hpp>
video.hpp 的包含依存图

struct cv::gapi::video::BackgroundSubtractorParams
 Background Subtractor 操作的初始化参数的结构。 更多信息...
 
struct cv::detail::CompileArgTag< cv::gapi::video::BackgroundSubtractorParams >
 
struct cv::gapi::KalmanParams
 Kalman 滤波器的初始化参数的结构。 更多信息...
 

命名空间

命名空间 cv
 与磁盘上的文件关联的文件存储的“黑匣子”表示形式。
 
命名空间 cv::detail
 
命名空间 cv::gapi
 
命名空间 cv::gapi::video
 此命名空间包含面向视频的算法(例如光流和背景减法)的 G-API 操作和函数。
 

类型定义

使用 cv::gapi::video::GBuildPyrOutput = std::tuple< GArray< GMat >, GScalar >
 
使用 cv::gapi::video::GOptFlowLKOutput = std::tuple< cv::GArray< cv::Point2f >, cv::GArray< uchar >, cv::GArray< float > >
 

枚举

枚举 cv::gapi::video::BackgroundSubtractorType {
  cv::gapi::video::TYPE_BS_MOG2 ,
  cv::gapi::video::TYPE_BS_KNN
}
 

函数

GMat cv::gapi::BackgroundSubtractor (const GMat &src, const cv::gapi::video::BackgroundSubtractorParams &bsParams)
 基于高斯混合或基于 K 近邻的背景/前景分割 算法。该操作生成一个前景遮罩。
 
std::tuple< GArray< GMat >, GScalarcv::gapi::buildOpticalFlowPyramid(const GMat &img,const Size &winSize,const GScalar &maxLevel,bool withDerivatives=true,int pyrBorder=BORDER_REFLECT_101,int derivBorder=BORDER_CONSTANT,bool tryReuseInputImage=true)
 构建可传递至 calcOpticalFlowPyrLK 的图像金字塔。
 
std::tuple< GArray< Point2f >, GArray< uchar >, GArray< float > > cv::gapi::calcOpticalFlowPyrLK(const GArray< GMat > &prevPyr,const GArray< GMat > &nextPyr,const GArray< Point2f > &prevPts,const GArray< Point2f > &predPts,const Size &winSize=Size(21,21),const GScalar &maxLevel=3,const TermCriteria &criteria=TermCriteriaTermCriteria::COUNT|TermCriteria::EPS,30,0.01),int flags=0,double minEigThresh=1e-4)
 
std::tuple< GArray< Point2f >, GArray< uchar >, GArray< float > > cv::gapi::calcOpticalFlowPyrLK(const GMat &prevImg,const GMat &nextImg,const GArray< Point2f > &prevPts,const GArray< Point2f > &predPts,const Size &winSize=Size(21,21),const GScalar &maxLevel=3,const TermCriteria &criteria=TermCriteriaTermCriteria::COUNT|TermCriteria::EPS,30,0.01),int flags=0,double minEigThresh=1e-4)
 使用带有金字塔的鲁卡斯-加拿大迭代方法为稀疏特征集计算光流。
 
void cv::gapi::video::checkParams(const cv::gapi::KalmanParams &kfParams,const cv::GMatDesc &measurement,const cv::GMatDesc &control={})
 
 cv::gapi::video::G_TYPED_KERNEL(GBackgroundSubtractor,< GMatGMatBackgroundSubtractorParams)>,"org.opencv.video.BackgroundSubtractor")
 
 cv::gapi::video::G_TYPED_KERNEL(GBuildOptFlowPyramid,< GBuildPyrOutputGMatSizeGScalar,bool,int,int,bool)>,"org.opencv.video.buildOpticalFlowPyramid")
 
 cv::gapi::video::G_TYPED_KERNEL(GCalcOptFlowLK,< GOptFlowLKOutputGMatGMatcv::GArray< cv::Point2f >,cv::GArray< cv::Point2f >,Size 
 cv::gapi::video::G_TYPED_KERNEL (GCalcOptFlowLKForPyr,< GOptFlowLKOutput(cv::GArray< cv::GMat >, cv::GArray< cv::GMat >, cv::GArray< cv::Point2f >, cv::GArray< cv::Point2f >, Size, GScalar, TermCriteria, int, double)>, "org.opencv.video.calcOpticalFlowPyrLKForPyr")
 
 cv::gapi::video::G_TYPED_KERNEL (GKalmanFilter,< GMat(GMat, GOpaque< bool >, GMat, KalmanParams)>, "org.opencv.video.KalmanFilter")
 
GMat cv::gapi::KalmanFilter (const GMat &measurement, const GOpaque< bool > &haveMeasurement, const cv::gapi::KalmanParams &kfParams)
 
GMat cv::gapi::KalmanFilter (const GMat &measurement, const GOpaque< bool > &haveMeasurement, const GMat &control, const cv::gapi::KalmanParams &kfParams)
 标准卡尔曼滤波算法 http://en.wikipedia.org/wiki/Kalman_filter