Compute Library  18.05
HOG Class Reference

CPU implementation of HOG data-object. More...

#include <HOG.h>

Collaboration diagram for HOG:
[legend]

Public Member Functions

 HOG ()
 Default constructor. More...
 
void init (const HOGInfo &input)
 Allocate the HOG descriptor using the given HOG's metadata. More...
 
const HOGInfoinfo () const override
 Interface to be implemented by the child class to return the HOG's metadata. More...
 
float * descriptor () const override
 Pointer to the first element of the array which stores the linear SVM coefficients of HOG descriptor. More...
 
- Public Member Functions inherited from IHOG
virtual ~IHOG ()=default
 Default virtual destructor. More...
 

Detailed Description

CPU implementation of HOG data-object.

Definition at line 36 of file HOG.h.

Constructor & Destructor Documentation

HOG ( )

Default constructor.

Member Function Documentation

float* descriptor ( ) const
overridevirtual

Pointer to the first element of the array which stores the linear SVM coefficients of HOG descriptor.

Note
Other elements of the array can be accessed using descriptor()[idx] for idx=[0, descriptor_size() - 1]
Returns
A pointer to the first element of the array which stores the linear SVM coefficients of HOG descriptor

Implements IHOG.

Referenced by HOGAccessor::descriptor().

const HOGInfo* info ( ) const
overridevirtual

Interface to be implemented by the child class to return the HOG's metadata.

Returns
A pointer to the HOG's metadata.

Implements IHOG.

void init ( const HOGInfo input)

Allocate the HOG descriptor using the given HOG's metadata.

Parameters
[in]inputHOG's metadata used to allocate the HOG descriptor

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