Evita  0.16
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
evField< T > Class Template Reference

#include <evField.h>

Inheritance diagram for evField< T >:
Inheritance graph
[legend]
Collaboration diagram for evField< T >:
Collaboration graph
[legend]

Public Member Functions

 evField (void)
 
virtual ~evField (void)
 
virtual const evString GetClassName (void) const
 
bool IsAllocated (void) const
 
bool IsSameSize (const evField &field) const
 
int Copy (const evField &field)
 
virtual int SetSize (const evAddress &size, const bool allocate=true)
 
virtual int Resize (const evAddress &size, const bool linear=0)
 
void SetNumScales (const unsigned int num_scales)
 
unsigned int GetNumDimensions (void) const
 
unsigned int GetSize (const unsigned int index) const
 
evAddress GetSize (void) const
 
unsigned int GetTotalSize (void) const
 
unsigned int GetNumScales (void) const
 
GetField (const unsigned int index) const
 
GetField (const evAddress &address) const
 
T & operator[] (const unsigned int index)
 
const T & operator[] (const unsigned int index) const
 
T & operator[] (const evAddress &address)
 
const T & operator[] (const evAddress &address) const
 
void PutField (const T &value)
 
void PutField (const T &value, const unsigned int index)
 
void PutField (const T &value, const evAddress &address)
 
void ZeroField (void)
 
int SubtractMean (T &mean)
 
int AddMean (const T mean)
 
double DistortionMSE (const evField &field) const
 
virtual int RasterScan (evField< T > &field, const evAddress &field_origin) const
 
virtual int InverseRasterScan (evField< T > &field, const evAddress &field_origin) const
 
virtual int InverseRasterScan (evField< T > &field, const evAddress &field_origin, const evAddress &full_size, const unsigned int max_num_scales) const
 
virtual int GetScaleInfo (evFieldScaleInfo &scale_info, const evAddress &field_origin) const
 
virtual int ExtractSubband (const unsigned int subband, evField< T > &field, const evAddress &field_origin) const
 
int PreserveBaseband (const evAddress &field_origin)
 
virtual void PrintSelf (const int tabbing) const
 
- Public Member Functions inherited from evDataObject
 evDataObject (void)
 
virtual ~evDataObject (void)
 
- Public Member Functions inherited from evObject
 evObject (void)
 
virtual ~evObject (void)
 
void Print (const int tabbing) const
 
void Print (void) const
 

Static Public Member Functions

static unsigned int GetNumSubbands (const unsigned int num_scales, const unsigned int num_dimensions)
 
static unsigned int NumSubbandsToNumScales (const unsigned int num_subbands, const unsigned int num_dimensions)
 
static unsigned int CalcScaleFromSubband (const unsigned int subband, const unsigned int num_scales, const unsigned int num_dimensions)
 
static int SubbandInfo (const unsigned int subband, const unsigned int num_scales, const evAddress &field_size, const evAddress &field_origin, evAddress &subband_size, evAddress &subband_origin, unsigned int &subband_scale)
 

Protected Member Functions

void Deallocate (void)
 
virtual void Initialize (void)
 
- Protected Member Functions inherited from evObject
 evObject (const evObject &object)
 

Protected Attributes

unsigned int NumDimensions
 
evAddress Size
 
std::vector< T > Field
 

Private Member Functions

 evField (const evField &field)
 
int NullSubband (const evAddress &subband_size) const
 

Private Attributes

unsigned int NumScales
 
unsigned int NumSubbands
 

Constructor & Destructor Documentation

template<class T>
evField< T >::evField ( void  )
inline
template<class T>
virtual evField< T >::~evField ( void  )
inlinevirtual
template<class T>
evField< T >::evField ( const evField< T > &  field)
private

Member Function Documentation

template<class T>
int evField< T >::AddMean ( const T  mean)
template<class T >
unsigned int evField< T >::CalcScaleFromSubband ( const unsigned int  subband,
const unsigned int  num_scales,
const unsigned int  num_dimensions 
)
static
template<class T >
int evField< T >::Copy ( const evField< T > &  field)
template<class T >
void evField< T >::Deallocate ( void  )
inlineprotected
template<class T >
double evField< T >::DistortionMSE ( const evField< T > &  field) const
template<class T>
int evField< T >::ExtractSubband ( const unsigned int  subband,
evField< T > &  field,
const evAddress field_origin 
) const
virtual
template<class T>
virtual const evString evField< T >::GetClassName ( void  ) const
inlinevirtual

