|
Point Cloud Library (PCL) 1.3.1
|
Generic implementation for creating 2D integral images (including second order integral images). More...
#include <pcl/features/integral_image_2d.h>
Public Member Functions | |
| IntegralImage2D (DataType *data, const int width, const int height, const int dimensions, const bool compute_second_order_integral_images, const int element_stride, const int row_stride) | |
| Constructor. | |
| virtual | ~IntegralImage2D () |
| Destructor. | |
| IIDataType | getSum (const int start_x, const int start_y, const int width, const int height, const int dimension_index) |
| Computes the sum of the "dimension_index"-th dimension of the elements within the specified area. | |
| IIDataType | getSum (const int start_x, const int start_y, const int width, const int height, const int dimension_index_1, const int dimension_index_2) |
| Computes the sum of the "dimension_index1"-th dimension of the elements times the "dimension_index2"-th dimension of the elements within the specified area. | |
Generic implementation for creating 2D integral images (including second order integral images).
Definition at line 51 of file integral_image_2d.h.
| pcl::IntegralImage2D< DataType, IIDataType >::IntegralImage2D | ( | DataType * | data, |
| const int | width, | ||
| const int | height, | ||
| const int | dimensions, | ||
| const bool | compute_second_order_integral_images, | ||
| const int | element_stride, | ||
| const int | row_stride | ||
| ) |
Constructor.
Internally creates the integral images.
| data | the dense 2d input data array. |
| width | the width of the 2d input data array. |
| height | the height of the 2d input data array. |
| dimensions | number of dimensions of each element. |
| compute_second_order_integral_images | whether to compute second order integral images. |
| element_stride | number of DataType entries per element (equal or bigger than dimensions). |
| row_stride | number of DataType entries per row (equal or bigger than element_stride * number of elements per row). |
Definition at line 41 of file integral_image_2d.hpp.
| pcl::IntegralImage2D< DataType, IIDataType >::~IntegralImage2D | ( | ) | [virtual] |
Destructor.
Definition at line 87 of file integral_image_2d.hpp.
| IIDataType pcl::IntegralImage2D< DataType, IIDataType >::getSum | ( | const int | start_x, |
| const int | start_y, | ||
| const int | width, | ||
| const int | height, | ||
| const int | dimension_index | ||
| ) |
Computes the sum of the "dimension_index"-th dimension of the elements within the specified area.
Definition at line 105 of file integral_image_2d.hpp.
| IIDataType pcl::IntegralImage2D< DataType, IIDataType >::getSum | ( | const int | start_x, |
| const int | start_y, | ||
| const int | width, | ||
| const int | height, | ||
| const int | dimension_index_1, | ||
| const int | dimension_index_2 | ||
| ) |
Computes the sum of the "dimension_index1"-th dimension of the elements times the "dimension_index2"-th dimension of the elements within the specified area.
Definition at line 125 of file integral_image_2d.hpp.
1.7.4