more deprecations

im_point*() and im_linreg() this time
This commit is contained in:
John Cupitt 2012-12-06 14:10:43 +00:00
parent 797805f7e3
commit a83da34355
8 changed files with 12 additions and 9 deletions

View File

@ -26,6 +26,8 @@
range of annoying problems, such as strange half-pixels along edges
- vips_max() / _min() track the top n maxima / minima
- deprecate im_maxpos_avg(): too specialised to be worth maintaining
- deprecate im_linreg(): easily done by combining other operators
- deprecate im_point(): easily done by combining other operators
14/11/12 started 7.30.6
- capture tiff warnings earlier

2
TODO
View File

@ -1,4 +1,4 @@
- im_cross_phase.c, im_linreg.c, im_point_bilinear.c need deprecating?
- im_cross_phase.c needs a rewrite?
- add vips_band()/vips_bor()

View File

@ -6,10 +6,8 @@ libarithmetic_la_SOURCES = \
im_cross_phase.c \
deviate.c \
divide.c \
im_linreg.c \
measure.c \
multiply.c \
im_point_bilinear.c \
remainder.c \
sign.c \
stats.c \

View File

@ -1,6 +1,8 @@
noinst_LTLIBRARIES = libdeprecated.la
libdeprecated_la_SOURCES = \
im_linreg.c \
im_point_bilinear.c \
im_openslide2vips.c \
im_lab_morph.c \
deprecated_dispatch.c \

View File

@ -360,12 +360,6 @@ int vips_stats( VipsImage *in, VipsImage **out, ... )
int vips_measure( VipsImage *in, VipsImage **out, int h, int v, ... )
__attribute__((sentinel));
int im_linreg( VipsImage **ins, VipsImage *out, double *xs );
int im_point( VipsImage *im, VipsInterpolate *interpolate,
double x, double y, int band, double *out );
int im_point_bilinear( VipsImage *im,
double x, double y, int band, double *out );
int im_cross_phase( VipsImage *a, VipsImage *b, VipsImage *out );
#ifdef __cplusplus

View File

@ -669,6 +669,13 @@ int im_minpos_vec( VipsImage *im, int *xpos, int *ypos, double *minima, int n );
int im_maxpos_avg( VipsImage *im, double *xpos, double *ypos, double *out );
int im_linreg( VipsImage **ins, VipsImage *out, double *xs );
int im_point( VipsImage *im, VipsInterpolate *interpolate,
double x, double y, int band, double *out );
int im_point_bilinear( VipsImage *im,
double x, double y, int band, double *out );
int im_copy( VipsImage *in, VipsImage *out );
int im_copy_set( VipsImage *in, VipsImage *out,
VipsInterpretation interpretation,