Public Slots | Signals | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
find_object::FindObject Class Reference

#include <FindObject.h>

Inheritance diagram for find_object::FindObject:
Inheritance graph
[legend]

List of all members.

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 ObjSignatureaddObject (const QString &filePath)
const ObjSignatureaddObject (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 Vocabularyvocabulary () 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_
KeypointDetectordetector_
DescriptorExtractorextractor_
QMap< int, ObjSignature * > objects_
QMap< int, cv::Mat > objectsDescriptors_
bool sessionModified_
Vocabularyvocabulary_

Detailed Description

Definition at line 53 of file FindObject.h.


Constructor & Destructor Documentation

find_object::FindObject::FindObject ( QObject *  parent = 0)

Definition at line 45 of file FindObject.cpp.

Definition at line 56 of file FindObject.cpp.


Member Function Documentation

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.

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.

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.

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.

Definition at line 241 of file FindObject.cpp.

Definition at line 231 of file FindObject.cpp.

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.

Definition at line 86 of file FindObject.h.


Member Data Documentation

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.

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.

Definition at line 106 of file FindObject.h.

Definition at line 101 of file FindObject.h.


The documentation for this class was generated from the following files:


find_object_2d
Author(s): Mathieu Labbe
autogenerated on Fri Feb 12 2016 01:18:18