Reimplemented from evDataObject.

Reimplemented in evSegmentationMap, evAlphaField, and evScalarField.

template<class T >
T evField< T >::GetField ( const unsigned int  index) const
inline
template<class T >
T evField< T >::GetField ( const evAddress address) const
inline
template<class T >
unsigned int evField< T >::GetNumDimensions ( void  ) const
inline
template<class T >
unsigned int evField< T >::GetNumScales ( void  ) const
inline
template<class T >
unsigned int evField< T >::GetNumSubbands ( const unsigned int  num_scales,
const unsigned int  num_dimensions 
)
static
template<class T >
int evField< T >::GetScaleInfo ( evFieldScaleInfo scale_info,
const evAddress field_origin 
) const
virtual
template<class T >
unsigned int evField< T >::GetSize ( const unsigned int  index) const
inline
template<class T >
evAddress evField< T >::GetSize ( void  ) const
inline
template<class T >
unsigned int evField< T >::GetTotalSize ( void  ) const
inline
template<class T >
void evField< T >::Initialize ( void  )
inlineprotectedvirtual

Reimplemented in evSegmentationMap.

template<class T>
int evField< T >::InverseRasterScan ( evField< T > &  field,
const evAddress field_origin 
) const
virtual
template<class T>
int evField< T >::InverseRasterScan ( evField< T > &  field,
const evAddress field_origin,
const evAddress full_size,
const unsigned int  max_num_scales 
) const
virtual
template<class T >
bool evField< T >::IsAllocated ( void  ) const
inline
template<class T >
bool evField< T >::IsSameSize ( const evField< T > &  field) const
inline
template<class T >
int evField< T >::NullSubband ( const evAddress subband_size) const
inlineprivate
template<class T >
unsigned int evField< T >::NumSubbandsToNumScales ( const unsigned int  num_subbands,
const unsigned int  num_dimensions 
)
static
template<class T >
T & evField< T >::operator[] ( const unsigned int  index)
inline
template<class T >
const T & evField< T >::operator[] ( const unsigned int  index) const
inline
template<class T >
T & evField< T >::operator[] ( const evAddress address)
inline
template<class T >
const T & evField< T >::operator[] ( const evAddress address) const
inline
template<class T >
int evField< T >::PreserveBaseband ( const evAddress field_origin)
template<class T >
void evField< T >::PrintSelf ( const int  tabbing) const
virtual

Reimplemented from evObject.

template<class T>
void evField< T >::PutField ( const T &  value)
inline
template<class T>
void evField< T >::PutField ( const T &  value,
const unsigned int  index 
)
inline
template<class T>
void evField< T >::PutField ( const T &  value,
const evAddress address 
)
inline
template<class T>
int evField< T >::RasterScan ( evField< T > &  field,
const evAddress field_origin 
) const
virtual
template<class T >
int evField< T >::Resize ( const evAddress size,
const bool  linear = 0 
)
virtual
template<class T >
void evField< T >::SetNumScales ( const unsigned int  num_scales)
inline
template<class T >
int evField< T >::SetSize ( const evAddress size,
const bool  allocate = true 
)
virtual
template<class T >
int evField< T >::SubbandInfo ( const unsigned int  subband,
const unsigned int  num_scales,
const evAddress field_size,
const evAddress field_origin,
evAddress subband_size,
evAddress subband_origin,
unsigned int &  subband_scale 
)
static
template<class T>
int evField< T >::SubtractMean ( T &  mean)
template<class T >
void evField< T >::ZeroField ( void  )
inline

Member Data Documentation

template<class T>
std::vector<T> evField< T >::Field
protected
template<class T>
unsigned int evField< T >::NumDimensions
protected
template<class T>
unsigned int evField< T >::NumScales
private
template<class T>
unsigned int evField< T >::NumSubbands
private
template<class T>
evAddress evField< T >::Size
protected

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