kmeans::ImageAttr< T > Class Template Reference

List of all members.

Detailed Description

template<class T>
class kmeans::ImageAttr< T >

Use for storing attributes of each pixel in an image.

Author:
Lakshman
Version:
Id
ImageAttr.h,v 1.3 2009/06/02 20:17:48 lakshman Exp


Public Member Functions

int dim_x () const
int dim_y () const
const T & data (int x, int y) const
T & data (int x, int y)
 ImageAttr (size_t numRows, size_t numCols)
 ImageAttr (size_t numRows, size_t numCols, const T &initVal)


Constructor & Destructor Documentation

template<class T>
kmeans::ImageAttr< T >::ImageAttr ( size_t  numRows,
size_t  numCols 
) [inline]

template<class T>
kmeans::ImageAttr< T >::ImageAttr ( size_t  numRows,
size_t  numCols,
const T &  initVal 
) [inline]


Member Function Documentation

template<class T>
T& kmeans::ImageAttr< T >::data ( int  x,
int  y 
) [inline]

template<class T>
const T& kmeans::ImageAttr< T >::data ( int  x,
int  y 
) const [inline]

template<class T>
int kmeans::ImageAttr< T >::dim_x (  )  const [inline]

template<class T>
int kmeans::ImageAttr< T >::dim_y (  )  const [inline]


Generated on Fri May 4 13:40:22 2012 for WDSS-IIw2algs by  doxygen 1.4.7