Direct Graphical Models  v.1.7.0
DirectGraphicalModels::fex::CHSV Class Reference

Hue, Saturation and Value feature extraction class. More...

#include <HSV.h>

Inheritance diagram for DirectGraphicalModels::fex::CHSV:
Collaboration diagram for DirectGraphicalModels::fex::CHSV:

Public Member Functions

 CHSV (Mat &img)
 Constructor. More...
 
virtual ~CHSV (void)
 
virtual Mat get (void) const
 Extracts and returns the required feature. More...
 
- Public Member Functions inherited from DirectGraphicalModels::fex::ILocalFeatureExtractor
 ILocalFeatureExtractor (const Mat &img)
 Constructor. More...
 
virtual ~ILocalFeatureExtractor (void)
 
- Public Member Functions inherited from DirectGraphicalModels::fex::IFeatureExtractor
 IFeatureExtractor (const Mat &img)
 Constructor. More...
 
virtual ~IFeatureExtractor (void)
 

Static Public Member Functions

static Mat get (const Mat &img)
 Extracts the HSV feature. More...
 

Additional Inherited Members

- Protected Attributes inherited from DirectGraphicalModels::fex::IFeatureExtractor
const Mat m_img
 Container for the image, from which the features are to be extracted. More...
 

Detailed Description

Hue, Saturation and Value feature extraction class.

Author
Sergey G. Kosov, serge.nosp@m.y.ko.nosp@m.sov@p.nosp@m.roje.nosp@m.ct-10.nosp@m..de

Definition at line 14 of file HSV.h.

Constructor & Destructor Documentation

◆ CHSV()

DirectGraphicalModels::fex::CHSV::CHSV ( Mat &  img)
inline

Constructor.

Parameters
imgInput image of type CV_8UC3.

Definition at line 21 of file HSV.h.

◆ ~CHSV()

virtual DirectGraphicalModels::fex::CHSV::~CHSV ( void  )
inlinevirtual

Definition at line 22 of file HSV.h.

Member Function Documentation

◆ get() [1/2]

virtual Mat DirectGraphicalModels::fex::CHSV::get ( void  ) const
inlinevirtual

Extracts and returns the required feature.

Returns
The feature image.

Implements DirectGraphicalModels::fex::ILocalFeatureExtractor.

Definition at line 24 of file HSV.h.

Here is the caller graph for this function:

◆ get() [2/2]

Mat DirectGraphicalModels::fex::CHSV::get ( const Mat &  img)
static

Extracts the HSV feature.

This function transforms the input image into HSV (hue-saturation-value) color space.

Parameters
imgInput image of type CV_8UC3.
Returns
The (hue-saturation-value) feature image of type CV_8UC3.

Definition at line 6 of file HSV.cpp.


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