Public Member Functions | |
SpaceVariantEdgeModule (OptionManager &mgr, const std::string &descrName="SpaceVariantEdgeModule", const std::string &tagName="SpaceVarianEdgetModule") | |
Constructor. | |
virtual | ~SpaceVariantEdgeModule () |
Destructor. | |
void | clear (const Dims &dims) |
override clear | |
Image< PixRGB< float > > | transformRGB (const Image< PixRGB< byte > > &image, const ImageSet< PixRGB< float > > *const pyr_cache=NULL) |
override transfromRGB | |
virtual void | transformRgbPyramid (const Image< PixRGB< byte > > &image, ImageSet< PixRGB< float > > &pyramid, const SVChanLevels &levels, const ImageSet< PixRGB< float > > *const pyr_cache) |
transform a cartesian image to a space variant pyramid | |
Image< float > | transformFloat (const Image< float > &image, const ImageSet< float > *const pyr_cache=NULL) |
override transformFloat | |
virtual void | transformFloatPyramid (const Image< float > &image, ImageSet< float > &pyramid, const SVChanLevels &levels, const ImageSet< float > *const pyr_cache) |
transform a cartesian image to a space variant pyramid | |
template<class T_or_RGB > | |
Image< typename promote_trait < T_or_RGB, float >::TP > | transformEdge (const Image< T_or_RGB > &ret_image, const ImageSet< typename promote_trait< T_or_RGB, float >::TP > *const pyr_cache=NULL) |
template<class T_or_RGB > | |
void | transformEdgePyramid (const Image< T_or_RGB > &image, ImageSet< typename promote_trait< T_or_RGB, float >::TP > &pyramid, const SVChanLevels &levels, const ImageSet< typename promote_trait< T_or_RGB, float >::TP > *const pyr_cache=NULL) |
transform a cartesian image to a space variant pyramid | |
Protected Member Functions | |
void | start1 () |
This is called from within start() before the subcomponents start. |
Definition at line 46 of file SpaceVariantEdgeModule.H.
SpaceVariantEdgeModule::SpaceVariantEdgeModule | ( | OptionManager & | mgr, | |
const std::string & | descrName = "SpaceVariantEdgeModule" , |
|||
const std::string & | tagName = "SpaceVarianEdgetModule" | |||
) |
Constructor.
See ModelComponent.H for details
Definition at line 45 of file SpaceVariantEdgeModule.C.
SpaceVariantEdgeModule::~SpaceVariantEdgeModule | ( | ) | [virtual] |
Destructor.
Definition at line 56 of file SpaceVariantEdgeModule.C.
void SpaceVariantEdgeModule::clear | ( | const Dims & | dims | ) | [virtual] |
override clear
Reimplemented from FovealTransformModule.
Definition at line 66 of file SpaceVariantEdgeModule.C.
References SpaceVariantModule::clear(), and OModelParam< T >::getVal().
void SpaceVariantEdgeModule::start1 | ( | ) | [protected, virtual] |
This is called from within start() before the subcomponents start.
Reimplemented from ModelComponent.
Definition at line 60 of file SpaceVariantEdgeModule.C.
References OModelParam< T >::getVal().
Image< typename promote_trait< T_or_RGB, float >::TP > SpaceVariantEdgeModule::transformEdge | ( | const Image< T_or_RGB > & | ret_image, | |
const ImageSet< typename promote_trait< T_or_RGB, float >::TP > *const | pyr_cache = NULL | |||
) | [inline] |
transform a cartesian image to a space variant difference of Gaussian image. Notice, that apposed to transform() where the same time that is input is returned (by clamping and converting), a float image (or PixRGB<float>) is returned here as the DoG may result in negative numbers
Definition at line 105 of file SpaceVariantEdgeModule.C.
References SpaceVariantModule::clear(), Image< T >::getDims(), OModelParam< T >::getVal(), Image< T >::initialized(), and SpaceVariantModule::validTransforms().
Referenced by transformFloat(), and transformRGB().
void SpaceVariantEdgeModule::transformEdgePyramid | ( | const Image< T_or_RGB > & | image, | |
ImageSet< typename promote_trait< T_or_RGB, float >::TP > & | pyramid, | |||
const SVChanLevels & | levels, | |||
const ImageSet< typename promote_trait< T_or_RGB, float >::TP > *const | pyr_cache = NULL | |||
) | [inline] |
transform a cartesian image to a space variant pyramid
Definition at line 126 of file SpaceVariantEdgeModule.C.
References SpaceVariantModule::clear(), Image< T >::getDims(), OModelParam< T >::getVal(), SVChanLevels::getVariance(), Image< T >::initialized(), SVChanLevels::numLevels(), and SpaceVariantModule::validTransforms().
Referenced by transformFloatPyramid(), and transformRgbPyramid().
Image< float > SpaceVariantEdgeModule::transformFloat | ( | const Image< float > & | image, | |
const ImageSet< float > *const | pyr_cache = NULL | |||
) | [virtual] |
override transformFloat
Reimplemented from SpaceVariantModule.
Definition at line 92 of file SpaceVariantEdgeModule.C.
References transformEdge().
void SpaceVariantEdgeModule::transformFloatPyramid | ( | const Image< float > & | image, | |
ImageSet< float > & | pyramid, | |||
const SVChanLevels & | levels, | |||
const ImageSet< float > *const | pyr_cache | |||
) | [virtual] |
transform a cartesian image to a space variant pyramid
Reimplemented from SpaceVariantModule.
Definition at line 98 of file SpaceVariantEdgeModule.C.
References transformEdgePyramid().
Image< PixRGB< float > > SpaceVariantEdgeModule::transformRGB | ( | const Image< PixRGB< byte > > & | image, | |
const ImageSet< PixRGB< float > > *const | pyr_cache = NULL | |||
) |
override transfromRGB
Definition at line 79 of file SpaceVariantEdgeModule.C.
References image, and transformEdge().
void SpaceVariantEdgeModule::transformRgbPyramid | ( | const Image< PixRGB< byte > > & | image, | |
ImageSet< PixRGB< float > > & | pyramid, | |||
const SVChanLevels & | levels, | |||
const ImageSet< PixRGB< float > > *const | pyr_cache | |||
) | [virtual] |
transform a cartesian image to a space variant pyramid
Reimplemented from SpaceVariantModule.
Definition at line 86 of file SpaceVariantEdgeModule.C.
References image, and transformEdgePyramid().