convolution.h 2.4 KB

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