From Wiki
Revision as of 12:23, 10 April 2022 by Thomas (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

verdandi is a tool to merge several images into a single image without a seam. It is similar to enblend and using similar command line switches. It tries to find the best seam, which is the least visible. Verdandi supports two different blend modes:

  • --seam=hard: The blend mode is using a hard blend: each pixel is taken from exact one image. This behaviour (Seam Carving) is similar to the blending function used in Adobes Photomerge.
  • --seam=blend: Blend the images in the gradient domain. The second image is here matched to the first image. This should reduce the differences between the images. But it is slower than the hard seam variant.


   verdandi --output=output.tif input1.tif input2.tif input3.tif

will merge the images input1.tif, input2.tif and input3.tif to output.tif.

  • --output=OUTPUT_FILENAME: The output filename. It has to include the extension to deduce the format of the output file.
  • --compression=COMPRESSION: Sets the compression for the output
    • For jpeg files use 0-100: This will set the quality of the jpeg file. Bigger number means better image quality.
    • For tiff files the following compressions are supported: PACKBITS, DEFLATE and LZW.
  • --seam=hard|blend: Sets the blend mode (see above)
  • --wrap: Wraparound the 360 deg border. Otherwise the left and right borders are treated independent of each other.

Edge fill

When supplying a single image with the --seam=blend switch verdandi fills the masked out edges with a (more or less) homogenous colour. This feature can be used e.g. to fill out missing edges in the sky.