Public Member Functions | |
SpaceVariantDoGModule (OptionManager &mgr, const std::string &descrName="SpaceVariantDoGModule", const std::string &tagName="SpaceVariantDoGModule") | |
Constructor. | |
~SpaceVariantDoGModule () | |
Destructor. | |
Image< PixRGB< float > > | transformRGB (const Image< PixRGB< byte > > &image, const ImageSet< PixRGB< float > > *const pyr_cache=NULL) |
override transform | |
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 transform | |
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 > | transformDoG (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 | transformDoGPyramid (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 |
Definition at line 46 of file SpaceVariantDoGModule.H.
SpaceVariantDoGModule::SpaceVariantDoGModule | ( | OptionManager & | mgr, | |
const std::string & | descrName = "SpaceVariantDoGModule" , |
|||
const std::string & | tagName = "SpaceVariantDoGModule" | |||
) |
Constructor.
See ModelComponent.H for details
Definition at line 44 of file SpaceVariantDoGModule.C.
SpaceVariantDoGModule::~SpaceVariantDoGModule | ( | ) |
Destructor.
Definition at line 52 of file SpaceVariantDoGModule.C.
Image< typename promote_trait< T_or_RGB, float >::TP > SpaceVariantDoGModule::transformDoG | ( | 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 83 of file SpaceVariantDoGModule.C.
References SpaceVariantModule::clear(), Image< T >::getDims(), OModelParam< T >::getVal(), Image< T >::initialized(), and SpaceVariantModule::validTransforms().
Referenced by transformFloat(), and transformRGB().
void SpaceVariantDoGModule::transformDoGPyramid | ( | 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 102 of file SpaceVariantDoGModule.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 > SpaceVariantDoGModule::transformFloat | ( | const Image< float > & | image, | |
const ImageSet< float > *const | pyr_cache = NULL | |||
) | [virtual] |
override transform
Reimplemented from SpaceVariantModule.
Definition at line 69 of file SpaceVariantDoGModule.C.
References transformDoG().
void SpaceVariantDoGModule::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 75 of file SpaceVariantDoGModule.C.
References transformDoGPyramid().
Image< PixRGB< float > > SpaceVariantDoGModule::transformRGB | ( | const Image< PixRGB< byte > > & | image, | |
const ImageSet< PixRGB< float > > *const | pyr_cache = NULL | |||
) |
override transform
Definition at line 56 of file SpaceVariantDoGModule.C.
References image, and transformDoG().
void SpaceVariantDoGModule::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 63 of file SpaceVariantDoGModule.C.
References image, and transformDoGPyramid().