ext/image_histograms_lut.c in ruby-vips-0.2.1 vs ext/image_histograms_lut.c in ruby-vips-0.3.0
- old
+ new
@@ -1,9 +1,6 @@
#include "ruby_vips.h"
-#include "image.h"
-#include "mask.h"
-#include "image_histograms_lut.h"
/*
* call-seq:
* im.histgr([band]) -> image
*
@@ -618,24 +615,24 @@
return new;
}
/*
* call-seq:
- * im.tone_analyze(ps, pm, ph, s, m, h) -> image
+ * im.tone_analyse(ps, pm, ph, s, m, h) -> image
*
* As Image#tone_build, but analyse the histogram of *self* and use it to pick
* the 0.1% and 99.9% points for <i>lb</i> and <i>lw</i>.
*/
VALUE
-img_tone_analyze(VALUE obj,
+img_tone_analyse(VALUE obj,
VALUE ps, VALUE pm, VALUE ph, VALUE s, VALUE m, VALUE h)
{
#if IM_MAJOR_VERSION > 7 || IM_MINOR_VERSION >= 23
GetImg(obj, data, im);
OutImg(obj, new, data_new, im_new);
- if (im_tone_analyze(im, im_new,
+ if (im_tone_analyse(im, im_new,
NUM2DBL(ps), NUM2DBL(pm), NUM2DBL(ph),
NUM2DBL(s), NUM2DBL(m), NUM2DBL(h)) )
vips_lib_error();
return new;