ImFusion SDK 4.3
SummedAreaTable Class Reference

#include <ImFusion/Base/SummedAreaTable.h>

Class for efficient box average using a summed area table. More...

+ Inheritance diagram for SummedAreaTable:

Detailed Description

Class for efficient box average using a summed area table.

Public Member Functions

 SummedAreaTable (const SharedImage &im)
 Constructor from a shared image.
 
 ~SummedAreaTable ()
 Destructor.
 
float getSum (int *box, int channel=0)
 Compute sum within the box defined as (x_min, y_min, z_min, x_max, y_max, z_max)
 
TypedImage< float > * getSummedAreaTable ()
 Returns integral image and yields ownership.
 

Protected Member Functions

void computeSummedAreaTable ()
 
template<typename T>
void computeSummedAreaTable (const TypedImage< T > *image)
 
float summedAreaTable2D (int x, int y, int c=0)
 
float summedAreaTable3D (int x, int y, int z=0, int c=0)
 

Protected Attributes

const SharedImagem_image
 
std::unique_ptr< TypedImage< float > > m_summedAreaTable
 

The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close