compat wrapper for cross_phase
This commit is contained in:
parent
1de6c6bcc6
commit
6602b0680a
2
TODO
2
TODO
@ -1,5 +1,3 @@
|
|||||||
- im_cross_phase.c needs a vips7 compat wrapper
|
|
||||||
|
|
||||||
- add vips_band()/vips_bor()
|
- add vips_band()/vips_bor()
|
||||||
|
|
||||||
- now we've removed round-to-nearest from NN, we need something extra in the
|
- now we've removed round-to-nearest from NN, we need something extra in the
|
||||||
|
@ -2873,3 +2873,19 @@ im_minpos_vec( VipsImage *im, int *xpos, int *ypos, double *minima, int n )
|
|||||||
return( 0 );
|
return( 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int
|
||||||
|
im_cross_phase( IMAGE *in1, IMAGE *in2, IMAGE *out )
|
||||||
|
{
|
||||||
|
VipsImage *x;
|
||||||
|
|
||||||
|
if( vips_call( "cross_phase", in1, in2, &x, NULL ) )
|
||||||
|
return( -1 );
|
||||||
|
if( im_copy( x, out ) ) {
|
||||||
|
g_object_unref( x );
|
||||||
|
return( -1 );
|
||||||
|
}
|
||||||
|
g_object_unref( x );
|
||||||
|
|
||||||
|
return( 0 );
|
||||||
|
}
|
||||||
|
|
||||||
|
@ -377,8 +377,6 @@ int vips_stats( VipsImage *in, VipsImage **out, ... )
|
|||||||
int vips_measure( VipsImage *in, VipsImage **out, int h, int v, ... )
|
int vips_measure( VipsImage *in, VipsImage **out, int h, int v, ... )
|
||||||
__attribute__((sentinel));
|
__attribute__((sentinel));
|
||||||
|
|
||||||
int im_cross_phase( VipsImage *a, VipsImage *b, VipsImage *out );
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif /*__cplusplus*/
|
#endif /*__cplusplus*/
|
||||||
|
@ -671,6 +671,8 @@ int im_maxpos_avg( VipsImage *im, double *xpos, double *ypos, double *out );
|
|||||||
|
|
||||||
int im_linreg( VipsImage **ins, VipsImage *out, double *xs );
|
int im_linreg( VipsImage **ins, VipsImage *out, double *xs );
|
||||||
|
|
||||||
|
int im_cross_phase( VipsImage *a, VipsImage *b, VipsImage *out );
|
||||||
|
|
||||||
int im_point( VipsImage *im, VipsInterpolate *interpolate,
|
int im_point( VipsImage *im, VipsInterpolate *interpolate,
|
||||||
double x, double y, int band, double *out );
|
double x, double y, int band, double *out );
|
||||||
int im_point_bilinear( VipsImage *im,
|
int im_point_bilinear( VipsImage *im,
|
||||||
|
Loading…
Reference in New Issue
Block a user