# Enblend

> Mediated Wiki article. Canonical URL: https://mediated.wiki/source/Enblend
> Markdown URL: https://mediated.wiki/source/Enblend.md
> Source: https://en.wikipedia.org/wiki/Enblend
> Source revision: 1327189734
> License: Creative Commons Attribution-ShareAlike 4.0 International (https://creativecommons.org/licenses/by-sa/4.0/)

{{short description|Software tool for merging images}}
{{Infobox software
| name = 
| logo = <!-- Image name is enough. -->
| logo alt = 
| logo caption = 
| screenshot = <!-- Image name is enough. -->
| screenshot size =
| screenshot alt = 
| caption = 
| collapsible = <!-- Any text here will collapse the screenshot. -->
| author = Andrew Mihal
| developer = Hugin team (Christoph Spiel)
| released = <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} -->
| discontinued = <!-- Set to yes if software is discontinued, otherwise omit. -->
| ver layout = <!-- simple (default) or stacked -->
| latest release version = {{wikidata|property|preferred|references|edit|P348|P548=Q2804309}}                                             | latest release date    = {{Start date and age|{{wikidata|qualifier|preferred|single|P348|P548=Q2804309|P577}}|df=yes}}
| repo = <!-- {{URL|example.org}} -->
| programming language = [C++](/source/C%2B%2B)
| engine = <!-- or engines -->
| operating system = [Cross-platform](/source/Cross-platform)
| platform = 
| included with = 
| size = 
| language = English
| language count = <!-- Number only -->
| language footnote = 
| genre = 
| license = [GNU GPL](/source/GNU_GPL) 2+
| alexa = 
| website = <!-- {{URL|example.org}} -->
| standard = 
| AsOf = 
}}
'''Enblend-Enfuse''' are [open source](/source/open_source) [console application](/source/console_application) created by Andrew Mihal and mostly maintained by Hugin developers. It consists of Enblend, an [image blending](/source/image_stitching) tool useful for creating [panorama](/source/panorama)s, and Enfuse, an [exposure fusion](/source/exposure_fusion) (HDR merging) and [focus stacking](/source/focus_stacking) tool that combines the depth of field and dynamic range from multiple images of the same scene ([bracketing](/source/bracketing)). Enblend-enfuse accepts images already aligned by other methods.<ref name=DOC>{{cite web |last1=Mihal |first1=Andrew |last2=Spiel |first2=Christoph |title=Combining Multiple Images with Enfuse 4.2 |url=https://enblend.sourceforge.net/enfuse.doc/enfuse_4.2.xhtml/enfuse.html |website=enblend.sourceforge.net |accessdate=11 May 2019}}</ref>

== Technique ==
Enblend uses the Burt-Adelson spline for blending.<ref>{{cite journal |last1=Burt |first1=Peter J. |last2=Adelson |first2=Edward H. |title=A multiresolution spline with application to image mosaics |journal=ACM Transactions on Graphics |date=1 October 1983 |volume=2 |issue=4 |pages=217–236 |doi=10.1145/245.247 |s2cid=316610 |url=http://persci.mit.edu/pub_pdfs/spline83.pdf}}</ref>

Enfuse uses the Mertens-Kautz-Van Reeth (MKVr) approach to exposure fusion, which does not require reconstructing an HDR intermediate. The MKVr approach involves blending images by quality estimates based on contrast, saturation, and well-exposedness.<ref name=Mertens>{{cite journal | title = Exposure Fusion | url = https://mericam.github.io/exposure_fusion/index.html | year = 2007 | journal = Pacific Graphics | last1 = Mertens | first1 = Tom | last2 = Kautz | first2 = Jan | last3 = Van Reeth | first3 = Frank | accessdate = 2011-01-21 | archive-date = 2019-05-11 | archive-url = https://web.archive.org/web/20190511084855/https://mericam.github.io/exposure_fusion/index.html | url-status = dead }}</ref> Enblend extends the estimate with a fourth term of [information entropy](/source/information_entropy), and allows the user to decide the weights of each quality estimator as well as specific implementations of the estimators. For example, a basic focus stack is combined in Enfuse by having the quality estimator only consider contrast, and by having the MKVr blending only use the single best-scoring pixel.<ref name=DOC/>

== Frontends ==

Enfuse is used in a number of other tools:
* [Hugin](/source/Hugin_(software)), an open-source panorama tool, uses Enblend-Enfuse for blending and HDR handling. Hugin provides align_image_stack, which aligns images so that Enfuse can process them.
* EnfuseGUI, an open source multi-processor GUI for enfuse mainly focused on HDR merging.<ref>{{cite web |title=EnfuseGUI |url=http://software.bergmark.com/enfuseGUI/Main.html |website=software.bergmark.com}}</ref>
* MacroFusion, another open source GUI for enfuse.<ref>{{cite web|author=|url=https://sourceforge.net/projects/macrofusion/|title=MacroFusion: GUI to combine photos to get deeper DOF or HDR|publisher=sourceforge.net |date= 27 November 2016|accessdate=2017-10-19}}</ref>
* [https://gpstamper.com/enfusion Enfusion], another Windows GUI for Enfuse, with a focus on simplicity.

== References ==
{{reflist}}

Category:Free photo stitching software
Category:Free software programmed in C++
Category:Software using the GNU General Public License
Category:Cross-platform free software

---
Adapted from the Wikipedia article [Enblend](https://en.wikipedia.org/wiki/Enblend) by Wikipedia contributors ([contributor history](https://en.wikipedia.org/wiki/Enblend?action=history)). Available under [Creative Commons Attribution-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/). Changes may have been made.
