Method: Vips::Image#avg

Defined in:
lib/vips8/methods.rb

#avg(opts = {}) ⇒ Float

Find image average.

Parameters:

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

    Set of options

Returns:

  • (Float)

    Output value

[View source]

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