#include <FindObject.h>

Public Slots | |
| void | addObjectAndUpdate (const cv::Mat &image, int id=0, const QString &filename=QString()) |
| void | detect (const cv::Mat &image) |
| void | removeObjectAndUpdate (int id) |
Signals | |
| void | objectsFound (const find_object::DetectionInfo &) |
Public Member Functions | |
| const ObjSignature * | addObject (const QString &filePath) |
| const ObjSignature * | addObject (const cv::Mat &image, int id=0, const QString &filename=QString()) |
| bool | addObject (ObjSignature *obj) |
| bool | detect (const cv::Mat &image, find_object::DetectionInfo &info) |
| FindObject (QObject *parent=0) | |
| bool | isSessionModified () const |
| int | loadObjects (const QString &dirPath) |
| bool | loadSession (const QString &path) |
| const QMap< int, ObjSignature * > & | objects () const |
| void | removeAllObjects () |
| void | removeObject (int id) |
| bool | saveSession (const QString &path) |
| void | updateDetectorExtractor () |
| void | updateObjects (const QList< int > &ids=QList< int >()) |
| void | updateVocabulary () |
| const Vocabulary * | vocabulary () const |
| virtual | ~FindObject () |
Static Public Member Functions | |
| static void | affineSkew (float tilt, float phi, const cv::Mat &image, cv::Mat &skewImage, cv::Mat &skewMask, cv::Mat &Ai) |
Private Member Functions | |
| void | clearVocabulary () |
Private Attributes | |
| QMap< int, int > | dataRange_ |
| KeypointDetector * | detector_ |
| DescriptorExtractor * | extractor_ |
| QMap< int, ObjSignature * > | objects_ |
| QMap< int, cv::Mat > | objectsDescriptors_ |
| bool | sessionModified_ |
| Vocabulary * | vocabulary_ |
Definition at line 53 of file FindObject.h.
| find_object::FindObject::FindObject | ( | QObject * | parent = 0 | ) |
Definition at line 45 of file FindObject.cpp.
| find_object::FindObject::~FindObject | ( | ) | [virtual] |
Definition at line 56 of file FindObject.cpp.
| const ObjSignature * find_object::FindObject::addObject | ( | const QString & | filePath | ) |
Definition at line 165 of file FindObject.cpp.
| const ObjSignature * find_object::FindObject::addObject | ( | const cv::Mat & | image, |
| int | id = 0, |
||
| const QString & | filename = QString() |
||
| ) |
Definition at line 199 of file FindObject.cpp.
| bool find_object::FindObject::addObject | ( | ObjSignature * | obj | ) |
Definition at line 211 of file FindObject.cpp.
| void find_object::FindObject::addObjectAndUpdate | ( | const cv::Mat & | image, |
| int | id = 0, |
||
| const QString & | filename = QString() |
||
| ) | [slot] |
Definition at line 248 of file FindObject.cpp.
| void find_object::FindObject::affineSkew | ( | float | tilt, |
| float | phi, | ||
| const cv::Mat & | image, | ||
| cv::Mat & | skewImage, | ||
| cv::Mat & | skewMask, | ||
| cv::Mat & | Ai | ||
| ) | [static] |
Definition at line 310 of file FindObject.cpp.
| void find_object::FindObject::clearVocabulary | ( | ) | [private] |
Definition at line 652 of file FindObject.cpp.
| bool find_object::FindObject::detect | ( | const cv::Mat & | image, |
| find_object::DetectionInfo & | info | ||
| ) |
Definition at line 1005 of file FindObject.cpp.
| void find_object::FindObject::detect | ( | const cv::Mat & | image | ) | [slot] |
Definition at line 972 of file FindObject.cpp.
| bool find_object::FindObject::isSessionModified | ( | ) | const [inline] |
Definition at line 70 of file FindObject.h.
| int find_object::FindObject::loadObjects | ( | const QString & | dirPath | ) |
Definition at line 143 of file FindObject.cpp.
| bool find_object::FindObject::loadSession | ( | const QString & | path | ) |
Definition at line 63 of file FindObject.cpp.
| const QMap<int, ObjSignature*>& find_object::FindObject::objects | ( | ) | const [inline] |
Definition at line 85 of file FindObject.h.
| void find_object::FindObject::objectsFound | ( | const find_object::DetectionInfo & | ) | [signal] |
Definition at line 241 of file FindObject.cpp.
| void find_object::FindObject::removeObject | ( | int | id | ) |
Definition at line 231 of file FindObject.cpp.
| void find_object::FindObject::removeObjectAndUpdate | ( | int | id | ) | [slot] |
Definition at line 260 of file FindObject.cpp.
| bool find_object::FindObject::saveSession | ( | const QString & | path | ) |
Definition at line 115 of file FindObject.cpp.
Definition at line 270 of file FindObject.cpp.
| void find_object::FindObject::updateObjects | ( | const QList< int > & | ids = QList<int>() | ) |
Definition at line 588 of file FindObject.cpp.
Definition at line 659 of file FindObject.cpp.
| const Vocabulary* find_object::FindObject::vocabulary | ( | ) | const [inline] |
Definition at line 86 of file FindObject.h.
QMap<int, int> find_object::FindObject::dataRange_ [private] |
Definition at line 103 of file FindObject.h.
Definition at line 104 of file FindObject.h.
Definition at line 105 of file FindObject.h.
QMap<int, ObjSignature*> find_object::FindObject::objects_ [private] |
Definition at line 100 of file FindObject.h.
QMap<int, cv::Mat> find_object::FindObject::objectsDescriptors_ [private] |
Definition at line 102 of file FindObject.h.
bool find_object::FindObject::sessionModified_ [private] |
Definition at line 106 of file FindObject.h.
Vocabulary* find_object::FindObject::vocabulary_ [private] |
Definition at line 101 of file FindObject.h.