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

#include <face_recognizer_algorithms.h>

Inheritance diagram for ipa_PeopleDetector::FaceRecognizer2D:
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, cv::Mat &classification_probabilities)
 Abstract method for classification.
virtual void classifyImage (cv::Mat &probe_mat, int &max_prob_index)
 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.
virtual bool loadModel (boost::filesystem::path &model_file)
 Abstract method to load recognition model.
virtual bool saveModel (boost::filesystem::path &model_file)
 Abstract method to save recognition model.

Protected Attributes

cv::Mat average_mat_
std::vector< cv::Mat > model_features_

Detailed Description

Definition at line 184 of file face_recognizer_algorithms.h.


Member Function Documentation

virtual void ipa_PeopleDetector::FaceRecognizer2D::calc_threshold ( cv::Mat &  data,
double &  thresh 
) [inline, 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 193 of file face_recognizer_algorithms.h.

void ipa_PeopleDetector::FaceRecognizer2D::calc_threshold ( std::vector< cv::Mat > &  data,
double &  thresh 
) [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 231 of file face_recognizer_algorithms.cpp.

void ipa_PeopleDetector::FaceRecognizer2D::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 197 of file face_recognizer_algorithms.cpp.

void ipa_PeopleDetector::FaceRecognizer2D::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 151 of file face_recognizer_algorithms.cpp.

void ipa_PeopleDetector::FaceRecognizer2D::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 146 of file face_recognizer_algorithms.cpp.

void ipa_PeopleDetector::FaceRecognizer2D::extractFeatures ( std::vector< cv::Mat > &  src_vec,
cv::Mat &  proj_mat,
std::vector< cv::Mat > &  coeff_vec 
) [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 178 of file face_recognizer_algorithms.cpp.

void ipa_PeopleDetector::FaceRecognizer2D::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 190 of file face_recognizer_algorithms.cpp.

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

Abstract method to load recognition model.

Implements ipa_PeopleDetector::FaceRecognizerBaseClass.

Definition at line 329 of file face_recognizer_algorithms.cpp.

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

Abstract method to save recognition model.

Implements ipa_PeopleDetector::FaceRecognizerBaseClass.

Definition at line 368 of file face_recognizer_algorithms.cpp.


Member Data Documentation

Definition at line 203 of file face_recognizer_algorithms.h.

Definition at line 204 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