Add new optical flow algorithm into modules

This commit is contained in:
2016-09-26 12:17:40 +01:00
parent 61174e310a
commit bc4588226c
3 changed files with 28 additions and 0 deletions
+15
View File
@@ -210,5 +210,20 @@ Bool OpticalFlowFarneback::create( std::vector<PlaYUVerFrame*> apcFrameList )
return bRet;
}
OpticalDeepFlow::OpticalDeepFlow()
{
/* Module Definition */
m_pchModuleName = "OpticalDeepFlow";
m_pchModuleTooltip = "Measure optical flow using Farneback method";
}
Bool OpticalDeepFlow::create( std::vector<PlaYUVerFrame*> apcFrameList )
{
Bool bRet = commonCreate( apcFrameList );
if( !bRet )
return bRet;
m_cOpticalFlow = cv::optflow::createOptFlow_DeepFlow();
return bRet;
}