Method: Vips::Image#stdif

Defined in:
lib/vips8/methods.rb

#stdif(width, height, opts = {}) ⇒ Vips::Image

Statistical difference.

Parameters:

  • width (Integer)

    Window width in pixels

  • height (Integer)

    Window height in pixels

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

    Set of options

Options Hash (opts):

  • :a (Float)

    Weight of new mean

  • :s0 (Float)

    New deviation

  • :b (Float)

    Weight of new deviation

  • :m0 (Float)

    New mean

Returns:

[View source]

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