Point Cloud Library (PCL)
1.3.1
|
Determines an integral image representation for a given organized data array. More...
#include <pcl/features/integral_image2D.h>
Public Types | |
typedef Eigen::Matrix < typename IntegralImageTypeTraits < DataType >::IntegralType, Dimension, 1 > | ElementType |
typedef Eigen::Matrix < typename IntegralImageTypeTraits < DataType >::IntegralType, second_order_size, 1 > | SecondOrderType |
Public Member Functions | |
IntegralImage2Dim (bool compute_second_order_integral_images) | |
Constructor for an Integral Image. | |
virtual | ~IntegralImage2Dim () |
Destructor. | |
void | setInput (const DataType *data, unsigned width, unsigned height, unsigned element_stride, unsigned row_stride) |
Set the input data to compute the integral image for. | |
ElementType | getFirstOrderSum (unsigned start_x, unsigned start_y, unsigned width, unsigned height) const |
Compute the first order sum. | |
SecondOrderType | getSecondOrderSum (unsigned start_x, unsigned start_y, unsigned width, unsigned height) const |
Compute the second order sum. | |
Static Public Attributes | |
static const unsigned | second_order_size = (Dimension * (Dimension + 1)) >> 1 |
Determines an integral image representation for a given organized data array.
typedef Eigen::Matrix<typename IntegralImageTypeTraits<DataType>::IntegralType, Dimension, 1> pcl::IntegralImage2Dim::ElementType |
Definition at line 110 of file integral_image2D.h.
typedef Eigen::Matrix<typename IntegralImageTypeTraits<DataType>::IntegralType, second_order_size, 1> pcl::IntegralImage2Dim::SecondOrderType |
Definition at line 111 of file integral_image2D.h.
pcl::IntegralImage2Dim::IntegralImage2Dim | ( | bool | compute_second_order_integral_images | ) | [inline] |
Constructor for an Integral Image.
[in] | compute_second_order_integral_images | set to true if we want to compute a second order image |
Definition at line 116 of file integral_image2D.h.
virtual pcl::IntegralImage2Dim::~IntegralImage2Dim | ( | ) | [inline, virtual] |
Destructor.
Definition at line 123 of file integral_image2D.h.
pcl::IntegralImage2Dim< DataType, Dimension >::ElementType pcl::IntegralImage2Dim::getFirstOrderSum | ( | unsigned | start_x, |
unsigned | start_y, | ||
unsigned | width, | ||
unsigned | height | ||
) | const [inline] |
Compute the first order sum.
[in] | start_x | |
[in] | start_y | |
[in] | width | |
[in] | height |
Definition at line 61 of file integral_image2D.hpp.
pcl::IntegralImage2Dim< DataType, Dimension >::SecondOrderType pcl::IntegralImage2Dim::getSecondOrderSum | ( | unsigned | start_x, |
unsigned | start_y, | ||
unsigned | width, | ||
unsigned | height | ||
) | const [inline] |
Compute the second order sum.
[in] | start_x | |
[in] | start_y | |
[in] | width | |
[in] | height |
Definition at line 75 of file integral_image2D.hpp.
void pcl::IntegralImage2Dim::setInput | ( | const DataType * | data, |
unsigned | width, | ||
unsigned | height, | ||
unsigned | element_stride, | ||
unsigned | row_stride | ||
) |
Set the input data to compute the integral image for.
[in] | data | the input data |
[in] | width | the width of the data |
[in] | height | the height of the data |
[in] | element_stride | the element stride of the data |
[in] | row_stride | the row stride of the data |
Definition at line 46 of file integral_image2D.hpp.
const unsigned pcl::IntegralImage2Dim::second_order_size = (Dimension * (Dimension + 1)) >> 1 [static] |
Definition at line 109 of file integral_image2D.h.