Method: Vips::Image#measure

Defined in:
lib/vips8/methods.rb

#measure(h, v, opts = {}) ⇒ Vips::Image

Measure a set of patches on a colour chart.

Parameters:

  • h (Integer)

    Number of patches across chart

  • v (Integer)

    Number of patches down chart

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

    Set of options

Options Hash (opts):

  • :left (Integer)

    Left edge of extract area

  • :top (Integer)

    Top edge of extract area

  • :width (Integer)

    Width of extract area

  • :height (Integer)

    Height of extract area

Returns:

[View source]

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