Helper class to store a list of features and a list of threshold per feature in a compact mannersuch that it can be transferred between CPU and GPU. More...
#include <random_tree_image.h>
Public Member Functions | |
ImageFeaturesAndThresholds (size_t numFeatures, size_t numThresholds, boost::shared_ptr< cuv::allocator > allocator) | |
set the size of the features and thresholds arrays | |
template<class other_memory_space > | |
ImageFeaturesAndThresholds (const ImageFeaturesAndThresholds< other_memory_space > &other) | |
copy the features and thresholds of another object | |
template<class other_memory_space > | |
ImageFeaturesAndThresholds & | operator= (const ImageFeaturesAndThresholds< other_memory_space > &other) |
set the features and thresholds using another object attributes | |
ImageFeaturesAndThresholds | copy () const |
const cuv::ndarray< int8_t, memory_space > | features () const |
cuv::ndarray< int8_t, memory_space > | features () |
cuv::ndarray< int8_t, memory_space > | types () |
cuv::ndarray< int8_t, memory_space > | offset1X () |
cuv::ndarray< int8_t, memory_space > | offset1Y () |
cuv::ndarray< int8_t, memory_space > | offset2X () |
cuv::ndarray< int8_t, memory_space > | offset2Y () |
cuv::ndarray< int8_t, memory_space > | region1X () |
cuv::ndarray< int8_t, memory_space > | region1Y () |
cuv::ndarray< int8_t, memory_space > | region2X () |
cuv::ndarray< int8_t, memory_space > | region2Y () |
cuv::ndarray< int8_t, memory_space > | channel1 () |
cuv::ndarray< int8_t, memory_space > | channel2 () |
cuv::ndarray< float, memory_space > | thresholds () |
const cuv::ndarray< int8_t, memory_space > | types () const |
const cuv::ndarray< int8_t, memory_space > | offset1X () const |
const cuv::ndarray< int8_t, memory_space > | offset1Y () const |
const cuv::ndarray< int8_t, memory_space > | offset2X () const |
const cuv::ndarray< int8_t, memory_space > | offset2Y () const |
const cuv::ndarray< int8_t, memory_space > | region1X () const |
const cuv::ndarray< int8_t, memory_space > | region1Y () const |
const cuv::ndarray< int8_t, memory_space > | region2X () const |
const cuv::ndarray< int8_t, memory_space > | region2Y () const |
const cuv::ndarray< int8_t, memory_space > | channel1 () const |
const cuv::ndarray< int8_t, memory_space > | channel2 () const |
const cuv::ndarray< float, memory_space > | thresholds () const |
double | getThreshold (size_t threshNr, size_t featNr) const |
void | setFeatureFunction (size_t feat, const ImageFeatureFunction &feature) |
fill the feature attributes using the given feature at the specified location | |
ImageFeatureFunction | getFeatureFunction (size_t feat) const |
Public Attributes | |
cuv::ndarray< int8_t, memory_space > | m_features |
array of features | |
cuv::ndarray< float, memory_space > | m_thresholds |
array of thresholds |
Helper class to store a list of features and a list of threshold per feature in a compact manner
such that it can be transferred between CPU and GPU.
Clients are not intended to use this class directly.
Definition at line 609 of file random_tree_image.h.
|
inline |
Definition at line 738 of file random_tree_image.h.
|
inline |
Definition at line 822 of file random_tree_image.h.
|
inline |
Definition at line 745 of file random_tree_image.h.
|
inline |
Definition at line 829 of file random_tree_image.h.
|
inline |
Definition at line 654 of file random_tree_image.h.
|
inline |
Definition at line 661 of file random_tree_image.h.
|
inline |
Definition at line 668 of file random_tree_image.h.
|
inline |
Definition at line 873 of file random_tree_image.h.
|
inline |
Definition at line 843 of file random_tree_image.h.
|
inline |
Definition at line 682 of file random_tree_image.h.
|
inline |
Definition at line 766 of file random_tree_image.h.
|
inline |
Definition at line 689 of file random_tree_image.h.
|
inline |
Definition at line 773 of file random_tree_image.h.
|
inline |
Definition at line 696 of file random_tree_image.h.
|
inline |
Definition at line 780 of file random_tree_image.h.
|
inline |
Definition at line 703 of file random_tree_image.h.
|
inline |
Definition at line 787 of file random_tree_image.h.
|
inline |
Definition at line 710 of file random_tree_image.h.
|
inline |
Definition at line 794 of file random_tree_image.h.
|
inline |
Definition at line 717 of file random_tree_image.h.
|
inline |
Definition at line 801 of file random_tree_image.h.
|
inline |
Definition at line 724 of file random_tree_image.h.
|
inline |
Definition at line 808 of file random_tree_image.h.
|
inline |
Definition at line 731 of file random_tree_image.h.
|
inline |
Definition at line 815 of file random_tree_image.h.
|
inline |
Definition at line 752 of file random_tree_image.h.
|
inline |
Definition at line 836 of file random_tree_image.h.
|
inline |
Definition at line 675 of file random_tree_image.h.
|
inline |
Definition at line 759 of file random_tree_image.h.