FovealTransform Struct Reference

Inheritance diagram for FovealTransform:
Inheritance graph
[legend]
Collaboration diagram for FovealTransform:
Collaboration graph
[legend]

List of all members.

Public Types

enum  SCALE_TYPE { CROP, FULL, NONE }

Public Member Functions

 FovealTransform ()
 constructor
void setup (const uint image_width, const uint image_height, const uint rings, const uint wedges, const float &alpha, const float &beta, const float &gain, const float &exponent, const float &offset, const float &ppdx, const float &ppdy, const SCALE_TYPE &scale_type=FovealTransform::FULL, const float &s=0.0F, const float &fovea_cuttoff=2.0F)
 set transform parameters and compute lookup table.
const uint getFoveaSize () const

Static Public Member Functions

static SCALE_TYPE toScaleType (const std::string &scale_type_string)
 convert a string to scale type

Detailed Description

Definition at line 149 of file SpaceVariantTransforms.H.


Constructor & Destructor Documentation

FovealTransform::FovealTransform (  ) 

constructor

Definition at line 209 of file SpaceVariantTransforms.C.


Member Function Documentation

void FovealTransform::setup ( const uint  image_width,
const uint  image_height,
const uint  rings,
const uint  wedges,
const float &  alpha,
const float &  beta,
const float &  gain,
const float &  exponent,
const float &  offset,
const float &  ppdx,
const float &  ppdy,
const SCALE_TYPE &  scale_type = FovealTransform::FULL,
const float &  s = 0.0F,
const float &  fovea_cuttoff = 2.0F 
)

set transform parameters and compute lookup table.

Definition at line 225 of file SpaceVariantTransforms.C.

References Image< T >::beginw(), Image< T >::coordsOk(), Image< T >::endw(), exp(), log(), NO_INIT, Image< T >::setVal(), and sqrt().

Referenced by FovealTransformModule::clear().

FovealTransform::SCALE_TYPE FovealTransform::toScaleType ( const std::string scale_type_string  )  [static]

convert a string to scale type

Definition at line 214 of file SpaceVariantTransforms.C.

Referenced by FovealTransformModule::clear().


The documentation for this struct was generated from the following files:
Generated on Sun May 8 08:43:20 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3