Method: Vips::Image#mosaic

Defined in:
lib/vips8/methods.rb

#mosaic(sec, direction, xref, yref, xsec, ysec, opts = {}) ⇒ Vips::Image, Hash<Symbol => Object>

Mosaic two images.

Parameters:

  • sec (Vips::Image)

    Secondary image

  • direction (Vips::Direction)

    Horizontal or vertcial mosaic

  • xref (Integer)

    Position of reference tie-point

  • yref (Integer)

    Position of reference tie-point

  • xsec (Integer)

    Position of secondary tie-point

  • ysec (Integer)

    Position of secondary tie-point

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

    Set of options

Options Hash (opts):

  • :hwindow (Integer)

    Half window size

  • :harea (Integer)

    Half area size

  • :mblend (Integer)

    Maximum blend size

  • :bandno (Integer)

    Band to search for features on

  • :dx0 (Integer)

    Output -- Detected integer offset

  • :dy0 (Integer)

    Output -- Detected integer offset

  • :scale1 (Float)

    Output -- Detected scale

  • :angle1 (Float)

    Output -- Detected rotation

  • :dx1 (Float)

    Output -- Detected first-order displacement

  • :dy1 (Float)

    Output -- Detected first-order displacement

Returns:

  • (Vips::Image, Hash<Symbol => Object>)

    Output image, Hash of optional output items


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