OpenCV 4.10.0
开源计算机视觉
正在加载...
正在搜索...
无匹配项
命名空间 | | 类型定义 | 枚举 | 函数
cv::gapi::video 命名空间参考

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

命名空间

命名空间 cpu
 

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

类型定义

using GBuildPyrOutput = std::tuple< GArray< GMat >, GScalar >
 
using GOptFlowLKOutput = std::tuple< cv::GArray< cv::Point2f >, cv::GArray< uchar >, cv::GArray< float > >
 

枚举

enum  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

using cv::gapi::video::GBuildPyrOutput = typedef std::tuple<GArray<GMat>, GScalar>

◆ GOptFlowLKOutput

枚举类型文档

◆ 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"   
)
以下是此函数的调用图