Point Cloud Library (PCL) 1.3.1
Public Member Functions
pcl::IntegralImage2D< DataType, IIDataType > Class Template Reference

Generic implementation for creating 2D integral images (including second order integral images). More...

#include <pcl/features/integral_image_2d.h>

List of all members.

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.

Detailed Description

template<class DataType, class IIDataType>
class pcl::IntegralImage2D< DataType, IIDataType >

Generic implementation for creating 2D integral images (including second order integral images).

Author:
Stefan Holzer

Definition at line 51 of file integral_image_2d.h.


Constructor & Destructor Documentation

template<class DataType, class IIDataType >
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.

Parameters:
datathe dense 2d input data array.
widththe width of the 2d input data array.
heightthe height of the 2d input data array.
dimensionsnumber of dimensions of each element.
compute_second_order_integral_imageswhether to compute second order integral images.
element_stridenumber of DataType entries per element (equal or bigger than dimensions).
row_stridenumber 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.

template<class DataType , class IIDataType >
pcl::IntegralImage2D< DataType, IIDataType >::~IntegralImage2D ( ) [virtual]

Destructor.

Definition at line 87 of file integral_image_2d.hpp.


Member Function Documentation

template<class DataType , class IIDataType >
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.

template<class DataType , class IIDataType >
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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines