Public Member Functions | Protected Attributes
ipa_PeopleDetector::FaceRecognizer1D Class Reference

#include <face_recognizer_algorithms.h>

Inheritance diagram for ipa_PeopleDetector::FaceRecognizer1D:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void calc_threshold (cv::Mat &data, double &thresh)
 Calculation of unknown threshold.
virtual void calc_threshold (std::vector< cv::Mat > &data, double &thresh)
 Calculation of unknown threshold.
virtual void calcDIFS (cv::Mat &probe_mat, int &minDIFSindex, double &minDIFS, cv::Mat &probabilities)
 Abstract method for DIFS calculation.
virtual void classifyImage (cv::Mat &probe_mat, int &max_prob_index)
 Abstract method for classification.
virtual void classifyImage (cv::Mat &probe_mat, int &max_prob_index, cv::Mat &classification_probabilities)
 Abstract method for classification.
virtual void extractFeatures (std::vector< cv::Mat > &src_vec, cv::Mat &proj_mat, std::vector< cv::Mat > &coeff_vec)
 Abstract method feature extraction.
virtual void extractFeatures (cv::Mat &src_vec, cv::Mat &proj_mat, cv::Mat &coeff_vec)
 Abstract method feature extraction.
 FaceRecognizer1D ()
virtual bool loadModel (boost::filesystem::path &model_file)
 Abstract method to load recognition model.
virtual void model_data_mat (std::vector< cv::Mat > &input_data, cv::Mat &data_mat)
virtual bool saveModel (boost::filesystem::path &model_file)
 Abstract method to save recognition model.
virtual ~FaceRecognizer1D ()

Protected Attributes

cv::Mat average_arr_
cv::Mat model_features_

Detailed Description

Definition at line 146 of file face_recognizer_algorithms.h.


Constructor & Destructor Documentation

Definition at line 150 of file face_recognizer_algorithms.h.

Definition at line 154 of file face_recognizer_algorithms.h.


Member Function Documentation

void ipa_PeopleDetector::FaceRecognizer1D::calc_threshold ( cv::Mat &  data,
double &  thresh 
) [virtual]

Calculation of unknown threshold.

Abstract method for the calculation of the "unknown" threshold

Parameters:
[in]dataMatrix containing model features as matrix-rows.
[out]threshValue for "unknown" threshold.

Implements ipa_PeopleDetector::FaceRecognizerBaseClass.

Definition at line 16 of file face_recognizer_algorithms.cpp.

virtual void ipa_PeopleDetector::FaceRecognizer1D::calc_threshold ( std::vector< cv::Mat > &  data,
double &  thresh 
) [inline, virtual]

Calculation of unknown threshold.

Abstract method for the calculation of the "unknown" threshold

Parameters:
[in]dataVector containing model features as matrices.
[out]threshValue for "unknown" threshold.

Implements ipa_PeopleDetector::FaceRecognizerBaseClass.

Definition at line 168 of file face_recognizer_algorithms.h.

void ipa_PeopleDetector::FaceRecognizer1D::calcDIFS ( cv::Mat &  probe_mat,
int &  minDIFSindex,
double &  minDIFS,
cv::Mat &  probabilities 
) [virtual]

Abstract method for DIFS calculation.

Abstract method to calculate the minimal distance in face space (DIFS) for a given probe image.

Parameters:
[in]probe_matImage which is compared to the model features
[out]minDIFSindexIndex of the minimal distance
[out]minDIFSMinimal distance
[out]probabilitiesClassification probabilities for all classes in dataset

Implements ipa_PeopleDetector::FaceRecognizerBaseClass.

Definition at line 114 of file face_recognizer_algorithms.cpp.

void ipa_PeopleDetector::FaceRecognizer1D::classifyImage ( cv::Mat &  probe_mat,
int &  max_prob_index 
) [virtual]

Abstract method for classification.

Abstract method to classifiy image.

Parameters:
[in]src_vecVector of image matrices
[in]probe_matImage that is classified
[out]max_prob_indexIndex of most probable label

Implements ipa_PeopleDetector::FaceRecognizerBaseClass.

Definition at line 82 of file face_recognizer_algorithms.cpp.

void ipa_PeopleDetector::FaceRecognizer1D::classifyImage ( cv::Mat &  probe_mat,
int &  max_prob_index,
cv::Mat &  classification_probabilities 
) [virtual]

Abstract method for classification.

Abstract method to classifiy image and recieve classification probabilities for all possible classes.

Parameters:
[in]probe_matImage that is classified
[out]max_prob_indexIndex of most probable label
[out]Classification probabilities for all classes in dataset

Implements ipa_PeopleDetector::FaceRecognizerBaseClass.

Definition at line 87 of file face_recognizer_algorithms.cpp.

virtual void ipa_PeopleDetector::FaceRecognizer1D::extractFeatures ( std::vector< cv::Mat > &  src_vec,
cv::Mat &  proj_mat,
std::vector< cv::Mat > &  coeff_vec 
) [inline, virtual]

Abstract method feature extraction.

Abstract method to extract features from image matrix using a linear projection matrix.

Parameters:
[in]src_vecVector of image matrices
[in]proj_matLinear projection matrix
[out]coeff_vecVector with feature matrices

Implements ipa_PeopleDetector::FaceRecognizerBaseClass.

Definition at line 159 of file face_recognizer_algorithms.h.

void ipa_PeopleDetector::FaceRecognizer1D::extractFeatures ( cv::Mat &  src_mat,
cv::Mat &  proj_mat,
cv::Mat &  coeff_mat 
) [virtual]

Abstract method feature extraction.

Abstract method to extract features from image matrix using a linear projection matrix.

Parameters:
[in]src_vecVector of image matrices
[in]src_matImage matrix
[in]proj_matLinear projection matrix
[out]coeff_vecFeature matrix

Implements ipa_PeopleDetector::FaceRecognizerBaseClass.

Definition at line 74 of file face_recognizer_algorithms.cpp.

bool ipa_PeopleDetector::FaceRecognizer1D::loadModel ( boost::filesystem::path &  model_file) [virtual]

Abstract method to load recognition model.

Implements ipa_PeopleDetector::FaceRecognizerBaseClass.

Definition at line 279 of file face_recognizer_algorithms.cpp.

void ipa_PeopleDetector::FaceRecognizer1D::model_data_mat ( std::vector< cv::Mat > &  input_data,
cv::Mat &  data_mat 
) [virtual]

Definition at line 57 of file face_recognizer_algorithms.cpp.

bool ipa_PeopleDetector::FaceRecognizer1D::saveModel ( boost::filesystem::path &  model_file) [virtual]

Abstract method to save recognition model.

Implements ipa_PeopleDetector::FaceRecognizerBaseClass.

Definition at line 308 of file face_recognizer_algorithms.cpp.


Member Data Documentation

Definition at line 179 of file face_recognizer_algorithms.h.

Definition at line 180 of file face_recognizer_algorithms.h.


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


cob_people_detection
Author(s): Richard Bormann , Thomas Zwölfer
autogenerated on Fri Aug 28 2015 10:24:13