---
name: "enfuse-mp"
section: "1"
platform: "linux"
package: "enfuse"
version: "4.1.3+dfsg-2"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/enfuse"
---

# enfuse-mp(1)

poor man's HDR

Part of [enfuse(1)](/enfuse/1.md).

## NAME

enfuse - poor man's HDR

## SYNOPSIS

**enfuse** \[*options*\] \[*--output=IMAGE*\] *INPUT*...

## DESCRIPTION

Fuse INPUT images into a single IMAGE.

INPUT... are image filenames or response filenames.  Response filenames start with an "@" character.

### Common options:

- **-V**, **--version**

  output version information and exit

- **-h**, **--help**

  print this help message and exit

- **-l**, **--levels**=*LEVELS*

  limit number of blending LEVELS to use (1 to 29); negative number of LEVELS decreases maximum; "auto" restores the default automatic maximization

- **-o**, **--output**=*FILE*

  write output to FILE; default: "a.tif"

- **-v**, **--verbose**\[=*LEVEL*\]

  verbosely report progress; repeat to increase verbosity or directly set to LEVEL

- **-w**, **--wrap**\[=*MODE*\]

  wrap around image boundary, where MODE is "none", "horizontal", "vertical", or "both"; default: none; without argument the option selects horizontal wrapping

- **--compression**=*COMPRESSION*

  set compression of output image to COMPRESSION, where COMPRESSION is: "deflate", "jpeg", "lzw", "none", "packbits", for TIFF files and 0 to 100, or "jpeg", "jpeg-arith" for JPEG files, where "jpeg" and "jpeg-arith" accept a compression level

- **--layer-selector**=*ALGORITHM*

  set the layer selector ALGORITHM; default: "all-layers"; available algorithms are: "all-layers": select all layers in all images; "first-layer": select only first layer in each multi-layer image; "largest-layer": select largest layer in each multi-layer image; "no-layer": do not select any layer from any image;

- **--parameter**=*KEY1\[=VALUE1\]\[*:KEY2\[=VALUE2\]\[:...\]\]

  set one or more KEY-VALUE pairs

### Extended options:

- **-b** BLOCKSIZE

  image cache BLOCKSIZE in kilobytes; default: 2048KB

- **-c**, **--ciecam**

  use CIECAM02 to blend colors; disable with "--no-ciecam"

- **--fallback-profile**=*PROFILE-FILE*

  use the ICC profile from PROFILE-FILE instead of sRGB

- **-d**, **--depth**=*DEPTH*

  set the number of bits per channel of the output image, where DEPTH is "8", "16", "32", "r32", or "r64"

- **-g**

  associated-alpha hack for Gimp (before version 2) and Cinepaint

- **-f** WIDTHxHEIGHT\[+xXOFFSET+yYOFFSET\]

  manually set the size and position of the output image; useful for cropped and shifted input TIFF images, such as those produced by Nona

- **-m** CACHESIZE

  set image CACHESIZE in megabytes; default: 1024MB

### Fusion options:

- **--exposure-weight**=*WEIGHT*

  weight given to well-exposed pixels (0 \<= WEIGHT \<= 1); default: 1

- **--saturation-weight**=*WEIGHT*

  weight given to highly-saturated pixels (0 \<= WEIGHT \<= 1); default: 0.2

- **--contrast-weight**=*WEIGHT*

  weight given to pixels in high-contrast neighborhoods (0 \<= WEIGHT \<= 1); default: 0

- **--entropy-weight**=*WEIGHT*

  weight given to pixels in high entropy neighborhoods (0 \<= WEIGHT \<= 1); default: 0

- **--exposure-mu**=*MEAN*

  center also known as MEAN of Gaussian weighting function (0 \<= MEAN \<= 1); default: 0.5

- **--exposure-sigma**=*SIGMA*

  standard deviation of Gaussian weighting function (SIGMA \> 0); default: 0.2

- **--soft-mask**

  average over all masks; this is the default

- **--hard-mask**

  force hard blend masks and no averaging on finest scale; this is especially useful for focus stacks with thin and high contrast features, but leads to increased noise

### Expert options:

- **--exposure-cutoff**=*LOWERCUTOFF\[*:UPPERCUTOFF\[:LOWERPROJECTOR\[:UPPERPROJECTOR\]\]\]

  LOWERCUTOFF and UPPERCUTOFF are the values below or above of which pixels are weighted with zero weight in exposure weighting; append "%" signs for relative values; default: 0%:100%:anti-value:value

- **--contrast-window-size**=*SIZE*

  set window SIZE for local-contrast analysis (SIZE \>= 3); default: 5

- **--gray-projector**=*PROJECTOR*

  apply gray-scale PROJECTOR in exposure or contrast weighing, where PROJECTOR is one of "anti-value", "average", "l-star", "lightness", "luminance", "pl-star", "value", or "channel-mixer:RED-WEIGHT:GREEN-WEIGHT:BLUE-WEIGHT"; default: "average"

- **--contrast-edge-scale**=*EDGESCALE\[*:LCESCALE\[:LCEFACTOR\]\]

  set scale on which to look for edges; positive LCESCALE switches on local contrast enhancement by LCEFACTOR (EDGESCALE, LCESCALE, LCEFACTOR \>= 0); append "%" to LCESCALE for values relative to EDGESCALE; append "%" to LCEFACTOR for relative value; default: 0:0:0

- **--contrast-min-curvature**=*CURVATURE*

  minimum CURVATURE for an edge to qualify; append "%" for relative values; default: 0

- **--entropy-window-size**=*SIZE*

  set window SIZE for local entropy analysis (SIZE \>= 3); default: 3

- **--entropy-cutoff**=*LOWERCUTOFF\[*:UPPERCUTOFF\]

  LOWERCUTOFF is the value below of which pixels are treated as black and UPPERCUTOFF is the value above of which pixels are treated as white in the entropy weighting; append "%" signs for relative values; default: 0%:100%

- **--save-masks\[**=*SOFT-TEMPLATE\[*:HARD-TEMPLATE\]\]

  save weight masks in SOFT-TEMPLATE and HARD-TEMPLATE; conversion chars: "%i": mask index, "%n": mask number, "%p": full path, "%d": dirname, "%b": basename, "%f": filename, "%e": extension; lowercase characters refer to input images uppercase to the output image default: "softmask-%n.tif":"hardmask-%n.tif"

- **--load-masks\[**=*SOFT-TEMPLATE\[*:HARD-TEMPLATE\]\]

  skip calculation of weight maps and use the ones in the files matching the templates instead.  These can be either hard or soft masks.  For template syntax see "--save-masks"; default: "softmask-%n.tif":"hardmask-%n.tif"

Enfuse accepts arguments to any option in uppercase as well as in lowercase letters.

## AUTHOR

Written by Andrew Mihal and others.

## REPORTING BUGS

Report bugs at \<https://bugs.launchpad.net/enblend\>.

## COPYRIGHT

Copyright © 2004-2014 Andrew Mihal. License GPLv2+: GNU GPL version 2 or later \<http://www.gnu.org/licenses/gpl.html\>\
 This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

## SEE ALSO

The full documentation for **enfuse** is maintained as a Texinfo manual.  If the **info** and **enfuse** programs are properly installed at your site, the command

-

  **info enfuse**

should give you access to the complete manual.
