本文整理了Java中org.opencv.video.Video.calcOpticalFlowSF_0()
方法的一些代码示例,展示了Video.calcOpticalFlowSF_0()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Video.calcOpticalFlowSF_0()
方法的具体详情如下:
包路径:org.opencv.video.Video
类名称:Video
方法名:calcOpticalFlowSF_0
暂无
代码示例来源:origin: nu.pattern/opencv
/**
* <p>Calculate an optical flow using "SimpleFlow" algorithm.</p>
*
* <p>See [Tao2012]. And site of project - http://graphics.berkeley.edu/papers/Tao-SAN-2012-05/.</p>
*
* <p>Note:</p>
* <ul>
* <li> An example using the simpleFlow algorithm can be found at
* opencv_source_code/samples/cpp/simpleflow_demo.cpp
* </ul>
*
* @param from a from
* @param to a to
* @param flow a flow
* @param layers Number of layers
* @param averaging_block_size Size of block through which we sum up when
* calculate cost function for pixel
* @param max_flow maximal flow that we search at each level
*
* @see <a href="http://docs.opencv.org/modules/video/doc/motion_analysis_and_object_tracking.html#calcopticalflowsf">org.opencv.video.Video.calcOpticalFlowSF</a>
*/
public static void calcOpticalFlowSF(Mat from, Mat to, Mat flow, int layers, int averaging_block_size, int max_flow)
{
calcOpticalFlowSF_0(from.nativeObj, to.nativeObj, flow.nativeObj, layers, averaging_block_size, max_flow);
return;
}
代码示例来源:origin: ytai/IOIOPlotter
/**
* <p>Calculate an optical flow using "SimpleFlow" algorithm.</p>
*
* <p>See [Tao2012]. And site of project - http://graphics.berkeley.edu/papers/Tao-SAN-2012-05/.</p>
*
* <p>Note:</p>
* <ul>
* <li> An example using the simpleFlow algorithm can be found at
* opencv_source_code/samples/cpp/simpleflow_demo.cpp
* </ul>
*
* @param from a from
* @param to a to
* @param flow a flow
* @param layers Number of layers
* @param averaging_block_size Size of block through which we sum up when
* calculate cost function for pixel
* @param max_flow maximal flow that we search at each level
*
* @see <a href="http://docs.opencv.org/modules/video/doc/motion_analysis_and_object_tracking.html#calcopticalflowsf">org.opencv.video.Video.calcOpticalFlowSF</a>
*/
public static void calcOpticalFlowSF(Mat from, Mat to, Mat flow, int layers, int averaging_block_size, int max_flow)
{
calcOpticalFlowSF_0(from.nativeObj, to.nativeObj, flow.nativeObj, layers, averaging_block_size, max_flow);
return;
}
代码示例来源:origin: abhn/marvel
/**
* <p>Calculate an optical flow using "SimpleFlow" algorithm.</p>
*
* <p>See [Tao2012]. And site of project - http://graphics.berkeley.edu/papers/Tao-SAN-2012-05/.</p>
*
* <p>Note:</p>
* <ul>
* <li> An example using the simpleFlow algorithm can be found at
* opencv_source_code/samples/cpp/simpleflow_demo.cpp
* </ul>
*
* @param from a from
* @param to a to
* @param flow a flow
* @param layers Number of layers
* @param averaging_block_size Size of block through which we sum up when
* calculate cost function for pixel
* @param max_flow maximal flow that we search at each level
*
* @see <a href="http://docs.opencv.org/modules/video/doc/motion_analysis_and_object_tracking.html#calcopticalflowsf">org.opencv.video.Video.calcOpticalFlowSF</a>
*/
public static void calcOpticalFlowSF(Mat from, Mat to, Mat flow, int layers, int averaging_block_size, int max_flow)
{
calcOpticalFlowSF_0(from.nativeObj, to.nativeObj, flow.nativeObj, layers, averaging_block_size, max_flow);
return;
}
代码示例来源:origin: jtsky/EasyPR_Android
/**
* <p>Calculate an optical flow using "SimpleFlow" algorithm.</p>
*
* <p>See [Tao2012]. And site of project - http://graphics.berkeley.edu/papers/Tao-SAN-2012-05/.</p>
*
* <p>Note:</p>
* <ul>
* <li> An example using the simpleFlow algorithm can be found at
* opencv_source_code/samples/cpp/simpleflow_demo.cpp
* </ul>
*
* @param from a from
* @param to a to
* @param flow a flow
* @param layers Number of layers
* @param averaging_block_size Size of block through which we sum up when
* calculate cost function for pixel
* @param max_flow maximal flow that we search at each level
*
* @see <a href="http://docs.opencv.org/modules/video/doc/motion_analysis_and_object_tracking.html#calcopticalflowsf">org.opencv.video.Video.calcOpticalFlowSF</a>
*/
public static void calcOpticalFlowSF(Mat from, Mat to, Mat flow, int layers, int averaging_block_size, int max_flow)
{
calcOpticalFlowSF_0(from.nativeObj, to.nativeObj, flow.nativeObj, layers, averaging_block_size, max_flow);
return;
}
内容来源于网络,如有侵权,请联系作者删除!