Public Member Functions

bodySegDTWT2D Class Reference

#include <bodySegDTWT2D.h>

List of all members.

Public Member Functions

void operator() (const tbb::blocked_range2d_segdtwt_segidtwt_auto< size_t > &r)
 bodySegDTWT2D (float *i_data, int i_widthStep, float *subbands[], int widthSteps[], Size maxSize, separableWavelet *w, int level)
 bodySegDTWT2D (bodySegDTWT2D &s, tbb::split)
 bodySegDTWT2D (const bodySegDTWT2D &s)
 ~bodySegDTWT2D ()
void join (const bodySegDTWT2D &s)

Detailed Description

The class bodySegDTWT2D is function class defining loop body of parallel_reduce for forward transform


Constructor & Destructor Documentation

bodySegDTWT2D::bodySegDTWT2D ( float *  i_data,
int  i_widthStep,
float *  subbands[],
int  widthSteps[],
Size  maxSize,
separableWavelet w,
int  level 
) [inline]

Constructor

Parameters:
[in] *i_data - poiter to the input image
[in] i_widthStep - the number of bytes between two conscutive rows
[in,out] *subbands[] - array holding ponters to the individual subbands. Order: subbands[0]=HL1,[1]=HH1,[2]=LH1,[3]=HL2,[4]=HH2,[5]=LH2 .... [last]=LL.
[in] widthSteps[] - array holding the distance between two consecutive rows in bytes in individual subbands
[in] levels - the depth of decomposition
[in] size - dimensions of the input image
[in] *w - object defining wavelet filters
See also:
separableWavelet
bodySegDTWT2D::bodySegDTWT2D ( bodySegDTWT2D s,
tbb::split   
) [inline]

Splitting construktor. For the sake of the TBB library.

Parameters:
[in] &s - reference to the original object
[in] tbb::split - constant paramer, to differ splitting constructor from the copy constructor
bodySegDTWT2D::bodySegDTWT2D ( const bodySegDTWT2D s  )  [inline]

Copy construktor.

Parameters:
[in] &s - reference to the original object
bodySegDTWT2D::~bodySegDTWT2D (  ) 

Destructor


Member Function Documentation

void bodySegDTWT2D::join ( const bodySegDTWT2D s  )  [inline]

Function demanded by the parallel_reduce loop

void bodySegDTWT2D::operator() ( const tbb::blocked_range2d_segdtwt_segidtwt_auto< size_t > &  r  ) 

The method is definines overload of the round brackets oparator and server as a body of the parallel loop parallel_reduce

Parameters:
[in] &r - the reference to the object of the class blocked_range2d_segdtwt_segidtwt_auto<size_t> denoting the actual part of the iteration space

The documentation for this class was generated from the following files: