Functions | |
void | Convolution (Image< T > &input1, Image< T > &input2, Image< T > &output) |
void | Downsample (Image< T > &input, Image< T > &output) |
void | Downsample (Image< T > &input) |
void | Noise (Image< T > &input, string noise_type, float a, float b, int seed=1) |
void | Noise (Image< T > &input, int seed=1) |
void | Noise (Image< T > &input, float a, float b, int seed=1) |
void | Noise (Image< T > &input, string noise_type, int seed=1) |
void | Upsample (Image< T > &input, Image< T > &output) |
void | Upsample (Image< T > &input) |
|
Performs the convolution of two images (input1 and input2) and stores the result in a third image (output). Note that if the operands are of type \aT = \afloat (floating point image or floating point kernel), or of the derived types "FloatImage" and/or "FloatKernel", the convolution operation is performed as multiplication in Fourier space (for speed-up reasons).
Definition at line 17 of file Convolution.cpp. |
|
Performs in place the downsampling of the input image. Definition at line 23 of file Downsampling.cpp. |
|
Performs the downsampling of the input image and stores the result in the output image.
Definition at line 12 of file Downsampling.cpp. |
|
Adds noise of type noise_type to the input image. Three types of noise are allowed:
|
|
Adds Gaussian noise with mean a and standard deviation b to the input image. The parameter seed is used to initialize the random generator. Its default value is 1. |
|
Adds Gaussian noise with mean 0 and standard deviation 1 to the input image. The parameter seed is used to initialize the random generator. Its default value is 1. |
|
Adds noise of type noise_type to the input image. Three types of noise are allowed:
|
|
Performs the upsampling of the input image in place. Definition at line 23 of file Upsampling.cpp. |
|
Performs the upsampling of the input image and stores the result in the output image.
Definition at line 12 of file Upsampling.cpp. |