Point Cloud Library (PCL) 1.3.1
Public Types | Public Member Functions | Static Public Attributes
pcl::IntegralImage2Dim< DataType, Dimension > Class Template Reference

Determines an integral image representation for a given organized data array. More...

#include <pcl/features/integral_image2D.h>

List of all members.

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

Detailed Description

template<class DataType, unsigned Dimension>
class pcl::IntegralImage2Dim< DataType, Dimension >

Determines an integral image representation for a given organized data array.

Author:
Suat Gedikli

Definition at line 106 of file integral_image2D.h.


Member Typedef Documentation

template<class DataType, unsigned Dimension>
typedef Eigen::Matrix<typename IntegralImageTypeTraits<DataType>::IntegralType, Dimension, 1> pcl::IntegralImage2Dim< DataType, Dimension >::ElementType

Definition at line 110 of file integral_image2D.h.

template<class DataType, unsigned Dimension>
typedef Eigen::Matrix<typename IntegralImageTypeTraits<DataType>::IntegralType, second_order_size, 1> pcl::IntegralImage2Dim< DataType, Dimension >::SecondOrderType

Definition at line 111 of file integral_image2D.h.


Constructor & Destructor Documentation

template<class DataType, unsigned Dimension>
pcl::IntegralImage2Dim< DataType, Dimension >::IntegralImage2Dim ( bool  compute_second_order_integral_images) [inline]

Constructor for an Integral Image.

Parameters:
[in]compute_second_order_integral_imagesset to true if we want to compute a second order image

Definition at line 116 of file integral_image2D.h.

template<class DataType, unsigned Dimension>
virtual pcl::IntegralImage2Dim< DataType, Dimension >::~IntegralImage2Dim ( ) [inline, virtual]

Destructor.

Definition at line 123 of file integral_image2D.h.


Member Function Documentation

template<typename DataType , unsigned Dimension>
pcl::IntegralImage2Dim< DataType, Dimension >::ElementType pcl::IntegralImage2Dim< DataType, Dimension >::getFirstOrderSum ( unsigned  start_x,
unsigned  start_y,
unsigned  width,
unsigned  height 
) const [inline]

Compute the first order sum.

Parameters:
[in]start_x
[in]start_y
[in]width
[in]height

Definition at line 61 of file integral_image2D.hpp.

template<typename DataType , unsigned Dimension>
pcl::IntegralImage2Dim< DataType, Dimension >::SecondOrderType pcl::IntegralImage2Dim< DataType, Dimension >::getSecondOrderSum ( unsigned  start_x,
unsigned  start_y,
unsigned  width,
unsigned  height 
) const [inline]

Compute the second order sum.

Parameters:
[in]start_x
[in]start_y
[in]width
[in]height

Definition at line 75 of file integral_image2D.hpp.

template<typename DataType, unsigned Dimension>
void pcl::IntegralImage2Dim< DataType, Dimension >::setInput ( const DataType *  data,
unsigned  width,
unsigned  height,
unsigned  element_stride,
unsigned  row_stride 
)

Set the input data to compute the integral image for.

Parameters:
[in]datathe input data
[in]widththe width of the data
[in]heightthe height of the data
[in]element_stridethe element stride of the data
[in]row_stridethe row stride of the data

Definition at line 46 of file integral_image2D.hpp.


Member Data Documentation

template<class DataType, unsigned Dimension>
const unsigned pcl::IntegralImage2Dim< DataType, Dimension >::second_order_size = (Dimension * (Dimension + 1)) >> 1 [static]

Definition at line 109 of file integral_image2D.h.


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