Stores a set of energy maps.
More...
#include <linemod.h>
List of all members.
Public Member Functions |
| EnergyMaps () |
| Constructor.
|
size_t | getHeight () const |
| Returns the height of the energy maps.
|
size_t | getNumOfBins () const |
| Returns the number of bins used for quantization (which is equal to the number of energy maps).
|
size_t | getWidth () const |
| Returns the width of the energy maps.
|
void | initialize (const size_t width, const size_t height, const size_t nr_bins) |
| Initializes the set of energy maps.
|
unsigned char & | operator() (const size_t bin_index, const size_t col_index, const size_t row_index) |
| Operator for accessing a specific element in the set of energy maps.
|
unsigned char & | operator() (const size_t bin_index, const size_t index) |
| Operator for accessing a specific element in the set of energy maps.
|
unsigned char * | operator() (const size_t bin_index) |
| Returns a pointer to the data of the specified energy map.
|
const unsigned char & | operator() (const size_t bin_index, const size_t col_index, const size_t row_index) const |
| Operator for accessing a specific element in the set of energy maps.
|
const unsigned char & | operator() (const size_t bin_index, const size_t index) const |
| Operator for accessing a specific element in the set of energy maps.
|
const unsigned char * | operator() (const size_t bin_index) const |
| Returns a pointer to the data of the specified energy map.
|
void | releaseAll () |
| Releases the internal data.
|
virtual | ~EnergyMaps () |
| Destructor.
|
Private Attributes |
size_t | height_ |
| The height of the energy maps.
|
std::vector< unsigned char * > | maps_ |
| Storage for the energy maps.
|
size_t | nr_bins_ |
| The number of quantization bins (== the number of internally stored energy maps).
|
size_t | width_ |
| The width of the energy maps.
|
Detailed Description
Stores a set of energy maps.
- Author:
- Stefan Holzer
Definition at line 55 of file linemod.h.
Constructor & Destructor Documentation
Member Function Documentation
Returns the height of the energy maps.
Definition at line 77 of file linemod.h.
Returns the number of bins used for quantization (which is equal to the number of energy maps).
Definition at line 84 of file linemod.h.
Returns the width of the energy maps.
Definition at line 70 of file linemod.h.
Initializes the set of energy maps.
- Parameters:
-
[in] | width | the width of the energy maps. |
[in] | height | the height of the energy maps. |
[in] | nr_bins | the number of bins used for quantization. |
Definition at line 95 of file linemod.h.
unsigned char& pcl::EnergyMaps::operator() |
( |
const size_t |
bin_index, |
|
|
const size_t |
col_index, |
|
|
const size_t |
row_index |
|
) |
| [inline] |
Operator for accessing a specific element in the set of energy maps.
- Parameters:
-
[in] | bin_index | the quantization bin (states which of the energy maps to access). |
[in] | col_index | the column index within the specified energy map. |
[in] | row_index | the row index within the specified energy map. |
Definition at line 132 of file linemod.h.
unsigned char& pcl::EnergyMaps::operator() |
( |
const size_t |
bin_index, |
|
|
const size_t |
index |
|
) |
| [inline] |
Operator for accessing a specific element in the set of energy maps.
- Parameters:
-
[in] | bin_index | the quantization bin (states which of the energy maps to access). |
[in] | index | the element index within the specified energy map. |
Definition at line 142 of file linemod.h.
unsigned char* pcl::EnergyMaps::operator() |
( |
const size_t |
bin_index | ) |
[inline] |
Returns a pointer to the data of the specified energy map.
- Parameters:
-
[in] | bin_index | the index of the energy map to return (== the quantization bin). |
Definition at line 151 of file linemod.h.
const unsigned char& pcl::EnergyMaps::operator() |
( |
const size_t |
bin_index, |
|
|
const size_t |
col_index, |
|
|
const size_t |
row_index |
|
) |
| const [inline] |
Operator for accessing a specific element in the set of energy maps.
- Parameters:
-
[in] | bin_index | the quantization bin (states which of the energy maps to access). |
[in] | col_index | the column index within the specified energy map. |
[in] | row_index | the row index within the specified energy map. |
Definition at line 162 of file linemod.h.
const unsigned char& pcl::EnergyMaps::operator() |
( |
const size_t |
bin_index, |
|
|
const size_t |
index |
|
) |
| const [inline] |
Operator for accessing a specific element in the set of energy maps.
- Parameters:
-
[in] | bin_index | the quantization bin (states which of the energy maps to access). |
[in] | index | the element index within the specified energy map. |
Definition at line 172 of file linemod.h.
const unsigned char* pcl::EnergyMaps::operator() |
( |
const size_t |
bin_index | ) |
const [inline] |
Returns a pointer to the data of the specified energy map.
- Parameters:
-
[in] | bin_index | the index of the energy map to return (== the quantization bin). |
Definition at line 181 of file linemod.h.
Releases the internal data.
Definition at line 114 of file linemod.h.
Member Data Documentation
The height of the energy maps.
Definition at line 190 of file linemod.h.
Storage for the energy maps.
Definition at line 194 of file linemod.h.
The number of quantization bins (== the number of internally stored energy maps).
Definition at line 192 of file linemod.h.
The width of the energy maps.
Definition at line 188 of file linemod.h.
The documentation for this class was generated from the following file: