Class describes a set of facial features consisting of eyes, nose and mouth. More...
#include <face_normalizer.h>
Public Member Functions | |
void | add_offset (int &ox, int &oy) |
Add offset from all features. | |
std::vector< T > | as_vector () |
Create vector containing set of features. | |
FaceFeatures () | |
Construcor for face features. | |
void | scale (double scale) |
Scale set of features. | |
void | sub_offset (int &ox, int &oy) |
Subtract offset from all features. | |
bool | valid () |
Check whether coordinates of features are valid numbers. | |
~FaceFeatures () | |
Destrucor for face features. | |
Public Attributes | |
T | lefteye |
Coordinates of the left eye. | |
T | mouth |
Coordinates of the mouth. | |
T | nose |
Coordinates of the nose. | |
T | righteye |
Coordinates of the right eye. |
Class describes a set of facial features consisting of eyes, nose and mouth.
Definition at line 20 of file face_normalizer.h.
FACE::FaceFeatures< T >::FaceFeatures | ( | ) | [inline] |
Construcor for face features.
Definition at line 25 of file face_normalizer.h.
FACE::FaceFeatures< T >::~FaceFeatures | ( | ) | [inline] |
Destrucor for face features.
Definition at line 31 of file face_normalizer.h.
void FACE::FaceFeatures< T >::add_offset | ( | int & | ox, |
int & | oy | ||
) | [inline] |
Add offset from all features.
[in] | ox | Offset in x-direction |
[in] | oy | Offset in y-direction |
Definition at line 59 of file face_normalizer.h.
std::vector<T> FACE::FaceFeatures< T >::as_vector | ( | ) | [inline] |
Create vector containing set of features.
Definition at line 83 of file face_normalizer.h.
void FACE::FaceFeatures< T >::scale | ( | double | scale | ) | [inline] |
Scale set of features.
[in] | scale | Scale which is applied. |
Definition at line 73 of file face_normalizer.h.
void FACE::FaceFeatures< T >::sub_offset | ( | int & | ox, |
int & | oy | ||
) | [inline] |
Subtract offset from all features.
[in] | ox | Offset in x-direction |
[in] | oy | Offset in y-direction |
Definition at line 44 of file face_normalizer.h.
bool FACE::FaceFeatures< T >::valid | ( | ) | [inline] |
Check whether coordinates of features are valid numbers.
Definition at line 95 of file face_normalizer.h.
T FACE::FaceFeatures< T >::lefteye |
Coordinates of the left eye.
Definition at line 34 of file face_normalizer.h.
T FACE::FaceFeatures< T >::mouth |
Coordinates of the mouth.
Definition at line 39 of file face_normalizer.h.
T FACE::FaceFeatures< T >::nose |
Coordinates of the nose.
Definition at line 38 of file face_normalizer.h.
T FACE::FaceFeatures< T >::righteye |
Coordinates of the right eye.
Definition at line 37 of file face_normalizer.h.