#include <ModelFitter.h>
Public Member Functions | |
const cv::Ptr< ImageAtom > & | atom1 () const |
const cv::Ptr< ImageAtom > & | atom2 () const |
AtomPair () | |
AtomPair (const cv::Ptr< ImageAtom > &atom1, const cv::Ptr< ImageAtom > &atom2, const std::vector< cv::Point2f > &points1, const std::vector< cv::Point2f > &points2) | |
AtomPair (const cv::Ptr< ImageAtom > &atom1, const cv::Ptr< ImageAtom > &atom2, const std::vector< cv::DMatch > &matches) | |
virtual void | deserialize (const cv::FileNode &fn) |
void | drawMatches (cv::Mat &out) const |
Extrinsics | generateExtrinsics (const cv::Ptr< ImageAtom > &atom) const |
const std::vector< cv::DMatch > & | getMatches () const |
cv::Mat | homographyFromQueryToOther (const cv::Ptr< ImageAtom > &query_p) const |
const std::vector< cv::DMatch > & | matches () const |
bool | operator== (const AtomPair &rhs) const |
const cv::Ptr< ImageAtom > & | other (const cv::Ptr< ImageAtom > &atom) const |
const std::vector< cv::Point2f > & | pts1 () const |
const std::vector< cv::Point2f > & | pts2 () const |
const std::vector< cv::Point3f > & | rays1 () const |
const std::vector< cv::Point3f > & | rays2 () const |
FitterResult & | result () |
const FitterResult & | result () const |
cv::Mat | RofThis (const cv::Ptr< ImageAtom > &atom) const |
virtual void | serialize (cv::FileStorage &fs) const |
void | setAtom1 (const cv::Ptr< ImageAtom > &atom) |
void | setAtom2 (const cv::Ptr< ImageAtom > &atom) |
void | setMatches (const std::vector< cv::DMatch > &matches) |
cv::Mat | TMtoOther (const cv::Ptr< ImageAtom > &atom, int which) const |
virtual int | version () const |
Private Attributes | |
cv::Ptr< ImageAtom > | atom1_ |
cv::Ptr< ImageAtom > | atom2_ |
cv::Ptr< std::vector < cv::DMatch > > | matches_ |
cv::Ptr< std::vector < cv::Point2f > > | pts1_ |
cv::Ptr< std::vector < cv::Point2f > > | pts2_ |
cv::Ptr< std::vector < cv::Point3f > > | rays1_ |
cv::Ptr< std::vector < cv::Point3f > > | rays2_ |
cv::Ptr< FitterResult > | result_ |
Definition at line 117 of file ModelFitter.h.
Definition at line 122 of file ModelFitter.cpp.
pano::AtomPair::AtomPair | ( | const cv::Ptr< ImageAtom > & | atom1, |
const cv::Ptr< ImageAtom > & | atom2, | ||
const std::vector< cv::Point2f > & | points1, | ||
const std::vector< cv::Point2f > & | points2 | ||
) |
Definition at line 130 of file ModelFitter.cpp.
pano::AtomPair::AtomPair | ( | const cv::Ptr< ImageAtom > & | atom1, |
const cv::Ptr< ImageAtom > & | atom2, | ||
const std::vector< cv::DMatch > & | matches | ||
) |
const cv::Ptr<ImageAtom>& pano::AtomPair::atom1 | ( | ) | const [inline] |
Definition at line 133 of file ModelFitter.h.
const cv::Ptr<ImageAtom>& pano::AtomPair::atom2 | ( | ) | const [inline] |
Definition at line 137 of file ModelFitter.h.
void pano::AtomPair::deserialize | ( | const cv::FileNode & | fn | ) | [virtual] |
Implements pano::serializable.
Definition at line 185 of file ModelFitter.cpp.
void pano::AtomPair::drawMatches | ( | cv::Mat & | out | ) | const |
Definition at line 196 of file ModelFitter.cpp.
Extrinsics pano::AtomPair::generateExtrinsics | ( | const cv::Ptr< ImageAtom > & | atom | ) | const [inline] |
Definition at line 147 of file ModelFitter.h.
const std::vector< cv::DMatch > & pano::AtomPair::getMatches | ( | ) | const |
Definition at line 161 of file ModelFitter.cpp.
cv::Mat pano::AtomPair::homographyFromQueryToOther | ( | const cv::Ptr< ImageAtom > & | query_p | ) | const [inline] |
Definition at line 175 of file ModelFitter.h.
const std::vector<cv::DMatch>& pano::AtomPair::matches | ( | ) | const [inline] |
Definition at line 204 of file ModelFitter.h.
bool pano::AtomPair::operator== | ( | const AtomPair & | rhs | ) | const [inline] |
Definition at line 209 of file ModelFitter.h.
const cv::Ptr<ImageAtom>& pano::AtomPair::other | ( | const cv::Ptr< ImageAtom > & | atom | ) | const [inline] |
Definition at line 142 of file ModelFitter.h.
const std::vector<cv::Point2f>& pano::AtomPair::pts1 | ( | ) | const [inline] |
Definition at line 188 of file ModelFitter.h.
const std::vector<cv::Point2f>& pano::AtomPair::pts2 | ( | ) | const [inline] |
Definition at line 192 of file ModelFitter.h.
const std::vector<cv::Point3f>& pano::AtomPair::rays1 | ( | ) | const [inline] |
Definition at line 196 of file ModelFitter.h.
const std::vector<cv::Point3f>& pano::AtomPair::rays2 | ( | ) | const [inline] |
Definition at line 200 of file ModelFitter.h.
Definition at line 165 of file ModelFitter.cpp.
const FitterResult & pano::AtomPair::result | ( | ) | const |
Definition at line 169 of file ModelFitter.cpp.
cv::Mat pano::AtomPair::RofThis | ( | const cv::Ptr< ImageAtom > & | atom | ) | const [inline] |
Definition at line 164 of file ModelFitter.h.
void pano::AtomPair::serialize | ( | cv::FileStorage & | fs | ) | const [virtual] |
Implements pano::serializable.
Definition at line 174 of file ModelFitter.cpp.
void pano::AtomPair::setAtom1 | ( | const cv::Ptr< ImageAtom > & | atom | ) | [inline] |
Definition at line 124 of file ModelFitter.h.
void pano::AtomPair::setAtom2 | ( | const cv::Ptr< ImageAtom > & | atom | ) | [inline] |
Definition at line 128 of file ModelFitter.h.
void pano::AtomPair::setMatches | ( | const std::vector< cv::DMatch > & | matches | ) |
Definition at line 153 of file ModelFitter.cpp.
cv::Mat pano::AtomPair::TMtoOther | ( | const cv::Ptr< ImageAtom > & | atom, |
int | which | ||
) | const [inline] |
Definition at line 170 of file ModelFitter.h.
virtual int pano::AtomPair::version | ( | ) | const [inline, virtual] |
Implements pano::serializable.
Definition at line 214 of file ModelFitter.h.
cv::Ptr<ImageAtom> pano::AtomPair::atom1_ [private] |
Definition at line 225 of file ModelFitter.h.
cv::Ptr<ImageAtom> pano::AtomPair::atom2_ [private] |
Definition at line 225 of file ModelFitter.h.
cv::Ptr<std::vector<cv::DMatch> > pano::AtomPair::matches_ [private] |
Definition at line 226 of file ModelFitter.h.
cv::Ptr<std::vector<cv::Point2f> > pano::AtomPair::pts1_ [private] |
Definition at line 228 of file ModelFitter.h.
cv::Ptr<std::vector<cv::Point2f> > pano::AtomPair::pts2_ [private] |
Definition at line 228 of file ModelFitter.h.
cv::Ptr<std::vector<cv::Point3f> > pano::AtomPair::rays1_ [private] |
Definition at line 229 of file ModelFitter.h.
cv::Ptr<std::vector<cv::Point3f> > pano::AtomPair::rays2_ [private] |
Definition at line 229 of file ModelFitter.h.
cv::Ptr<FitterResult> pano::AtomPair::result_ [private] |
Definition at line 227 of file ModelFitter.h.