Fusion

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(redirect for convenient searching ** TODO: 'blending' category?)
 
(add 64-bit version and fix dead links)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
#REDIRECT [[External_filters#Averaging.2FLayering.2FMasking]]
+
{{FilterCat5|External_filters|Plugins|Plugins_x64|Adjustment_filters|Layering}}
{{FilterCat|External_filters|Adjustment_filters|TODO}}
+
{{Filter3
 +
| {{Author/David Horman}}
 +
| 24/09/2012
 +
| 3= [x86]<br>[http://horman.net/avisynth/download/fusion.zip fusion.zip]
 +
--------
 +
[x64]<br>[http://horman.net/avisynth/download/fusionx64.zip fusionx64.zip]
 +
| 4= Blending
 +
| 5= Closed source
 +
| 6= [https://forum.doom9.org/showthread.php?t=152109 Doom9 Thread]}}
 +
 
 +
== Description ==
 +
[[Fusion]] is a set of filters that use image pyramids to blend clips together (more commonly used in the creation of [https://en.wikipedia.org/wiki/High-dynamic-range_imaging HDR] images and image stitching).
 +
 
 +
<br>
 +
== Requirements ==
 +
* [x86] [[AviSynth+]] or [https://sourceforge.net/projects/avisynth2/ AviSynth 2.6.0]
 +
* [x64] [[AviSynth+]]
 +
* Supported color formats: [[RGB32]]
 +
<br>
 +
== [[Script variables|Syntax and Parameters]] ==
 +
 
 +
===fuse===
 +
Fuse two videos using the mask created by {{Template:FuncDef3|fusemask}}. As opposed to a normal mix of clips with a mask, {{Template:FuncDef3|fuse}} will "decompose" frames with a high pass filter, making a stack of different levels of detail. These levels are then blended separately before being recomposed into a final image.
 +
 
 +
:{{Template:FuncDef|fuse (clip, clip, clip, bool "clamp")}}
 +
<br>
 +
::{{Par2| |clip| }}
 +
:::Input clip 1.
 +
 
 +
::{{Par2| |clip| }}
 +
:::Input clip 2.
 +
 
 +
::{{Par2| |clip| }}
 +
:::Mask input clip; black represents clip 1, white represents clip 2.
 +
 
 +
::{{Par2|clamp|bool|false}}
 +
:::If true, it keeps each pixel value within the range of the two pixel values from each clip. It won't do anything if the pixel value is already between the two, which it usually is.
 +
<br>
 +
===fusemask===
 +
Creates a binary mask to pass to {{Template:FuncDef3|fuse}} and can be used to merge two differently exposed images of the same scene [https://forum.doom9.org/showpost.php?p=1384755&postcount=6].
 +
 
 +
:{{Template:FuncDef|fusemask (clip, clip, clip, float "exp")}}
 +
<br>
 +
::{{Par2| |clip| }}
 +
:::Input clip 1.
 +
 
 +
::{{Par2| |clip| }}
 +
:::Input clip 2.
 +
 
 +
::{{Par2|exp|float|0.5}}
 +
:::{{Template:FuncDef3|exp}} is a target exposure for the mask, and takes values between 0.0 and 1.0 (with 0.5 as the default).
 +
:::Some of the "harshness" that is evident in fusion's image can be mitigated slightly by blurring the fusemask.
 +
<br>
 +
===fusevis===
 +
Displays the "decomposed" frames.
 +
 
 +
:{{Template:FuncDef|fusemask (clip)}}
 +
<br>
 +
::{{Par2| |clip| }}
 +
:::Input clip.
 +
<br>
 +
== Examples ==
 +
'''TODO'''
 +
<br>
 +
<br>
 +
== Changelog ==
 +
Version      Date(D/M/Y)      Changes<br>
 +
              24/09/2012      - Add "clamp" parameter to fuse
 +
              31/12/2011      - Filter rewrite, only implements fuse and fusemask
 +
              21/03/2010      - Fix a couple of bugs, and include a new filter, fusemask.
 +
              16/01/2010      - Initial release
 +
<br>
 +
 
 +
== Archived Downloads ==
 +
{| class="wikitable" border="1"; width="600px"
 +
|-
 +
!!width="100px"| Version
 +
!!width="150px"| Download
 +
!!width="150px"| Mirror
 +
|-
 +
!24/09/2012
 +
|[http://horman.net/avisynth/download/fusion.zip fusion.zip]<br>[http://horman.net/avisynth/download/fusionx64.zip fusionx64.zip]
 +
|[https://web.archive.org/web/20130714193744/http://horman.net/fusion.zip fusion.zip]<br>[https://web.archive.org/web/20160304172234/http://horman.net/fusionx64.zip fusionx64.zip]
 +
|}
 +
<br>
 +
==External Links ==
 +
<br>
 +
<br>
 +
-----------------------------------------------
 +
'''Back to [[External_filters#Averaging.2FLayering.2FMasking|External Filters]] &larr;'''

Latest revision as of 20:44, 18 April 2020

Abstract
Author wonkey_monkey
Version 24/09/2012
Download [x86]
fusion.zip

[x64]
fusionx64.zip

Category Blending
License Closed source
Discussion Doom9 Thread

Contents

[edit] Description

Fusion is a set of filters that use image pyramids to blend clips together (more commonly used in the creation of HDR images and image stitching).


[edit] Requirements


[edit] Syntax and Parameters

[edit] fuse

Fuse two videos using the mask created by fusemask. As opposed to a normal mix of clips with a mask, fuse will "decompose" frames with a high pass filter, making a stack of different levels of detail. These levels are then blended separately before being recomposed into a final image.

fuse (clip, clip, clip, bool "clamp")


clip   =
Input clip 1.
clip   =
Input clip 2.
clip   =
Mask input clip; black represents clip 1, white represents clip 2.
bool  clamp = false
If true, it keeps each pixel value within the range of the two pixel values from each clip. It won't do anything if the pixel value is already between the two, which it usually is.


[edit] fusemask

Creates a binary mask to pass to fuse and can be used to merge two differently exposed images of the same scene [1].

fusemask (clip, clip, clip, float "exp")


clip   =
Input clip 1.
clip   =
Input clip 2.
float  exp = 0.5
exp is a target exposure for the mask, and takes values between 0.0 and 1.0 (with 0.5 as the default).
Some of the "harshness" that is evident in fusion's image can be mitigated slightly by blurring the fusemask.


[edit] fusevis

Displays the "decomposed" frames.

fusemask (clip)


clip   =
Input clip.


[edit] Examples

TODO

[edit] Changelog

Version      Date(D/M/Y)      Changes
24/09/2012 - Add "clamp" parameter to fuse 31/12/2011 - Filter rewrite, only implements fuse and fusemask 21/03/2010 - Fix a couple of bugs, and include a new filter, fusemask. 16/01/2010 - Initial release


[edit] Archived Downloads

Version Download Mirror
24/09/2012 fusion.zip
fusionx64.zip
fusion.zip
fusionx64.zip


[edit] External Links




Back to External Filters

Personal tools