1 /* convolution.h 2 * 3 * 20/9/09 4 * - from proto.h 5 */ 6 7 /* 8 9 This file is part of VIPS. 10 11 VIPS is free software; you can redistribute it and/or modify 12 it under the terms of the GNU Lesser General Public License as published by 13 the Free Software Foundation; either version 2 of the License, or 14 (at your option) any later version. 15 16 This program is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Lesser General Public License for more details. 20 21 You should have received a copy of the GNU Lesser General Public License 22 along with this program; if not, write to the Free Software 23 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 24 02110-1301 USA 25 26 */ 27 28 /* 29 30 These files are distributed with VIPS - http://www.vips.ecs.soton.ac.uk 31 32 */ 33 34 #ifndef VIPS_CONVOLUTION_H 35 #define VIPS_CONVOLUTION_H 36 37 #ifdef __cplusplus 38 extern "C" { 39 #endif /*__cplusplus*/ 40 41 typedef enum { 42 VIPS_COMBINE_MAX, 43 VIPS_COMBINE_SUM, 44 VIPS_COMBINE_MIN, 45 VIPS_COMBINE_LAST 46 } VipsCombine; 47 48 int vips_conv( VipsImage *in, VipsImage **out, VipsImage *mask, ... ) 49 __attribute__((sentinel)); 50 int vips_convf( VipsImage *in, VipsImage **out, VipsImage *mask, ... ) 51 __attribute__((sentinel)); 52 int vips_convi( VipsImage *in, VipsImage **out, VipsImage *mask, ... ) 53 __attribute__((sentinel)); 54 int vips_conva( VipsImage *in, VipsImage **out, VipsImage *mask, ... ) 55 __attribute__((sentinel)); 56 int vips_convsep( VipsImage *in, VipsImage **out, VipsImage *mask, ... ) 57 __attribute__((sentinel)); 58 int vips_convasep( VipsImage *in, VipsImage **out, VipsImage *mask, ... ) 59 __attribute__((sentinel)); 60 61 int vips_compass( VipsImage *in, VipsImage **out, VipsImage *mask, ... ) 62 __attribute__((sentinel)); 63 int vips_gaussblur( VipsImage *in, VipsImage **out, double sigma, ... ) 64 __attribute__((sentinel)); 65 int vips_sharpen( VipsImage *in, VipsImage **out, ... ) 66 __attribute__((sentinel)); 67 68 int vips_spcor( VipsImage *in, VipsImage *ref, VipsImage **out, ... ) 69 __attribute__((sentinel)); 70 int vips_fastcor( VipsImage *in, VipsImage *ref, VipsImage **out, ... ) 71 __attribute__((sentinel)); 72 73 int vips_sobel( VipsImage *in, VipsImage **out, ... ) 74 __attribute__((sentinel)); 75 int vips_canny( VipsImage *in, VipsImage **out, ... ) 76 __attribute__((sentinel)); 77 78 #ifdef __cplusplus 79 } 80 #endif /*__cplusplus*/ 81 82 #endif /*VIPS_CONVOLUTION_H*/ 83