Compounds | |
struct | Gan_Mask1D |
1D convolution mask. More... | |
Defines | |
#define | SHIFT_DOWN(v, s) ((v) < (s) ? (v) : ((v)-(s))) |
#define | SHIFT_UP(v, s) ((v) < 0 ? ((v)+(s)) : (v)) |
Enumerations | |
enum | Gan_Mask1DFormat { GAN_MASK1D_SYMMETRIC, GAN_MASK1D_ANTISYMMETRIC, GAN_MASK1D_GENERIC } |
Format of convolution mask. More... | |
Functions | |
Gan_Bool | gan_convolve1D_f (float *source, int sstride, float *dest, int dstride, Gan_Mask1D *mask, unsigned int dsize) |
1D convolution function for float arrays. | |
Gan_Bool | gan_convolve1D_d (double *source, int sstride, double *dest, int dstride, Gan_Mask1D *mask, unsigned int dsize) |
1D convolution function for double arrays. | |
Gan_Bool | gan_convolve1D_i (int *source, int sstride, int *dest, int dstride, Gan_Mask1D *mask, unsigned int dsize) |
1D convolution function for integer arrays. | |
Gan_Bool | gan_convolve1D_uc (unsigned char *source, int sstride, unsigned char *dest, int dstride, Gan_Mask1D *mask, unsigned int dsize) |
1D convolution function for integer arrays. | |
Gan_Bool | gan_convolve1D_us (unsigned short *source, int sstride, unsigned short *dest, int dstride, Gan_Mask1D *mask, unsigned int dsize) |
1D convolution function for integer arrays. | |
Gan_Bool | gan_convolve1D_ui (unsigned int *source, int sstride, unsigned int *dest, int dstride, Gan_Mask1D *mask, unsigned int dsize) |
1D convolution function for unsigned integer arrays. | |
Gan_Bool | gan_convolve_circular1D_f (float *source, int sstride, float *dest, int dstride, Gan_Mask1D *mask, unsigned int size) |
Circular 1D convolution function for float arrays. | |
Gan_Bool | gan_convolve_circular1D_d (double *source, int sstride, double *dest, int dstride, Gan_Mask1D *mask, unsigned int size) |
Circular 1D convolution function for double arrays. | |
Gan_Image * | gan_image_convolve1Dx_q (Gan_Image *image, Gan_ImageChannelType channel, Gan_Mask1D *mask, Gan_Image *dest) |
Convolves an image in the x-direction. | |
Gan_Image * | gan_image_convolve1Dy_q (Gan_Image *image, Gan_ImageChannelType channel, Gan_Mask1D *mask, Gan_Image *dest) |
Convolves an image in the y-direction. | |
Gan_Image * | gan_image_convolve1Dx_s (Gan_Image *image, Gan_ImageChannelType channel, Gan_Mask1D *mask) |
Macro: Convolves an image in the x-direction. | |
Gan_Image * | gan_image_convolve1Dy_s (Gan_Image *image, Gan_ImageChannelType channel, Gan_Mask1D *mask) |
Macro: Convolves an image in the y-direction. | |
Gan_Mask1D * | gan_mask1D_form_gen (Gan_Mask1D *mask, Gan_Mask1DFormat format, Gan_Type type, void *data, unsigned int size) |
Form a new 1D convolution mask. | |
Gan_Bool | gan_mask1D_copy_q (Gan_Mask1D *source, Gan_Mask1D *dest) |
Copies a convolution mask. | |
Gan_Bool | gan_mask1D_free (Gan_Mask1D *mask) |
Frees a convolution mask. | |
Gan_Mask1D * | gan_gauss_mask_new (Gan_Type type, double sigma, unsigned mask_size, double scale, void *mask_data) |
Make new Gaussian convolution mask. | |
Gan_Mask1D * | gan_mask1D_alloc (Gan_Mask1DFormat format, Gan_Type type, unsigned int size) |
Macro: Allocate and return a new 1D convolution mask. | |
Gan_Mask1D * | gan_mask1D_alloc_data (Gan_Mask1DFormat format, Gan_Type type, void *data, unsigned int size) |
Macro: Allocate and return a new 1D convolution mask. | |
Gan_Mask1D * | gan_mask1D_form (Gan_Mask1D *mask, Gan_Mask1DFormat format, Gan_Type type, unsigned int size) |
Macro: Build a new 1D convolution mask. | |
Gan_Mask1D * | gan_mask1D_form_data (Gan_Mask1D *mask, Gan_Mask1DFormat format, Gan_Type type, void *data, unsigned int size) |
Macro: Build a new 1D convolution mask. |
|
Format of convolution mask.
|
|
1D convolution function for double arrays.
double.
|
|
1D convolution function for float arrays.
float.
|
|
1D convolution function for integer arrays.
int. There is no checking for overflow.
|
|
1D convolution function for integer arrays.
unsigned char. There is no checking for overflow.
|
|
1D convolution function for unsigned integer arrays.
unsigned int. There is no checking for overflow.
|
|
1D convolution function for integer arrays.
unsigned short. There is no checking for overflow.
|
|
Circular 1D convolution function for double arrays.
double. The input source array is treated as circular, so that no values are lost at the ends.
|
|
Circular 1D convolution function for float arrays.
float. The input source array is treated as circular, so that no values are lost at the ends.
|
|
Make new Gaussian convolution mask.
|
|
Convolves an image in the x-direction.
Macro call to gan_image_convolve1Dx_q().
|
|
Macro: Convolves an image in the x-direction.
Macro call to gan_image_convolve1Dx_q().
|
|
Convolves an image in the y-direction.
Macro call to gan_image_convolve1Dy_q().
|
|
Macro: Convolves an image in the y-direction.
Macro call to gan_image_convolve1Dy_q().
|
|
Macro: Allocate and return a new 1D convolution mask. Allocates and returns a new 1D convolution mask with the given format, type and size. Implemented as a macro call to gan_mask1D_form_gen().
|
|
Macro: Allocate and return a new 1D convolution mask. Allocates and returns a new 1D convolution mask with the given format, type, data array and size. Implemented as a macro call to gan_mask1D_form_gen().
|
|
Copies a convolution mask.
|
|
Macro: Build a new 1D convolution mask. Builds and returns a new 1D convolution mask with the given format, type and size, writing it into the provided structure mask. Implemented as a macro call to gan_mask1D_form_gen().
|
|
Macro: Build a new 1D convolution mask. Builds and returns a new 1D convolution mask with the given format, type, data and size, writing it into the provided structure mask. Implemented as a macro call to gan_mask1D_form_gen().
|
|
Form a new 1D convolution mask. Don't call this function directly. Use the macro gan_mask1D_form_data() instead. |
|
Frees a convolution mask.
|