class HaarRealStumpMachine

This class is designed to train/support real weak classifiers based on Haar-like features

Inheritance:


Public Fields

[more]ipHaar* the_mask
The current mask to use to compute the feature
[more]ipHaar** masks
All the possible masks (in training mode only)

Public Methods

[more] HaarRealStumpMachine(int n_features_, ipHaar** masks_)
constructor for training
[more] HaarRealStumpMachine(int width_pattern_, int height_pattern_, real* integralimage2_ = NULL)
constructor for testing
[more]virtual void setParams(int feature_id_, real min_, real max_, real* lut_)
decode the parameters of the machine
[more]virtual real getFeature(int feature_id_, Sequence* inputs_)
compute the feature feature_id_ for the sequence inputs_
[more]virtual void forward(Sequence* inputs)
computes the output of the machine given an input sequence
[more]virtual void loadXFile(XFile* file)
load the parameters of the machine
[more]virtual void saveXFile(XFile* file)
save the parameters of the machine
[more]virtual ~HaarRealStumpMachine()


Inherited from RealStumpMachine:

Public Fields

oint n_bins
oint n_features


Documentation

This class is designed to train/support real weak classifiers based on Haar-like features

oipHaar* the_mask
The current mask to use to compute the feature

oipHaar** masks
All the possible masks (in training mode only)

o HaarRealStumpMachine(int n_features_, ipHaar** masks_)
constructor for training

o HaarRealStumpMachine(int width_pattern_, int height_pattern_, real* integralimage2_ = NULL)
constructor for testing

ovirtual void setParams(int feature_id_, real min_, real max_, real* lut_)
decode the parameters of the machine

ovirtual real getFeature(int feature_id_, Sequence* inputs_)
compute the feature feature_id_ for the sequence inputs_

ovirtual void forward(Sequence* inputs)
computes the output of the machine given an input sequence

ovirtual void loadXFile(XFile* file)
load the parameters of the machine

ovirtual void saveXFile(XFile* file)
save the parameters of the machine

ovirtual ~HaarRealStumpMachine()


This class has no child classes.
Author:
Yann Rodiguez (rodrig@idiap.ch)
Version:
2.0 Fri 15 Jul 2005 11:35:21 AM CEST
Since:
2.0

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.