#include <Facebase.h>
| VectorXf Facebase::euclideanDist |
( |
const VectorXf & |
W | ) |
|
Calculate distance between weight and the weights for the current method used.
- Parameters
-
| W | Weights calculated by projecting images onto subspace. |
- Returns
- Return a vector containing all distances.
| float Facebase::euclideanDistFace |
( |
const VectorXi & |
X, |
|
|
const VectorXf & |
face |
|
) |
| |
Calculate the distance to the face subspace.
- Parameters
-
| X | Input image. |
| face | Face vector. |
- Returns
- Returns the distance to the face subspace.
| MatrixXf Facebase::project |
( |
const MatrixXi & |
X | ) |
|
Project X onto subspace.
- Parameters
-
- Returns
- Returns the weight matrix.
| VectorXf Facebase::reconstructFace |
( |
const VectorXf & |
W | ) |
|
Reconstruct a face from a weight.
- Parameters
-
| W | Weight calculated by projecting image onto subspace. |
- Returns
- Returns the face vector.
| size_t Facebase::n_pixels |
|
protected |
| int32_t Facebase::numComponents |
The documentation for this class was generated from the following files: