#include <CaptureEngine.h>
Public Types | |
enum | { FAIL_MAX = 4 } |
Public Member Functions | |
CaptureEngine () | |
CaptureEngine (cv::Ptr< ModelFitter > fitter, cv::Ptr< cv::FeatureDetector > detector, Camera camera, const std::string &dirname) | |
MoleculeGlob & | glob () |
const MoleculeGlob & | glob () const |
const ImageAtom & | latestAtom () const |
virtual cv::Ptr< ImageAtom > | onNewFrame (const cv::Mat &img) |
void | reset () |
virtual | ~CaptureEngine () |
Protected Attributes | |
ImageAtom | atom_ |
BlurDetector | blur_detector_ |
Camera | camera_ |
cv::Ptr< cv::FeatureDetector > | detector_ |
std::string | dirname_ |
int | fail_count_ |
cv::Ptr< ModelFitter > | fitter_ |
MoleculeGlob | glob_ |
PriorTracker | prior_tracker_ |
Definition at line 60 of file CaptureEngine.h.
anonymous enum |
Definition at line 84 of file CaptureEngine.h.
pano::CaptureEngine::CaptureEngine | ( | ) | [inline] |
Definition at line 63 of file CaptureEngine.h.
pano::CaptureEngine::CaptureEngine | ( | cv::Ptr< ModelFitter > | fitter, |
cv::Ptr< cv::FeatureDetector > | detector, | ||
Camera | camera, | ||
const std::string & | dirname | ||
) |
Definition at line 84 of file CaptureEngine.cpp.
pano::CaptureEngine::~CaptureEngine | ( | ) | [virtual] |
Definition at line 93 of file CaptureEngine.cpp.
MoleculeGlob& pano::CaptureEngine::glob | ( | ) | [inline] |
Definition at line 70 of file CaptureEngine.h.
const MoleculeGlob& pano::CaptureEngine::glob | ( | ) | const [inline] |
Definition at line 74 of file CaptureEngine.h.
const ImageAtom& pano::CaptureEngine::latestAtom | ( | ) | const [inline] |
Definition at line 78 of file CaptureEngine.h.
cv::Ptr< ImageAtom > pano::CaptureEngine::onNewFrame | ( | const cv::Mat & | img | ) | [virtual] |
Definition at line 98 of file CaptureEngine.cpp.
void pano::CaptureEngine::reset | ( | ) |
Definition at line 197 of file CaptureEngine.cpp.
ImageAtom pano::CaptureEngine::atom_ [protected] |
Definition at line 90 of file CaptureEngine.h.
BlurDetector pano::CaptureEngine::blur_detector_ [protected] |
Definition at line 95 of file CaptureEngine.h.
Camera pano::CaptureEngine::camera_ [protected] |
Definition at line 89 of file CaptureEngine.h.
cv::Ptr<cv::FeatureDetector> pano::CaptureEngine::detector_ [protected] |
Definition at line 88 of file CaptureEngine.h.
std::string pano::CaptureEngine::dirname_ [protected] |
Definition at line 94 of file CaptureEngine.h.
int pano::CaptureEngine::fail_count_ [protected] |
Definition at line 93 of file CaptureEngine.h.
cv::Ptr<ModelFitter> pano::CaptureEngine::fitter_ [protected] |
Definition at line 87 of file CaptureEngine.h.
MoleculeGlob pano::CaptureEngine::glob_ [protected] |
Definition at line 91 of file CaptureEngine.h.
PriorTracker pano::CaptureEngine::prior_tracker_ [protected] |
Definition at line 92 of file CaptureEngine.h.