Method: Vips::Image#conv

Defined in:
lib/vips8/methods.rb

#conv(mask, opts = {}) ⇒ Vips::Image

Convolution operation.

Parameters:

  • mask (Vips::Image)

    Input matrix image

  • opts (Hash) (defaults to: {})

    Set of options

Options Hash (opts):

  • :precision (Vips::Precision)

    Convolve with this precision

  • :layers (Integer)

    Use this many layers in approximation

  • :cluster (Integer)

    Cluster lines closer than this in approximation

Returns:

[View source]

# File 'lib/vips8/methods.rb', line 1541