histogram.h 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. /* histograms_lut.h
  2. *
  3. * 3/11/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_HISTOGRAM_H
  25. #define VIPS_HISTOGRAM_H
  26. #ifdef __cplusplus
  27. extern "C" {
  28. #endif /*__cplusplus*/
  29. int vips_maplut( VipsImage *in, VipsImage **out, VipsImage *lut, ... )
  30. __attribute__((sentinel));
  31. int vips_percent( VipsImage *in, double percent, int *threshold, ... )
  32. __attribute__((sentinel));
  33. int vips_stdif( VipsImage *in, VipsImage **out, int width, int height, ... )
  34. __attribute__((sentinel));
  35. int vips_hist_cum( VipsImage *in, VipsImage **out, ... )
  36. __attribute__((sentinel));
  37. int vips_hist_norm( VipsImage *in, VipsImage **out, ... )
  38. __attribute__((sentinel));
  39. int vips_hist_equal( VipsImage *in, VipsImage **out, ... )
  40. __attribute__((sentinel));
  41. int vips_hist_plot( VipsImage *in, VipsImage **out, ... )
  42. __attribute__((sentinel));
  43. int vips_hist_match( VipsImage *in, VipsImage *ref, VipsImage **out, ... )
  44. __attribute__((sentinel));
  45. int vips_hist_local( VipsImage *in, VipsImage **out,
  46. int width, int height, ... )
  47. __attribute__((sentinel));
  48. int vips_hist_ismonotonic( VipsImage *in, gboolean *out, ... )
  49. __attribute__((sentinel));
  50. int vips_hist_entropy( VipsImage *in, double *out, ... )
  51. __attribute__((sentinel));
  52. int vips_case( VipsImage *index, VipsImage **cases, VipsImage **out, int n,
  53. ... )
  54. __attribute__((sentinel));
  55. #ifdef __cplusplus
  56. }
  57. #endif /*__cplusplus*/
  58. #endif /*VIPS_HISTOGRAM_H*/