Open Detection  1.0
od::ODDetections2D Class Reference

The container class for ODDetection2D returned by ODDetector2D. More...

#include <ODDetection.h>

Inheritance diagram for od::ODDetections2D:
Collaboration diagram for od::ODDetections2D:

Public Member Functions

ODSceneImage renderMetainfo (ODSceneImage input)
 Draws rectangles over the input image using the bounding box information present in all the 2D detections. More...
 
ODDetection2Doperator[] (int i)
 
ODDetection2Dat (int i)
 
- Public Member Functions inherited from od::ODDetections
 ODDetections (int n=0)
 
virtual ~ODDetections ()
 
int size ()
 
void push_back (ODDetection *detection)
 
void append (ODDetections *detections)
 
ODDetectionoperator[] (int i)
 
ODDetectionat (int i)
 
cv::Mat const & getMetainfoImage () const
 
void setMetainfoImage (cv::Mat const &metainfo_image_)
 
pcl::PointCloud< pcl::PointXYZ >
::Ptr const & 
getMetainfoCluster () const
 
void setMetainfoCluster (typename pcl::PointCloud< pcl::PointXYZ >::Ptr const &metainfo_cluster_)
 

Additional Inherited Members

- Protected Attributes inherited from od::ODDetections
std::vector< ODDetection * > detections_
 
cv::Mat metainfo_image_
 
pcl::PointCloud< pcl::PointXYZ >
::Ptr 
metainfo_cluster_
 

Detailed Description

Member Function Documentation

ODDetection2D* od::ODDetections2D::at ( int  i)
inline

Definition at line 368 of file ODDetection.h.

References od::ODDetections::detections_.

ODDetection2D* od::ODDetections2D::operator[] ( int  i)
inline

Definition at line 367 of file ODDetection.h.

References od::ODDetections::detections_.

ODSceneImage od::ODDetections2D::renderMetainfo ( ODSceneImage  input)
inline

Draws rectangles over the input image using the bounding box information present in all the 2D detections.

This is a quick function to render and verify the detections made.

Examples:
apps/global2D/od_multihog_app.cpp, objectdetector/od_hog_train.cpp, objectdetector/od_image_hog_files.cpp, and objectdetector/od_multialgo_files.cpp.

Definition at line 346 of file ODDetection.h.

References od::ODDetection2D::bounding_box_2d_, od::ODDetections::detections_, od::ODSceneImage::getCVImage(), and od::getHashedColor().


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