#include <stdlib.h>
#include <math.h>
#include <gandalf/vision/mask2D.h>
#include <gandalf/common/allocate.h>
#include <gandalf/common/array.h>
#include <gandalf/common/misc_error.h>
Functions | |
Gan_Mask2D * | gan_mask2D_form_gen (Gan_Mask2D *mask, Gan_Mask2DFormat format, Gan_Matrix *data, unsigned int rows, unsigned int cols) |
Form a new 2D convolution mask. | |
Gan_Bool | gan_mask2D_copy_q (Gan_Mask2D *source, Gan_Mask2D *dest) |
Copies a convolution mask. | |
Gan_Bool | gan_mask2D_free (Gan_Mask2D *mask) |
Frees a convolution mask. | |
Gan_Mask2D * | gan_mask2D_gen_from_Gan_Image (Gan_Image *img) |
Generates a 2D convolution mask from a grey-level image. |
Part of: Gandalf Library