partial template specialization for integral images with just one channel.
More...
#include <pcl/features/integral_image2D.h>
|
| IntegralImage2D (bool compute_second_order_integral_images) |
| Constructor for an Integral Image. More...
|
|
virtual | ~IntegralImage2D ()=default |
| Destructor. More...
|
|
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. More...
|
|
ElementType | getFirstOrderSum (unsigned start_x, unsigned start_y, unsigned width, unsigned height) const |
| Compute the first order sum within a given rectangle. More...
|
|
ElementType | getFirstOrderSumSE (unsigned start_x, unsigned start_y, unsigned end_x, unsigned end_y) const |
| Compute the first order sum within a given rectangle. More...
|
|
SecondOrderType | getSecondOrderSum (unsigned start_x, unsigned start_y, unsigned width, unsigned height) const |
| Compute the second order sum within a given rectangle. More...
|
|
SecondOrderType | getSecondOrderSumSE (unsigned start_x, unsigned start_y, unsigned end_x, unsigned end_y) const |
| Compute the second order sum within a given rectangle. More...
|
|
unsigned | getFiniteElementsCount (unsigned start_x, unsigned start_y, unsigned width, unsigned height) const |
| Compute the number of finite elements within a given rectangle. More...
|
|
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. More...
|
|
template<class DataType>
class pcl::IntegralImage2D< DataType, 1 >
partial template specialization for integral images with just one channel.
Definition at line 232 of file integral_image2D.h.
◆ ConstPtr
template<class DataType >
◆ ElementType
template<class DataType >
◆ Ptr
template<class DataType >
◆ SecondOrderType
template<class DataType >
◆ IntegralImage2D()
template<class DataType >
Constructor for an Integral Image.
- Parameters
-
[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.
◆ ~IntegralImage2D()
template<class DataType >
◆ getFiniteElementsCount()
template<typename DataType >
unsigned pcl::IntegralImage2D< DataType, 1 >::getFiniteElementsCount |
( |
unsigned |
start_x, |
|
|
unsigned |
start_y, |
|
|
unsigned |
width, |
|
|
unsigned |
height |
|
) |
| const |
|
inline |
Compute the number of finite elements within a given rectangle.
- Parameters
-
[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 271 of file integral_image2D.hpp.
◆ getFiniteElementsCountSE()
template<typename DataType >
unsigned pcl::IntegralImage2D< DataType, 1 >::getFiniteElementsCountSE |
( |
unsigned |
start_x, |
|
|
unsigned |
start_y, |
|
|
unsigned |
end_x, |
|
|
unsigned |
end_y |
|
) |
| const |
|
inline |
Compute the number of finite elements within a given rectangle.
- Parameters
-
[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 313 of file integral_image2D.hpp.
◆ getFirstOrderSum()
template<typename DataType >
Compute the first order sum within a given rectangle.
- Parameters
-
[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 243 of file integral_image2D.hpp.
◆ getFirstOrderSumSE()
template<typename DataType >
Compute the first order sum within a given rectangle.
- Parameters
-
[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 285 of file integral_image2D.hpp.
◆ getSecondOrderSum()
template<typename DataType >
Compute the second order sum within a given rectangle.
- Parameters
-
[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 257 of file integral_image2D.hpp.
◆ getSecondOrderSumSE()
template<typename DataType >
Compute the second order sum within a given rectangle.
- Parameters
-
[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 299 of file integral_image2D.hpp.
◆ setInput()
template<typename DataType >
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.
- Parameters
-
[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 227 of file integral_image2D.hpp.
◆ second_order_size
template<class DataType >
The documentation for this class was generated from the following files: