Method: Vips::Image#min

Defined in:
lib/vips8/methods.rb

#min(opts = {}) ⇒ Float, Hash<Symbol => Object>

Find image minimum.

Parameters:

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

    Set of options

Options Hash (opts):

  • :size (Integer)

    Number of minimum values to find

  • :x (Integer)

    Output -- Horizontal position of minimum

  • :y (Integer)

    Output -- Vertical position of minimum

  • :out_array (Array<Double>)

    Output -- Array of output values

  • :x_array (Array<Integer>)

    Output -- Array of horizontal positions

  • :y_array (Array<Integer>)

    Output -- Array of vertical positions

Returns:

  • (Float, Hash<Symbol => Object>)

    Output value, Hash of optional output items

[View source]

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