|
Point Cloud Library (PCL) 1.15.0
|
partial template specialization for integral images with just one channel. More...
#include <pcl/features/integral_image2D.h>
Inheritance diagram for pcl::IntegralImage2D< DataType, 1 >:
Collaboration diagram for pcl::IntegralImage2D< DataType, 1 >:Public Types | |
| using | Ptr = shared_ptr<IntegralImage2D<DataType, 1>> |
| using | ConstPtr = shared_ptr<const IntegralImage2D<DataType, 1>> |
| using | ElementType = typename IntegralImageTypeTraits<DataType>::IntegralType |
| using | SecondOrderType = typename IntegralImageTypeTraits<DataType>::IntegralType |
| using | Ptr |
| using | ConstPtr |
| using | ElementType |
| using | SecondOrderType |
Public Member Functions | |
| IntegralImage2D (bool compute_second_order_integral_images) | |
| Constructor for an Integral Image. | |
| virtual | ~IntegralImage2D ()=default |
| 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 within a given rectangle. | |
| ElementType | getFirstOrderSumSE (unsigned start_x, unsigned start_y, unsigned end_x, unsigned end_y) const |
| Compute the first order sum within a given rectangle. | |
| SecondOrderType | getSecondOrderSum (unsigned start_x, unsigned start_y, unsigned width, unsigned height) const |
| Compute the second order sum within a given rectangle. | |
| SecondOrderType | getSecondOrderSumSE (unsigned start_x, unsigned start_y, unsigned end_x, unsigned end_y) const |
| Compute the second order sum within a given rectangle. | |
| unsigned | getFiniteElementsCount (unsigned start_x, unsigned start_y, unsigned width, unsigned height) const |
| Compute the number of finite elements within a given rectangle. | |
| unsigned | getFiniteElementsCountSE (unsigned start_x, unsigned start_y, unsigned end_x, unsigned end_y) const |
| Compute the number of finite elements within a given rectangle. | |
| IntegralImage2D (bool compute_second_order_integral_images) | |
| Constructor for an Integral Image. | |
| virtual | ~IntegralImage2D ()=default |
| Destructor. | |
| void | setSecondOrderComputation (bool compute_second_order_integral_images) |
| sets the computation for second order integral images on or off. | |
| 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 within a given rectangle. | |
| ElementType | getFirstOrderSumSE (unsigned start_x, unsigned start_y, unsigned end_x, unsigned end_y) const |
| Compute the first order sum within a given rectangle. | |
| SecondOrderType | getSecondOrderSum (unsigned start_x, unsigned start_y, unsigned width, unsigned height) const |
| Compute the second order sum within a given rectangle. | |
| SecondOrderType | getSecondOrderSumSE (unsigned start_x, unsigned start_y, unsigned end_x, unsigned end_y) const |
| Compute the second order sum within a given rectangle. | |
| unsigned | getFiniteElementsCount (unsigned start_x, unsigned start_y, unsigned width, unsigned height) const |
| Compute the number of finite elements within a given rectangle. | |
| unsigned | getFiniteElementsCountSE (unsigned start_x, unsigned start_y, unsigned end_x, unsigned end_y) const |
| Compute the number of finite elements within a given rectangle. | |
Static Public Attributes | |
| static const unsigned | second_order_size = 1 |
| static const unsigned | second_order_size |
partial template specialization for integral images with just one channel.
Definition at line 232 of file integral_image2D.h.
| using pcl::IntegralImage2D< DataType, Dimension >::ConstPtr |
Definition at line 113 of file integral_image2D.h.
| using pcl::IntegralImage2D< DataType, 1 >::ConstPtr = shared_ptr<const IntegralImage2D<DataType, 1>> |
Definition at line 236 of file integral_image2D.h.
| using pcl::IntegralImage2D< DataType, Dimension >::ElementType |
Definition at line 115 of file integral_image2D.h.
| using pcl::IntegralImage2D< DataType, 1 >::ElementType = typename IntegralImageTypeTraits<DataType>::IntegralType |
Definition at line 239 of file integral_image2D.h.
| using pcl::IntegralImage2D< DataType, Dimension >::Ptr |
Definition at line 112 of file integral_image2D.h.
| using pcl::IntegralImage2D< DataType, 1 >::Ptr = shared_ptr<IntegralImage2D<DataType, 1>> |
Definition at line 235 of file integral_image2D.h.
| using pcl::IntegralImage2D< DataType, Dimension >::SecondOrderType |
Definition at line 116 of file integral_image2D.h.
| using pcl::IntegralImage2D< DataType, 1 >::SecondOrderType = typename IntegralImageTypeTraits<DataType>::IntegralType |
Definition at line 240 of file integral_image2D.h.
|
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 245 of file integral_image2D.h.
|
virtualdefault |
Destructor.
|
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 121 of file integral_image2D.h.
|
virtualdefault |
Destructor.
|
inline |
Compute the number of finite elements within a given rectangle.
| [in] | start_x | x position of rectangle |
| [in] | start_y | y position of rectangle |
| [in] | width | width of rectangle |
| [in] | height | height of rectangle |
Definition at line 193 of file integral_image2D.hpp.
|
inline |
Compute the number of finite elements within a given rectangle.
| [in] | start_x | x position of rectangle |
| [in] | start_y | y position of rectangle |
| [in] | width | width of rectangle |
| [in] | height | height of rectangle |
Definition at line 273 of file integral_image2D.hpp.
|
inline |
Compute the number of finite elements within a given rectangle.
| [in] | start_x | x position of the start of the rectangle |
| [in] | start_y | x position of the start of the rectangle |
| [in] | end_x | x position of the end of the rectangle |
| [in] | end_y | x position of the end of the rectangle |
Definition at line 202 of file integral_image2D.hpp.
|
inline |
Compute the number of finite elements within a given rectangle.
| [in] | start_x | x position of the start of the rectangle |
| [in] | start_y | x position of the start of the rectangle |
| [in] | end_x | x position of the end of the rectangle |
| [in] | end_y | x position of the end of the rectangle |
Definition at line 315 of file integral_image2D.hpp.
|
inline |
Compute the first order sum within a given rectangle.
| [in] | start_x | x position of rectangle |
| [in] | start_y | y position of rectangle |
| [in] | width | width of rectangle |
| [in] | height | height of rectangle |
Definition at line 157 of file integral_image2D.hpp.
|
inline |
Compute the first order sum within a given rectangle.
| [in] | start_x | x position of rectangle |
| [in] | start_y | y position of rectangle |
| [in] | width | width of rectangle |
| [in] | height | height of rectangle |
Definition at line 245 of file integral_image2D.hpp.
|
inline |
Compute the first order sum within a given rectangle.
| [in] | start_x | x position of the start of the rectangle |
| [in] | start_y | x position of the start of the rectangle |
| [in] | end_x | x position of the end of the rectangle |
| [in] | end_y | x position of the end of the rectangle |
Definition at line 166 of file integral_image2D.hpp.
|
inline |
Compute the first order sum within a given rectangle.
| [in] | start_x | x position of the start of the rectangle |
| [in] | start_y | x position of the start of the rectangle |
| [in] | end_x | x position of the end of the rectangle |
| [in] | end_y | x position of the end of the rectangle |
Definition at line 287 of file integral_image2D.hpp.
|
inline |
Compute the second order sum within a given rectangle.
| [in] | start_x | x position of rectangle |
| [in] | start_y | y position of rectangle |
| [in] | width | width of rectangle |
| [in] | height | height of rectangle |
Definition at line 175 of file integral_image2D.hpp.
|
inline |
Compute the second order sum within a given rectangle.
| [in] | start_x | x position of rectangle |
| [in] | start_y | y position of rectangle |
| [in] | width | width of rectangle |
| [in] | height | height of rectangle |
Definition at line 259 of file integral_image2D.hpp.
|
inline |
Compute the second order sum within a given rectangle.
| [in] | start_x | x position of the start of the rectangle |
| [in] | start_y | x position of the start of the rectangle |
| [in] | end_x | x position of the end of the rectangle |
| [in] | end_y | x position of the end of the rectangle |
Definition at line 184 of file integral_image2D.hpp.
|
inline |
Compute the second order sum within a given rectangle.
| [in] | start_x | x position of the start of the rectangle |
| [in] | start_y | x position of the start of the rectangle |
| [in] | end_x | x position of the end of the rectangle |
| [in] | end_y | x position of the end of the rectangle |
Definition at line 301 of file integral_image2D.hpp.
| void pcl::IntegralImage2D< 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.
| [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 147 of file integral_image2D.hpp.
| void pcl::IntegralImage2D< DataType, 1 >::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 228 of file integral_image2D.hpp.
| void pcl::IntegralImage2D< DataType, Dimension >::setSecondOrderComputation | ( | bool | compute_second_order_integral_images | ) |
sets the computation for second order integral images on or off.
| compute_second_order_integral_images |
Definition at line 137 of file integral_image2D.hpp.
|
static |
Definition at line 114 of file integral_image2D.h.
|
static |
Definition at line 238 of file integral_image2D.h.