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 17 of file face_normalizer.h.
| FACE::FaceFeatures< T >::FaceFeatures | ( | ) | [inline] |
Construcor for face features.
Definition at line 22 of file face_normalizer.h.
| FACE::FaceFeatures< T >::~FaceFeatures | ( | ) | [inline] |
Destrucor for face features.
Definition at line 28 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 56 of file face_normalizer.h.
| std::vector<T> FACE::FaceFeatures< T >::as_vector | ( | ) | [inline] |
Create vector containing set of features.
Definition at line 80 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 70 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 41 of file face_normalizer.h.
| bool FACE::FaceFeatures< T >::valid | ( | ) | [inline] |
Check whether coordinates of features are valid numbers.
Definition at line 92 of file face_normalizer.h.
| T FACE::FaceFeatures< T >::lefteye |
Coordinates of the left eye.
Definition at line 31 of file face_normalizer.h.
| T FACE::FaceFeatures< T >::mouth |
Coordinates of the mouth.
Definition at line 36 of file face_normalizer.h.
| T FACE::FaceFeatures< T >::nose |
Coordinates of the nose.
Definition at line 35 of file face_normalizer.h.
| T FACE::FaceFeatures< T >::righteye |
Coordinates of the right eye.
Definition at line 34 of file face_normalizer.h.