Open Detection  1.0
od::ODSceneImage Class Reference

Class for Image Scene. More...

#include <ODScene.h>

Inheritance diagram for od::ODSceneImage:
Collaboration diagram for od::ODSceneImage:

Public Member Functions

std::vector< cv::KeyPoint > const & getKeypoints () const
 
void setKeypoints (std::vector< cv::KeyPoint > const &keypoints_)
 
cv::Mat const & getDescriptors () const
 
void setDescriptors (cv::Mat const &descriptors_)
 
 ODSceneImage (cv::Mat const &cvimage)
 
 ODSceneImage (std::string const &path)
 
cv::Mat getCVImage ()
 
void * getData ()
 
- Public Member Functions inherited from od::ODScene
std::string const & getPath () const
 

Protected Attributes

cv::Mat cvimage_
 
std::vector< cv::KeyPoint > keypoints_
 
cv::Mat descriptors_
 
bool is_trained_
 
- Protected Attributes inherited from od::ODScene
std::string path_
 

Detailed Description

Constructor & Destructor Documentation

od::ODSceneImage::ODSceneImage ( cv::Mat const &  cvimage)
inline

Definition at line 94 of file ODScene.h.

References cvimage_.

od::ODSceneImage::ODSceneImage ( std::string const &  path)
inline

Definition at line 99 of file ODScene.h.

References cvimage_, and od::ODScene::path_.

Member Function Documentation

void* od::ODSceneImage::getData ( )
inlinevirtual

Implements od::ODScene.

Definition at line 110 of file ODScene.h.

References cvimage_.

cv::Mat const& od::ODSceneImage::getDescriptors ( ) const
inline

Definition at line 83 of file ODScene.h.

References descriptors_.

std::vector<cv::KeyPoint> const& od::ODSceneImage::getKeypoints ( ) const
inline

Definition at line 73 of file ODScene.h.

References keypoints_.

void od::ODSceneImage::setDescriptors ( cv::Mat const &  descriptors_)
inline

Definition at line 88 of file ODScene.h.

References descriptors_, and is_trained_.

void od::ODSceneImage::setKeypoints ( std::vector< cv::KeyPoint > const &  keypoints_)
inline

Definition at line 78 of file ODScene.h.

References keypoints_.

Member Data Documentation

cv::Mat od::ODSceneImage::cvimage_
protected

Definition at line 116 of file ODScene.h.

Referenced by getCVImage(), getData(), and ODSceneImage().

cv::Mat od::ODSceneImage::descriptors_
protected

Definition at line 119 of file ODScene.h.

Referenced by getDescriptors(), and setDescriptors().

bool od::ODSceneImage::is_trained_
protected

Definition at line 120 of file ODScene.h.

Referenced by setDescriptors().

std::vector<cv::KeyPoint> od::ODSceneImage::keypoints_
protected

Definition at line 118 of file ODScene.h.

Referenced by getKeypoints(), and setKeypoints().


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