Scale feature extraction class.
More...
#include <Scale.h>
|
const Mat | m_img |
| Container for the image, from which the features are to be extracted. More...
|
|
Scale feature extraction class.
This class allow for multi-scale feature extraction.
- 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 16 of file Scale.h.
◆ CScale()
DirectGraphicalModels::fex::CScale::CScale |
( |
const Mat & |
img | ) |
|
|
inline |
Constructor.
- Parameters
-
img | Input image of type CV_8UC1 or CV_8UC3. |
Definition at line 23 of file Scale.h.
◆ ~CScale()
virtual DirectGraphicalModels::fex::CScale::~CScale |
( |
void |
| ) |
|
|
inlinevirtual |
◆ get() [1/2]
virtual Mat DirectGraphicalModels::fex::CScale::get |
( |
void |
| ) |
const |
|
inlinevirtual |
◆ get() [2/2]
Extracts the scale feature.
For each pixel of the source image this function calculates the mean value within the pixel's neighbourhood nbhd. Using different neighbourhood radii, it alows for different scale representations of the features.
- Parameters
-
img | Input image of type CV_8Uxx with arbitrary number of channels. |
nbhd | Neighborhood around the pixel, where the mean is estimated. (Ref. SqNeighbourhood). |
- Returns
- The scale feature image of the same type as input image.
Definition at line 5 of file Scale.cpp.
The documentation for this class was generated from the following files: