OpenCV 4.11.0
开源计算机视觉
加载中…
搜索中…
无匹配项
cv::gapi::video 命名空间参考

此命名空间包含用于视频定向算法(如光流和背景减法)的 G-API 操作和函数。 更多…

命名空间

命名空间  cpu
 

结构体  BackgroundSubtractorParams
 背景减法操作的初始化参数结构体。 更多…
 

类型定义

使用 GBuildPyrOutput = std::tuple<GArray<GMat>, GScalar>
 
使用 GOptFlowLKOutput
 

枚举

枚举  BackgroundSubtractorType {
  TYPE_BS_MOG2 ,
  TYPE_BS_KNN
}
 

函数

void checkParams (const cv::gapi::KalmanParams &kfParams, const cv::GMatDesc &measurement, const cv::GMatDesc &control={})
 
 G_TYPED_KERNEL (GBackgroundSubtractor,< GMat(GMat, BackgroundSubtractorParams)>, "org.opencv.video.BackgroundSubtractor")
 
 G_TYPED_KERNEL (GBuildOptFlowPyramid,< GBuildPyrOutput(GMat, Size, GScalar, bool, int, int, bool)>, "org.opencv.video.buildOpticalFlowPyramid")
 
 G_TYPED_KERNEL (GCalcOptFlowLK,< GOptFlowLKOutput(GMat, GMat, cv::GArray< cv::Point2f >, cv::GArray< cv::Point2f >, Size, GScalar, TermCriteria, int, double)>, "org.opencv.video.calcOpticalFlowPyrLK")
 
 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")
 
 G_TYPED_KERNEL (GKalmanFilter,< GMat(GMat, GOpaque< bool >, GMat, KalmanParams)>, "org.opencv.video.KalmanFilter")
 

详细描述

此命名空间包含用于视频定向算法(如光流和背景减法)的 G-API 操作和函数。

类型定义文档

◆ GBuildPyrOutput

◆ GOptFlowLKOutput

初始值
std::tuple<cv::GArray<cv::Point2f>,
cv::GArray<T> 模板类表示图中 T 类对象的列表。
定义 garray.hpp:366

枚举类型文档

◆ BackgroundSubtractorType

枚举器
TYPE_BS_MOG2 
Python: cv.gapi.video.TYPE_BS_MOG2
TYPE_BS_KNN 
Python: cv.gapi.video.TYPE_BS_KNN

函数文档

◆ checkParams()

void cv::gapi::video::checkParams ( const cv::gapi::KalmanParams & kfParams,
const cv::GMatDesc & measurement,
const cv::GMatDesc & control = {} )

◆ G_TYPED_KERNEL() [1/5]

cv::gapi::video::G_TYPED_KERNEL ( GBackgroundSubtractor ,
< GMat(GMat, BackgroundSubtractorParams)> ,
"org.opencv.video.BackgroundSubtractor"  )
此函数的调用图如下所示

◆ G_TYPED_KERNEL() [2/5]

cv::gapi::video::G_TYPED_KERNEL ( GBuildOptFlowPyramid ,
< GBuildPyrOutput(GMat, Size, GScalar, bool, int, int, bool)> ,
"org.opencv.video.buildOpticalFlowPyramid"  )
此函数的调用图如下所示

◆ G_TYPED_KERNEL() [3/5]

cv::gapi::video::G_TYPED_KERNEL ( GCalcOptFlowLK ,
< GOptFlowLKOutput(GMat, GMat, cv::GArray< cv::Point2f >, cv::GArray< cv::Point2f >, Size, GScalar, TermCriteria, int, double)> ,
“org.opencv.video.calcOpticalFlowPyrLK”  )
此函数的调用图如下所示

◆ G_TYPED_KERNEL() [4/5]

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”  )
此函数的调用图如下所示

◆ G_TYPED_KERNEL() [5/5]

cv::gapi::video::G_TYPED_KERNEL ( GKalmanFilter ,
< GMat(GMat, GOpaque< bool >, GMat, KalmanParams)> ,
“org.opencv.video.KalmanFilter”  )
此函数的调用图如下所示