


Public Member Functions | |
| FovealTransformModule (OptionManager &mgr, const std::string &descrName="FovealTransform Module", const std::string &tagName="FovealTransformModule") | |
| Constructor. | |
| virtual | ~FovealTransformModule () |
| Destructor. | |
| virtual void | clear (const Dims &inp_dims) |
| reset transforms to the desired input image size | |
| template<class T_or_RGB > | |
| void | getFoveaPeriphery (const Image< T_or_RGB > &ret_image, Image< T_or_RGB > &fovea, Image< T_or_RGB > &periphery) |
| Dims | getSVDims () const |
| get the dims from the command line | |
Protected Attributes | |
| OModelParam< std::string > | itsSvScale |
| OModelParam< float > | itsSvFovea |
| OModelParam< float > | itsSvSfac |
| OModelParam< float > | itsSvBeta |
| OModelParam< float > | itsSvGain |
| OModelParam< float > | itsSvExponent |
| OModelParam< float > | itsSvOffset |
| OModelParam< float > | itsFoveaCutoff |
| OModelParam< Dims > | itsSvDims |
| OModelParam< PixPerDeg > | itsPPD |
| OModelParam< LevelSpec > | itsLevelSpec |
Definition at line 46 of file FovealTransformModule.H.
| FovealTransformModule::FovealTransformModule | ( | OptionManager & | mgr, | |
| const std::string & | descrName = "FovealTransform Module", |
|||
| const std::string & | tagName = "FovealTransformModule" | |||
| ) |
Constructor.
See ModelComponent.H for details
Definition at line 48 of file FovealTransformModule.C.
| FovealTransformModule::~FovealTransformModule | ( | ) | [virtual] |
Destructor.
Definition at line 64 of file FovealTransformModule.C.
| void FovealTransformModule::clear | ( | const Dims & | inp_dims | ) | [virtual] |
reset transforms to the desired input image size
Reimplemented from SpaceVariantModule.
Reimplemented in SpaceVariantEdgeModule.
Definition at line 68 of file FovealTransformModule.C.
References OModelParam< T >::getVal(), Dims::h(), LevelSpec::mapLevel(), rutz::shared_ptr< T >::reset(), FovealTransform::setup(), FovealTransform::toScaleType(), and Dims::w().
| void FovealTransformModule::getFoveaPeriphery | ( | const Image< T_or_RGB > & | ret_image, | |
| Image< T_or_RGB > & | fovea, | |||
| Image< T_or_RGB > & | periphery | |||
| ) | [inline] |
separate the foveal and peripherial region
Definition at line 110 of file FovealTransformModule.C.
| Dims FovealTransformModule::getSVDims | ( | ) | const |
get the dims from the command line
Definition at line 117 of file FovealTransformModule.C.
References OModelParam< T >::getVal().
1.6.3