From Avisynth wiki
Jump to: navigation, search
Author wonkey_monkey
Version 24/09/2012
Download [x86]


Category Blending
License Closed source
Discussion Doom9 Thread


[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


[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

[edit] External Links

Back to External Filters

Personal tools