convolution

convolution — convolve and correlate images

Stability Level

Stable, unless otherwise indicated

Synopsis

#include <vips/vips.h>

int                 im_conv                             (IMAGE *in,
                                                         IMAGE *out,
                                                         INTMASK *mask);
int                 im_conv_f                           (IMAGE *in,
                                                         IMAGE *out,
                                                         DOUBLEMASK *mask);
int                 im_convsep                          (IMAGE *in,
                                                         IMAGE *out,
                                                         INTMASK *mask);
int                 im_convsep_f                        (IMAGE *in,
                                                         IMAGE *out,
                                                         DOUBLEMASK *mask);
int                 im_compass                          (IMAGE *in,
                                                         IMAGE *out,
                                                         INTMASK *mask);
int                 im_gradient                         (IMAGE *in,
                                                         IMAGE *out,
                                                         INTMASK *mask);
int                 im_lindetect                        (IMAGE *in,
                                                         IMAGE *out,
                                                         INTMASK *mask);
int                 im_sharpen                          (IMAGE *in,
                                                         IMAGE *out,
                                                         int mask_size,
                                                         double x1,
                                                         double y2,
                                                         double y3,
                                                         double m1,
                                                         double m2);
int                 im_grad_x                           (IMAGE *in,
                                                         IMAGE *out);
int                 im_grad_y                           (IMAGE *in,
                                                         IMAGE *out);
int                 im_fastcor                          (IMAGE *in,
                                                         IMAGE *ref,
                                                         IMAGE *out);
int                 im_spcor                            (IMAGE *in,
                                                         IMAGE *ref,
                                                         IMAGE *out);
int                 im_gradcor                          (IMAGE *in,
                                                         IMAGE *ref,
                                                         IMAGE *out);
int                 im_contrast_surface                 (IMAGE *in,
                                                         IMAGE *out,
                                                         int half_win_size,
                                                         int spacing);

Description

These operations convolve an image in some way, or are operations based on simple convolution, or are useful with convolution.

Details

im_conv ()

int                 im_conv                             (IMAGE *in,
                                                         IMAGE *out,
                                                         INTMASK *mask);

im_conv_f ()

int                 im_conv_f                           (IMAGE *in,
                                                         IMAGE *out,
                                                         DOUBLEMASK *mask);

im_convsep ()

int                 im_convsep                          (IMAGE *in,
                                                         IMAGE *out,
                                                         INTMASK *mask);

im_convsep_f ()

int                 im_convsep_f                        (IMAGE *in,
                                                         IMAGE *out,
                                                         DOUBLEMASK *mask);

im_compass ()

int                 im_compass                          (IMAGE *in,
                                                         IMAGE *out,
                                                         INTMASK *mask);

im_gradient ()

int                 im_gradient                         (IMAGE *in,
                                                         IMAGE *out,
                                                         INTMASK *mask);

im_lindetect ()

int                 im_lindetect                        (IMAGE *in,
                                                         IMAGE *out,
                                                         INTMASK *mask);

im_sharpen ()

int                 im_sharpen                          (IMAGE *in,
                                                         IMAGE *out,
                                                         int mask_size,
                                                         double x1,
                                                         double y2,
                                                         double y3,
                                                         double m1,
                                                         double m2);

im_grad_x ()

int                 im_grad_x                           (IMAGE *in,
                                                         IMAGE *out);

im_grad_y ()

int                 im_grad_y                           (IMAGE *in,
                                                         IMAGE *out);

im_fastcor ()

int                 im_fastcor                          (IMAGE *in,
                                                         IMAGE *ref,
                                                         IMAGE *out);

im_spcor ()

int                 im_spcor                            (IMAGE *in,
                                                         IMAGE *ref,
                                                         IMAGE *out);

im_gradcor ()

int                 im_gradcor                          (IMAGE *in,
                                                         IMAGE *ref,
                                                         IMAGE *out);

im_contrast_surface ()

int                 im_contrast_surface                 (IMAGE *in,
                                                         IMAGE *out,
                                                         int half_win_size,
                                                         int spacing);