00001
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 #ifndef _GAN_CONVOLVE1D_H
00030 #define _GAN_CONVOLVE1D_H
00031
00032 #include <gandalf/vision/mask1D.h>
00033 #include <gandalf/image/image_defs.h>
00034 #include <gandalf/image/image_channel.h>
00035
00036 #ifdef __cplusplus
00037 extern "C" {
00038 #endif
00039
00050 Gan_Bool gan_convolve1D_f ( float *source, int sstride,
00051 float *dest, int dstride,
00052 Gan_Mask1D *mask, unsigned int dsize );
00053 Gan_Bool gan_convolve1D_d ( double *source, int sstride,
00054 double *dest, int dstride,
00055 Gan_Mask1D *mask, unsigned int dsize );
00056 Gan_Bool gan_convolve1D_i ( int *source, int sstride,
00057 int *dest, int dstride,
00058 Gan_Mask1D *mask, unsigned int dsize );
00059
00060 Gan_Bool gan_convolve_circular1D_f ( float *source, int sstride,
00061 float *dest, int dstride,
00062 Gan_Mask1D *mask, unsigned int dsize );
00063 Gan_Bool gan_convolve_circular1D_d ( double *source, int sstride,
00064 double *dest, int dstride,
00065 Gan_Mask1D *mask, unsigned int dsize );
00066
00067 Gan_Image *gan_image_convolve1Dx_q ( Gan_Image *image,
00068 Gan_ImageChannelType channel,
00069 Gan_Mask1D *mask, Gan_Image *dest );
00070 Gan_Image *gan_image_convolve1Dy_q ( Gan_Image *image,
00071 Gan_ImageChannelType channel,
00072 Gan_Mask1D *mask, Gan_Image *dest );
00073
00090 Gan_Image *gan_image_convolve1Dx_s ( Gan_Image *image,
00091 Gan_ImageChannelType channel,
00092 Gan_Mask1D *mask );
00093
00110 Gan_Image *gan_image_convolve1Dy_s ( Gan_Image *image,
00111 Gan_ImageChannelType channel,
00112 Gan_Mask1D *mask );
00113
00122 #ifdef __cplusplus
00123 }
00124 #endif
00125
00126 #endif