Optimized Belief Propagation (CPU and GPU)
bp_single_thread_imp::image< T > Class Template Reference

#include <image.h>

Public Member Functions

 image (int width, int height, bool init=true)
 
 ~image ()
 
void init (const T &val)
 
image< T > * copy () const
 
int width () const
 
int height () const
 

Public Attributes

T * data
 
T ** access
 

Detailed Description

template<class T>
class bp_single_thread_imp::image< T >

Definition at line 33 of file image.h.

Constructor & Destructor Documentation

◆ image()

template<class T >
bp_single_thread_imp::image< T >::image ( int  width,
int  height,
bool  init = true 
)

Definition at line 70 of file image.h.

◆ ~image()

template<class T >
bp_single_thread_imp::image< T >::~image

Definition at line 85 of file image.h.

Member Function Documentation

◆ copy()

template<class T >
image< T > * bp_single_thread_imp::image< T >::copy

Definition at line 100 of file image.h.

◆ height()

template<class T >
int bp_single_thread_imp::image< T >::height ( ) const
inline

Definition at line 51 of file image.h.

Here is the caller graph for this function:

◆ init()

template<class T >
void bp_single_thread_imp::image< T >::init ( const T &  val)

Definition at line 91 of file image.h.

◆ width()

template<class T >
int bp_single_thread_imp::image< T >::width ( ) const
inline

Definition at line 48 of file image.h.

Here is the caller graph for this function:

Member Data Documentation

◆ access

template<class T >
T** bp_single_thread_imp::image< T >::access

Definition at line 57 of file image.h.

◆ data

template<class T >
T* bp_single_thread_imp::image< T >::data

Definition at line 54 of file image.h.


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