facebook360_dep
Facebook360 Depth Estimation Pipeline
Functions
fb360_dep::background_subtraction Namespace Reference

Functions

template<typename T , typename U >
cv::Mat_< bool > generateForegroundMask (const cv::Mat_< T > &templateColor, const cv::Mat_< T > &frameColor, const int blurRadius, const float threshold, const int morphClosingRadius)
 
template<typename T , typename U >
std::vector< cv::Mat_< bool > > generateForegroundMasks (const std::vector< cv::Mat_< T >> &templateColors, const std::vector< cv::Mat_< T >> &frameColors, const cv::Size &size, const int blurRadius, const float threshold, const int morphClosingRadius, const int numThreads=-1)
 

Function Documentation

◆ generateForegroundMask()

template<typename T , typename U >
cv::Mat_<bool> fb360_dep::background_subtraction::generateForegroundMask ( const cv::Mat_< T > &  templateColor,
const cv::Mat_< T > &  frameColor,
const int  blurRadius,
const float  threshold,
const int  morphClosingRadius 
)

◆ generateForegroundMasks()

template<typename T , typename U >
std::vector<cv::Mat_<bool> > fb360_dep::background_subtraction::generateForegroundMasks ( const std::vector< cv::Mat_< T >> &  templateColors,
const std::vector< cv::Mat_< T >> &  frameColors,
const cv::Size &  size,
const int  blurRadius,
const float  threshold,
const int  morphClosingRadius,
const int  numThreads = -1 
)