calcOpticalFlowFarneback函数解释
2014-07-25 10:27
513 查看
double pyrScale, int levels, int winsize, int iterations, int polyN, double polySigma,
int flags)
Python: cv2.calcOpticalFlowFarneback(prevImg,
nextImg, pyr_scale, levels, winsize, iterations, poly_n, poly_sigma, flags[, flow]) → flow
calcOpticalFlowFarneback
Computes a dense optical flow using the Gunnar Farneback’s algorithm.double pyrScale, int levels, int winsize, int iterations, int polyN, double polySigma,
int flags)
Python: cv2.calcOpticalFlowFarneback(prevImg,
nextImg, pyr_scale, levels, winsize, iterations, poly_n, poly_sigma, flags[, flow]) → flow
Parameters: | prevImg – First 8-bit single-channel input image. 输入单通道图片 nextImg – Second input image of the same size and the same type asprevImg . 下一帧图片。 flow – Computed flow image that has the same size as prevImg and typeCV_32FC2 .输出的双通道flow pyrScale – Parameter specifying the image scale (<1) to build pyramids for each image. pyrScale=0.5 means a classical pyramid, where each next layer is twice smaller than the previous one.金字塔上上下两层之间的尺度关系。 levels – Number of pyramid layers including the initial image.levels=1 means that no extra layers are created and only the original images are used. 金字塔层数 winsize – Averaging window size. Larger values increase the algorithm robustness to image noise and give more chances for fast motion detection, but yield more blurred motion field.均值窗口大小,越大越能denoise并且能够检测快速移动目标,但是会引起模糊运动区域。 iterations – Number of iterations the algorithm does at each pyramid level.迭代次数。 polyN – Size of the pixel neighborhood used to find polynomial expansion in each pixel. Larger values mean that the image will be approximated with smoother surfaces, yielding more robust algorithm and more blurred motion field. Typically, polyN =5 or 7. polySigma – Standard deviation of the Gaussian that is used to smooth derivatives used as a basis for the polynomial expansion. ForpolyN=5 , you can set polySigma=1.1 . For polyN=7 , a good value would be polySigma=1.5 . |
---|
相关文章推荐
- OpenCV中CalcOpticalFlowFarneback()函数分析
- OpenCV中CalcOpticalFlowFarneback()函数分析
- OpenCV图像处理-光流法-原理分析1-calcOpticalFlowFarneback
- calcOpticalFlowFarneback
- Farneback 光流算法详解与 calcOpticalFlowFarneback 源码分析
- OpenCV Python calcOpticalFlowFarneback
- calcOpticalFlowFarneback
- undefined reference to `cv::calcOpticalFlowFarnebackcalcOpticalFlowFarneback
- 光流金字塔calcOpticalFlowPyrLK
- CalcOpticalFlowPyrLK的使用(转)
- CalcOpticalFlowPyrLK
- 光流金字塔calcOpticalFlowPyrLK进行特征点跟踪
- 光流的一些好文章(链接)-----calcopticalflowpyrlk
- CalcOpticalFlowLK函数
- opencv中CalcOpticalFlowPyrLK实现的光流法理解
- ASP中常用的函数详细解释1
- 函数前面的const和函数后面的const解释
- c语言中signal函数解释....
- Time 与Timer 函数解释
- 通过临时表解决--未能为视图或函数解释分析分配辅助表,超过了查询中表地最大数目(260)--的问题