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

Functions

template<typename T >
cv::Mat_< T > blur (const cv::Mat_< T > &in, const int blurRadius)
 
template<typename T >
cv::Mat_< T > computeSSIM (const cv::Mat_< T > &x, const cv::Mat_< T > &y, const int blurRadius, const float alpha=1.0f, const float beta=1.0f, const float gamma=1.0f)
 
cv::Scalar averageScore (const cv::Mat &scoreMap, const cv::Mat &mask=cv::Mat())
 
template<typename T >
cv::Mat_< T > computeScoreMap (const std::string &method, const cv::Mat_< T > &x, const cv::Mat_< T > &y, const int blurRadius)
 
std::string formatResults (const cv::Scalar &scoreAvg)
 
template<typename T , typename U >
cv::Mat_< cv::Vec3b > stackResults (const std::vector< cv::Mat_< T >> &reference, const std::vector< cv::Mat_< T >> &rendered, const cv::Mat_< U > &ssim, const cv::Scalar &mssim, const cv::Mat &mask=cv::Mat())
 

Function Documentation

◆ averageScore()

cv::Scalar fb360_dep::rephoto_util::averageScore ( const cv::Mat &  scoreMap,
const cv::Mat &  mask = cv::Mat() 
)
inline

◆ blur()

template<typename T >
cv::Mat_<T> fb360_dep::rephoto_util::blur ( const cv::Mat_< T > &  in,
const int  blurRadius 
)
inline

◆ computeScoreMap()

template<typename T >
cv::Mat_<T> fb360_dep::rephoto_util::computeScoreMap ( const std::string &  method,
const cv::Mat_< T > &  x,
const cv::Mat_< T > &  y,
const int  blurRadius 
)
inline

◆ computeSSIM()

template<typename T >
cv::Mat_<T> fb360_dep::rephoto_util::computeSSIM ( const cv::Mat_< T > &  x,
const cv::Mat_< T > &  y,
const int  blurRadius,
const float  alpha = 1.0f,
const float  beta = 1.0f,
const float  gamma = 1.0f 
)
inline

◆ formatResults()

std::string fb360_dep::rephoto_util::formatResults ( const cv::Scalar &  scoreAvg)
inline

◆ stackResults()

template<typename T , typename U >
cv::Mat_<cv::Vec3b> fb360_dep::rephoto_util::stackResults ( const std::vector< cv::Mat_< T >> &  reference,
const std::vector< cv::Mat_< T >> &  rendered,
const cv::Mat_< U > &  ssim,
const cv::Scalar &  mssim,
const cv::Mat &  mask = cv::Mat() 
)
inline