Point Cloud Library (PCL)  1.3.1
Public Types | Public Member Functions | Static Public Attributes
pcl::IntegralImage2Dim Class 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

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

Author:
Suat Gedikli

Member Typedef Documentation

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.


Constructor & Destructor Documentation

pcl::IntegralImage2Dim::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.

virtual pcl::IntegralImage2Dim::~IntegralImage2Dim ( ) [inline, virtual]

Destructor.

Definition at line 123 of file integral_image2D.h.


Member Function Documentation

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.

Parameters:
[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.

Parameters:
[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.

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

const unsigned pcl::IntegralImage2Dim::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