facebook360_dep
Facebook360 Depth Estimation Pipeline
|
Functions | |
int | getSingleFrame (const filesystem::path &imageDir, const Camera::Rig &rig, std::string frame) |
std::pair< int, int > | getFrameRange (const filesystem::path &imageDir, const Camera::Rig &rig, std::string firstFrame, std::string lastFrame) |
void | verifyImagePaths (const filesystem::path &imageDir, const Camera::Rig &rig, const std::string &firstFrame, const std::string &lastFrame, const std::string &extension) |
double | probeDisparity (const int probe, const int probeCount, const double minDisparity, const double maxDisparity) |
Camera::Rig | filterDestinations (const Camera::Rig rigIn, const std::string &destinations) |
Camera::Vector2 | worldToEquirect (const Camera::Vector3 world, const int eqrW, const int eqrH) |
cv::Mat_< cv::Vec2f > | computeWarpDstToSrc (const Camera &dst, const Camera &src) |
std::string | intToStringZeroPad (const int x, const int padlen=6) |
const filesystem::path | imagePath (const filesystem::path &dir, const std::string &camId, const std::string &frameName, const std::string &extension="") |
template<typename T > | |
cv::Mat_< T > | loadImage (const filesystem::path &dir, const std::string &camId, const std::string &frameName) |
template<typename T > | |
std::vector< cv::Mat_< T > > | loadImages (const filesystem::path &dir, const Camera::Rig &rig, const std::string &frameName, const int numThreads=-1) |
template<typename T > | |
std::vector< cv::Mat_< T > > | loadLevelImages (const filesystem::path &dir, const int level, const Camera::Rig &rig, const std::string &frameName, const int numThreads=-1) |
cv::Mat_< float > | loadPfmImage (const filesystem::path &dir, const std::string &camId, const std::string &frameName) |
std::vector< cv::Mat_< float > > | loadPfmImages (const filesystem::path &dir, const Camera::Rig &rig, const std::string &frameName, const int numThreads=-1) |
template<typename T > | |
cv::Mat_< T > | loadScaledImage (const filesystem::path &dir, const std::string &camId, const std::string &frameName, const double scaleFactor, const int interp=cv::INTER_AREA) |
template<typename T > | |
std::vector< cv::Mat_< T > > | loadScaledImages (const filesystem::path &dir, const Camera::Rig &rig, const std::string &frameName, const double scaleFactor, const int interp=cv::INTER_AREA, const int numThreads=-1) |
template<typename T > | |
cv::Mat_< T > | loadResizedImage (const filesystem::path &dir, const std::string &camId, const std::string &frameName, const cv::Size &size, const int interp=cv::INTER_AREA) |
template<typename T > | |
std::vector< cv::Mat_< T > > | loadResizedImages (const filesystem::path &dir, const Camera::Rig &rig, const std::string &frameName, const cv::Size &size, const int interp=cv::INTER_AREA, const int numThreads=-1) |
cv::Mat_< cv::Vec2f > fb360_dep::image_util::computeWarpDstToSrc | ( | const Camera & | dst, |
const Camera & | src | ||
) |
Camera::Rig fb360_dep::image_util::filterDestinations | ( | const Camera::Rig | rigIn, |
const std::string & | destinations | ||
) |
std::pair< int, int > fb360_dep::image_util::getFrameRange | ( | const filesystem::path & | imageDir, |
const Camera::Rig & | rig, | ||
std::string | firstFrame, | ||
std::string | lastFrame | ||
) |
int fb360_dep::image_util::getSingleFrame | ( | const filesystem::path & | imageDir, |
const Camera::Rig & | rig, | ||
std::string | frame | ||
) |
|
inline |
|
inline |
cv::Mat_<T> fb360_dep::image_util::loadImage | ( | const filesystem::path & | dir, |
const std::string & | camId, | ||
const std::string & | frameName | ||
) |
std::vector<cv::Mat_<T> > fb360_dep::image_util::loadImages | ( | const filesystem::path & | dir, |
const Camera::Rig & | rig, | ||
const std::string & | frameName, | ||
const int | numThreads = -1 |
||
) |
std::vector<cv::Mat_<T> > fb360_dep::image_util::loadLevelImages | ( | const filesystem::path & | dir, |
const int | level, | ||
const Camera::Rig & | rig, | ||
const std::string & | frameName, | ||
const int | numThreads = -1 |
||
) |
|
inline |
|
inline |
cv::Mat_<T> fb360_dep::image_util::loadResizedImage | ( | const filesystem::path & | dir, |
const std::string & | camId, | ||
const std::string & | frameName, | ||
const cv::Size & | size, | ||
const int | interp = cv::INTER_AREA |
||
) |
std::vector<cv::Mat_<T> > fb360_dep::image_util::loadResizedImages | ( | const filesystem::path & | dir, |
const Camera::Rig & | rig, | ||
const std::string & | frameName, | ||
const cv::Size & | size, | ||
const int | interp = cv::INTER_AREA , |
||
const int | numThreads = -1 |
||
) |
cv::Mat_<T> fb360_dep::image_util::loadScaledImage | ( | const filesystem::path & | dir, |
const std::string & | camId, | ||
const std::string & | frameName, | ||
const double | scaleFactor, | ||
const int | interp = cv::INTER_AREA |
||
) |
std::vector<cv::Mat_<T> > fb360_dep::image_util::loadScaledImages | ( | const filesystem::path & | dir, |
const Camera::Rig & | rig, | ||
const std::string & | frameName, | ||
const double | scaleFactor, | ||
const int | interp = cv::INTER_AREA , |
||
const int | numThreads = -1 |
||
) |
double fb360_dep::image_util::probeDisparity | ( | const int | probe, |
const int | probeCount, | ||
const double | minDisparity, | ||
const double | maxDisparity | ||
) |
void fb360_dep::image_util::verifyImagePaths | ( | const filesystem::path & | imageDir, |
const Camera::Rig & | rig, | ||
const std::string & | firstFrame, | ||
const std::string & | lastFrame, | ||
const std::string & | extension | ||
) |
Camera::Vector2 fb360_dep::image_util::worldToEquirect | ( | const Camera::Vector3 | world, |
const int | eqrW, | ||
const int | eqrH | ||
) |