Main Page   Modules   Compound List   File List   Compound Members   File Members  

convolve1D.c File Reference

#include <math.h>
#include <gandalf/vision/convolve1D.h>
#include <gandalf/common/misc_error.h>
#include <gandalf/image/image_gl_uchar.h>
#include <gandalf/image/image_gl_ushort.h>
#include <gandalf/image/image_gl_int.h>
#include <gandalf/image/image_gl_uint.h>
#include <gandalf/image/image_gl_float.h>
#include <gandalf/image/image_gl_double.h>
#include <gandalf/image/image_rgb_uchar.h>
#include <gandalf/image/image_rgb_ushort.h>
#include <gandalf/image/image_rgb_int.h>
#include <gandalf/image/image_rgb_uint.h>
#include <gandalf/image/image_rgb_float.h>
#include <gandalf/image/image_rgb_double.h>
#include <gandalf/image/image_rgba_uchar.h>
#include <gandalf/image/image_rgba_ushort.h>
#include <gandalf/image/image_rgba_int.h>
#include <gandalf/image/image_rgba_uint.h>
#include <gandalf/image/image_rgba_float.h>
#include <gandalf/image/image_rgba_double.h>
#include <gandalf/image/image_vfield3D_float.h>
#include <gandalf/image/image_vfield3D_double.h>
#include <gandalf/image/image_vfield3D_int.h>

Defines

#define SHIFT_DOWN(v, s)   ((v) < (s) ? (v) : ((v)-(s)))
#define SHIFT_UP(v, s)   ((v) < 0 ? ((v)+(s)) : (v))

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_Imagegan_image_convolve1Dx_q (Gan_Image *image, Gan_ImageChannelType channel, Gan_Mask1D *mask, Gan_Image *dest)
 Convolves an image in the x-direction.

Gan_Imagegan_image_convolve1Dy_q (Gan_Image *image, Gan_ImageChannelType channel, Gan_Mask1D *mask, Gan_Image *dest)
 Convolves an image in the y-direction.


Detailed Description

Module: Image 1D convolution routines

Part of: Gandalf Library

Revision: Last edited: Author:

Copyright: (c) 2000 Imagineer Software Limited


Generated on Mon Oct 13 16:14:41 2003 by doxygen1.3-rc1