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 |
Definition at line 149 of file SpaceVariantTransforms.H.
FovealTransform::FovealTransform | ( | ) |
constructor
Definition at line 209 of file SpaceVariantTransforms.C.
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().