convi working

need to add vector path next
This commit is contained in:
John Cupitt 2016-06-24 16:03:15 +01:00
parent 1a5aa2125e
commit 5e660addc8
4 changed files with 7 additions and 1 deletions

View File

@ -7,6 +7,7 @@ libconvolution_la_SOURCES = \
correlation.h \
conv.c \
convf.c \
convi.c \
convsep.c \
compass.c \
fastcor.c \

View File

@ -427,9 +427,10 @@ intize( VipsImage *in, VipsImage **out )
vips_image_set_double( *out, "scale", out_scale );
vips_image_set_double( *out, "offset", out_offset );
g_object_unref( t );
return( out );
return( 0 );
}
static int

View File

@ -158,6 +158,7 @@ vips_convolution_operation_init( void )
{
extern int vips_conv_get_type( void );
extern int vips_convf_get_type( void );
extern int vips_convi_get_type( void );
extern int vips_compass_get_type( void );
extern int vips_convsep_get_type( void );
extern int vips_fastcor_get_type( void );
@ -167,6 +168,7 @@ vips_convolution_operation_init( void )
vips_conv_get_type();
vips_convf_get_type();
vips_convi_get_type();
vips_compass_get_type();
vips_convsep_get_type();
vips_fastcor_get_type();

View File

@ -48,6 +48,8 @@ int vips_conv( VipsImage *in, VipsImage **out, VipsImage *mask, ... )
__attribute__((sentinel));
int vips_convf( VipsImage *in, VipsImage **out, VipsImage *mask, ... )
__attribute__((sentinel));
int vips_convi( VipsImage *in, VipsImage **out, VipsImage *mask, ... )
__attribute__((sentinel));
int vips_compass( VipsImage *in, VipsImage **out, VipsImage *mask, ... )
__attribute__((sentinel));
int vips_convsep( VipsImage *in, VipsImage **out, VipsImage *mask, ... )