9 #ifndef VIMAGECONVOLVER_HH
10 #define VIMAGECONVOLVER_HH 1
257 #define FUNCTION_IMAGE_CONVOLVER(CLASS) \
258 static vImageConvolver *make_image_convolver() { return new CLASS(); };
261 #define CLASS_IMAGE_CONVOLVER(NAME,CLASS) \
262 class NAME##ImageConvolverCreator \
265 NAME##ImageConvolverCreator() \
266 { sAddonManager::GetInstance()->mp_listOfImageConvolvers[#NAME] = CLASS::make_image_convolver; } \
268 static NAME##ImageConvolverCreator ImageConvolverCreator##NAME;
This header file is mainly used to declare some macro definitions and all includes needed from the st...
virtual int ConvolveTranspose(FLTNB *ap_outputImage)
A private function used to apply the transpose convolution on the padded image to the provided output...
int Initialize()
A public function used to initialize the module.
virtual int ReadConfigurationFile(const string &a_fileOptions)=0
A function used to read options from a configuration file.
virtual int BuildConvolutionKernel()=0
A private function used to build the convolution kernel specific to the child convolver.
oImageDimensionsAndQuantification * mp_ImageDimensionsAndQuantification
int CheckParameters()
A public function used to check the parameters settings.
virtual void ShowHelp()=0
A function used to show help about the child module.
int ApplyConvolutionTranspose(FLTNB *ap_image)
A public function used to apply the transpose convolution module on the provided image.
virtual ~vImageConvolver()
The destructor of vImageConvolver.
vImageConvolver()
The constructor of vImageConvolver.
int ApplyConvolution(FLTNB *ap_image)
A public function used to apply the convolution module on the provided image.
virtual int CheckSpecificParameters()=0
A private function used to check the parameters settings specific to the child convolver.
This class holds all the matrices in the image domain that can be used in the algorithm: image...
This class is designed to manage all dimensions and quantification related stuff. ...
virtual int Convolve(FLTNB *ap_outputImage)
A private function used to apply the convolution on the padded image to the provided output image...
This file is used for all kind of different functions designed for options parsing and ASCII file rea...
void SetVerbose(int a_verbose)
Set the member m_verboseLevel to the provided value.
virtual int ReadOptionsList(const string &a_listOptions)=0
A function used to read options from a list of options.
void CopyToPaddedImage(FLTNB *ap_inputImage)
A private function used to copy the provided image into the padded buffer.
void SetImageDimensionsAndQuantification(oImageDimensionsAndQuantification *ap_ImageDimensionsAndQuantification)
Set the member mp_ImageDimensionsAndQuantification to the provided value.
This abstract class is the generic image convolver class used by the oImageConvolverManager.