Main MRPT website > C++ reference for MRPT 1.9.9
List of all members | Classes | Public Member Functions | Protected Member Functions | Protected Attributes
mrpt::detectors::CCascadeClassifierDetection Class Reference

Detailed Description

Definition at line 22 of file CCascadeClassifierDetection.h.

#include <mrpt/detectors/CCascadeClassifierDetection.h>

Inheritance diagram for mrpt::detectors::CCascadeClassifierDetection:
Inheritance graph

Classes

struct  TOptions
 

Public Member Functions

 CCascadeClassifierDetection ()
 
virtual ~CCascadeClassifierDetection ()
 
virtual void init (const mrpt::utils::CConfigFileBase &cfg)
 Initialize cascade classifier detection. More...
 
void init (const std::string &configFile)
 Initialize the object with parameters loaded from the given config file. More...
 
void detectObjects (const mrpt::obs::CObservation::Ptr obs, vector_detectable_object &detected)
 
void detectObjects (const mrpt::obs::CObservation *obs, vector_detectable_object &detected)
 
void detectObjects (const mrpt::utils::CImage *img, vector_detectable_object &detected)
 

Protected Member Functions

virtual void detectObjects_Impl (const mrpt::obs::CObservation *obs, vector_detectable_object &detected)
 Detect objects in a *CObservation. More...
 

Protected Attributes

voidm_cascade
 Cascade classifier object. More...
 
struct mrpt::detectors::CCascadeClassifierDetection::TOptions m_options
 

Constructor & Destructor Documentation

◆ CCascadeClassifierDetection()

CCascadeClassifierDetection::CCascadeClassifierDetection ( )

Definition at line 38 of file CCascadeClassifierDetection.cpp.

References THROW_EXCEPTION.

◆ ~CCascadeClassifierDetection()

CCascadeClassifierDetection::~CCascadeClassifierDetection ( )
virtual

Definition at line 52 of file CCascadeClassifierDetection.cpp.

References CASCADE.

Member Function Documentation

◆ detectObjects() [1/3]

void mrpt::detectors::CObjectDetection::detectObjects ( const mrpt::obs::CObservation::Ptr  obs,
vector_detectable_object detected 
)
inlineinherited

Definition at line 39 of file CObjectDetection.h.

References mrpt::detectors::CObjectDetection::detectObjects_Impl().

Referenced by mrpt::detectors::CFaceDetection::detectObjects_Impl().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ detectObjects() [2/3]

void mrpt::detectors::CObjectDetection::detectObjects ( const mrpt::obs::CObservation obs,
vector_detectable_object detected 
)
inlineinherited

Definition at line 46 of file CObjectDetection.h.

References mrpt::detectors::CObjectDetection::detectObjects_Impl().

Here is the call graph for this function:

◆ detectObjects() [3/3]

void CObjectDetection::detectObjects ( const mrpt::utils::CImage img,
vector_detectable_object detected 
)
inherited

◆ detectObjects_Impl()

void CCascadeClassifierDetection::detectObjects_Impl ( const mrpt::obs::CObservation obs,
vector_detectable_object detected 
)
protectedvirtual

Detect objects in a *CObservation.

Returns
A vector with detected objects

Implements mrpt::detectors::CObjectDetection.

Definition at line 91 of file CCascadeClassifierDetection.cpp.

References CASCADE, mrpt::utils::FAST_REF_OR_CONVERT_TO_GRAY, mrpt::utils::CImage::getAs(), mrpt::obs::CObservationImage::image, mrpt::obs::CObservationStereoImages::imageLeft, mrpt::obs::CObservation3DRangeScan::intensityImage, and IS_CLASS.

Here is the call graph for this function:

◆ init() [1/2]

void mrpt::detectors::CObjectDetection::init ( const std::string configFile)
inlineinherited

Initialize the object with parameters loaded from the given config file.

Definition at line 29 of file CObjectDetection.h.

◆ init() [2/2]

void CCascadeClassifierDetection::init ( const mrpt::utils::CConfigFileBase cfg)
virtual

Initialize cascade classifier detection.

Implements mrpt::detectors::CObjectDetection.

Definition at line 63 of file CCascadeClassifierDetection.cpp.

References CASCADE, mrpt::utils::CConfigFileBase::read_double(), mrpt::utils::CConfigFileBase::read_int(), and mrpt::utils::CConfigFileBase::read_string().

Referenced by mrpt::detectors::CFaceDetection::init().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_cascade

void* mrpt::detectors::CCascadeClassifierDetection::m_cascade
protected

Cascade classifier object.

Definition at line 41 of file CCascadeClassifierDetection.h.

◆ m_options

struct mrpt::detectors::CCascadeClassifierDetection::TOptions mrpt::detectors::CCascadeClassifierDetection::m_options
protected



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019