KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
DTLib::CImgVec< T > Class Template Reference

#include <img.h>

Public Member Functions

 CImgVec ()
 
 CImgVec (T **ppBuffers, const int nFrames, const int Width, const int Height, bool bDelete=false)
 
 CImgVec (CImg< T > &InImg, const int &nCols, const int &nRows, const int &Padding=0)
 
 ~CImgVec ()
 
int Width ()
 
int Height ()
 
int nFrames ()
 
int FrameSize ()
 
int TotalSize ()
 
CImg< T > * GetImg (const int &i)
 
T * pBuffer (const int &i)
 
vector< CImg< T > * >::iterator itImgs ()
 
void Empty ()
 
void Attach (T **ppBuffers, const int nFrames, const int Width, const int Height, bool bDelete=false)
 
bool Allocate (const int nFrames, const int Width, const int Height, bool bZero=false)
 
void FreeMemory ()
 
void CopyROI (CImg< T > &Img)
 
void ChangeRange (const T &NewMin, const T &NewMax)
 
void FixThetaRanges (const bool &bHalfPhase=true)
 
bool IsEmpty ()
 
template<>
void FixThetaRanges (const bool &bHalfPhase)
 

Protected Attributes

int m_Width
 
int m_Height
 
int m_nFrames
 
int m_FrameSize
 
int m_TotalSize
 
vector< CImg< T > * > m_vecImgs
 
int m_ROIStartX
 
int m_ROIStartY
 
int m_ROIEndX
 
int m_ROIEndY
 
int m_ROIWidth
 
int m_ROIHeight
 
int m_ROISkipCols
 
int m_ROIOffset
 
int m_ROISize
 

Constructor & Destructor Documentation

template<class T >
DTLib::CImgVec< T >::CImgVec ( )
template<class T>
DTLib::CImgVec< T >::CImgVec ( T **  ppBuffers,
const int  nFrames,
const int  Width,
const int  Height,
bool  bDelete = false 
)
template<class T>
DTLib::CImgVec< T >::CImgVec ( CImg< T > &  InImg,
const int &  nCols,
const int &  nRows,
const int &  Padding = 0 
)
template<class T >
DTLib::CImgVec< T >::~CImgVec ( )

Member Function Documentation

template<class T >
bool DTLib::CImgVec< T >::Allocate ( const int  nFrames,
const int  Width,
const int  Height,
bool  bZero = false 
)
template<class T>
void DTLib::CImgVec< T >::Attach ( T **  ppBuffers,
const int  nFrames,
const int  Width,
const int  Height,
bool  bDelete = false 
)
template<class T>
void DTLib::CImgVec< T >::ChangeRange ( const T &  NewMin,
const T &  NewMax 
)
inline
template<class T>
void DTLib::CImgVec< T >::CopyROI ( CImg< T > &  Img)
template<class T >
void DTLib::CImgVec< T >::Empty ( )
template<class T>
void DTLib::CImgVec< T >::FixThetaRanges ( const bool &  bHalfPhase = true)
template<>
void DTLib::CImgVec< float >::FixThetaRanges ( const bool &  bHalfPhase)
inline
template<class T>
int DTLib::CImgVec< T >::FrameSize ( )
inline
template<class T >
void DTLib::CImgVec< T >::FreeMemory ( )
template<class T>
CImg<T>* DTLib::CImgVec< T >::GetImg ( const int &  i)
inline
template<class T>
int DTLib::CImgVec< T >::Height ( )
inline
template<class T >
bool DTLib::CImgVec< T >::IsEmpty ( )
template<class T>
vector<CImg<T>*>::iterator DTLib::CImgVec< T >::itImgs ( )
inline
template<class T>
int DTLib::CImgVec< T >::nFrames ( )
inline
template<class T>
T* DTLib::CImgVec< T >::pBuffer ( const int &  i)
inline
template<class T>
int DTLib::CImgVec< T >::TotalSize ( )
inline
template<class T>
int DTLib::CImgVec< T >::Width ( )
inline

Member Data Documentation

template<class T>
int DTLib::CImgVec< T >::m_FrameSize
protected
template<class T>
int DTLib::CImgVec< T >::m_Height
protected
template<class T>
int DTLib::CImgVec< T >::m_nFrames
protected
template<class T>
int DTLib::CImgVec< T >::m_ROIEndX
protected
template<class T>
int DTLib::CImgVec< T >::m_ROIEndY
protected
template<class T>
int DTLib::CImgVec< T >::m_ROIHeight
protected
template<class T>
int DTLib::CImgVec< T >::m_ROIOffset
protected
template<class T>
int DTLib::CImgVec< T >::m_ROISize
protected
template<class T>
int DTLib::CImgVec< T >::m_ROISkipCols
protected
template<class T>
int DTLib::CImgVec< T >::m_ROIStartX
protected
template<class T>
int DTLib::CImgVec< T >::m_ROIStartY
protected
template<class T>
int DTLib::CImgVec< T >::m_ROIWidth
protected
template<class T>
int DTLib::CImgVec< T >::m_TotalSize
protected
template<class T>
vector<CImg<T>*> DTLib::CImgVec< T >::m_vecImgs
protected
template<class T>
int DTLib::CImgVec< T >::m_Width
protected

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