#include <ImageAtom.h>
Public Types | |
enum | { DRAW_FEATURES = 1 } |
Public Member Functions | |
Camera & | camera () |
const Camera & | camera () const |
ImageAtom * | clone () const |
void | descriptorMatchMask (const ImageAtom &atom, cv::Mat &mask, const cv::Mat &H=cv::Mat(), float uncertainty=25) const |
virtual void | deserialize (const cv::FileNode &fn) |
void | detect (const cv::FeatureDetector &detector) |
virtual void | draw (cv::Mat *out, int flags=0) |
interface for drawing | |
template<typename DescriptorMatcherT > | |
void | extract (const cv::DescriptorExtractor &extractor, const DescriptorMatcherT &matcher) |
Extrinsics & | extrinsics () |
const Extrinsics & | extrinsics () const |
Features & | features () |
const Features & | features () const |
void | flush () |
ImageAtom () | |
ImageAtom (const Camera &camera, const Images &images) | |
Images & | images () |
const Images & | images () const |
void | match (const ImageAtom &atom, std::vector< cv::DMatch > &matches, const cv::Mat &H=cv::Mat(), float uncertainty=25) const |
cv::Ptr< ImageAtom > | ptrToSelf () |
virtual void | serialize (cv::FileStorage &fs) const |
void | setUid (int id) |
int | uid () const |
cv::Mat | undistortPoints () |
virtual int | version () const |
virtual | ~ImageAtom () |
Private Attributes | |
Camera | camera_ |
Extrinsics | extrinsics_ |
Features | features_ |
Images | images_ |
int | uid_ |
Definition at line 12 of file ImageAtom.h.
anonymous enum |
Definition at line 112 of file ImageAtom.h.
Definition at line 20 of file ImageAtom.cpp.
pano::ImageAtom::~ImageAtom | ( | ) | [virtual] |
Definition at line 25 of file ImageAtom.cpp.
pano::ImageAtom::ImageAtom | ( | const Camera & | camera, |
const Images & | images | ||
) |
Definition at line 30 of file ImageAtom.cpp.
Camera& pano::ImageAtom::camera | ( | ) | [inline] |
Definition at line 51 of file ImageAtom.h.
const Camera& pano::ImageAtom::camera | ( | ) | const [inline] |
Definition at line 67 of file ImageAtom.h.
ImageAtom* pano::ImageAtom::clone | ( | ) | const [inline] |
Definition at line 97 of file ImageAtom.h.
void pano::ImageAtom::descriptorMatchMask | ( | const ImageAtom & | atom, |
cv::Mat & | mask, | ||
const cv::Mat & | H = cv::Mat() , |
||
float | uncertainty = 25 |
||
) | const |
Definition at line 54 of file ImageAtom.cpp.
void pano::ImageAtom::deserialize | ( | const cv::FileNode & | fn | ) | [virtual] |
Implements pano::serializable.
Definition at line 163 of file ImageAtom.cpp.
void pano::ImageAtom::detect | ( | const cv::FeatureDetector & | detector | ) |
Definition at line 47 of file ImageAtom.cpp.
void pano::ImageAtom::draw | ( | cv::Mat * | out, |
int | flags = 0 |
||
) | [virtual] |
interface for drawing
out | the output mat to draw to |
flags | optional drawing flags, default is 0 |
Implements pano::drawable.
Definition at line 124 of file ImageAtom.cpp.
void pano::ImageAtom::extract | ( | const cv::DescriptorExtractor & | extractor, |
const DescriptorMatcherT & | matcher | ||
) | [inline] |
Definition at line 24 of file ImageAtom.h.
Extrinsics& pano::ImageAtom::extrinsics | ( | ) | [inline] |
Definition at line 55 of file ImageAtom.h.
const Extrinsics& pano::ImageAtom::extrinsics | ( | ) | const [inline] |
Definition at line 71 of file ImageAtom.h.
Features& pano::ImageAtom::features | ( | ) | [inline] |
Definition at line 47 of file ImageAtom.h.
const Features& pano::ImageAtom::features | ( | ) | const [inline] |
Definition at line 63 of file ImageAtom.h.
void pano::ImageAtom::flush | ( | ) | [inline] |
Definition at line 92 of file ImageAtom.h.
Images& pano::ImageAtom::images | ( | ) | [inline] |
Definition at line 43 of file ImageAtom.h.
const Images& pano::ImageAtom::images | ( | ) | const [inline] |
Definition at line 59 of file ImageAtom.h.
void pano::ImageAtom::match | ( | const ImageAtom & | atom, |
std::vector< cv::DMatch > & | matches, | ||
const cv::Mat & | H = cv::Mat() , |
||
float | uncertainty = 25 |
||
) | const |
Definition at line 91 of file ImageAtom.cpp.
cv::Ptr<ImageAtom> pano::ImageAtom::ptrToSelf | ( | ) | [inline] |
warning this is dangerous - don't hold onto the smart pointer after this goes out of scope or gets deleted
Definition at line 107 of file ImageAtom.h.
void pano::ImageAtom::serialize | ( | cv::FileStorage & | fs | ) | const [virtual] |
Implements pano::serializable.
Definition at line 148 of file ImageAtom.cpp.
void pano::ImageAtom::setUid | ( | int | id | ) |
Definition at line 135 of file ImageAtom.cpp.
int pano::ImageAtom::uid | ( | ) | const [inline] |
Definition at line 38 of file ImageAtom.h.
cv::Mat pano::ImageAtom::undistortPoints | ( | ) |
virtual int pano::ImageAtom::version | ( | ) | const [inline, virtual] |
Implements pano::serializable.
Definition at line 84 of file ImageAtom.h.
Camera pano::ImageAtom::camera_ [private] |
Definition at line 121 of file ImageAtom.h.
Extrinsics pano::ImageAtom::extrinsics_ [private] |
Definition at line 122 of file ImageAtom.h.
Features pano::ImageAtom::features_ [private] |
Definition at line 120 of file ImageAtom.h.
Images pano::ImageAtom::images_ [private] |
Definition at line 119 of file ImageAtom.h.
int pano::ImageAtom::uid_ [private] |
Definition at line 123 of file ImageAtom.h.