SeeSaw

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (1 revision)
Line 1: Line 1:
{{FilterCat|External_filters|Other_filters|Multipurpose_filters}}
+
{{FilterCat|External_filters|Denoisers|Spatial_Denoisers}}
{{Filter|Didee|0.3e|[[Media:SeeSaw.avs|SeeSaw.avs]]|Sharpeners|
+
{{Filter|kiraru2003, xeon533
* YV12
+
|17.03.2003
|}}
+
|
{{Template:FuncDef|SeeSaw(clip  clp, clip "denoised", int "NRlimit",int "NRlimit2", float "Sstr", int "Slimit", float "Spower", float "SdampLo", float "SdampHi", float "Szp", float "bias", int "Smode", int "sootheT", int "sootheS", float "ssx", float "ssy") }}
+
|Spatial Denoisers
 
+
|
 
+
* Avisynth 2.5+
 
+
* YV12, YUY2
 +
|GPL v2}}
 +
{{Template:FuncDef|_2DCleanYUY2(int "interlaced", int "thresholdY", int "radiusX", int "radiusY", int "dmode", int "thresholdU", int "thresholdV")}}
  
 
== Abstract ==
 
== Abstract ==
SeeSaw is a function that uses a balance of denoising and sharpening to enhance a clip
+
This filter averages pixels in a configurable radius around a source pixel that are within a configurable threshold of the central pixel. This has the effect of blending low-level video noise while retaining sharp details.
 
+
=== Requires Filters ===
+
*[[RemoveGrain]] 1.x
+
*[[MaskTools2]]
+
  
 
== Description ==
 
== Description ==
This function provides a (simple) implementation of the "crystality sharpen" principle. In conjunction with a user-specified denoised clip, the aim is to enhance weak detail, hopefully without oversharpening or creating jaggies on strong detail, and produce a result that is temporally stable without detail shimmering, while keeping everything within reasonable bitrate requirements. This is done by intermixing source, denoised source and a modified sharpening process, in a seesaw-like manner.
 
  
 
{{Par|NRlimit|int|2}}
 
{{Par|NRlimit|int|2}}
 
Absolute limit for pixel change by denoising
 
Absolute limit for pixel change by denoising
 
{{Par|NRLimit2|int|NRlimit+1}}
 
Limit for intermediate denoising
 
 
{{Par|Sstr|float|1.5}}
 
Sharpening strength (don't touch this too much).
 
 
{{Par|Slimit|int|NRlimit+2}}
 
positive: absolute limit for pixel change by sharpening
 
negative: pixel's sharpening difference is reduced to diff=pow(diff,1/abs(limit))
 
 
{{Par|Spower|float|4}}
 
Exponent for modified sharpener.
 
 
{{Par|Szp|float|16+2}}
 
Zero point - below: overdrive sharpening - above: reduced sharpening.
 
 
{{Par|SdampLo|float|Spower+1}}
 
Reduces overdrive sharpening for very small changes.
 
 
{{Par|SdampHi|float|24}}
 
Further reduces sharpening for big sharpening changes. Try 15~30. "0" disables.
 
 
{{Par|bias|float|49}}
 
Bias towards detail ( >= 50 ), or towards calm result ( < 50 ).
 
 
{{Par|Smode|int|ssx<1.35 ? 11 : ssx<1.51 ? 20 : 19}}
 
Uh?
 
 
{{Par|sootheT|int|49}}
 
0=minimum, 100=maximum soothing of sharpener's temporal instability.
 
(-100 .. -1 : will chain 2 instances of temporal soothing.)
 
  
 
{{Par|sootheS|int|0}}
 
{{Par|sootheS|int|0}}
Line 59: Line 24:
 
{{Par|ss_y|float|1.5}}
 
{{Par|ss_y|float|1.5}}
 
SeeSaw doesn't require supersampling urgently,
 
SeeSaw doesn't require supersampling urgently,
if at all, small values ~1.25 seem to be enough.
 
  
 
== Examples ==
 
== Examples ==
 
<pre>
 
<pre>
 
avisource("Blah.avi")
 
avisource("Blah.avi")
SeeSaw()
 
 
</pre>
 
</pre>
  
 
<pre>
 
<pre>
a = TheNoisySource
 
b = a.YourPreferredDenoising()
 
SeeSaw( a, b, [parameters] )
 
 
</pre>
 
</pre>
  
 
== Links ==
 
== Links ==
Download: [[Media:SeeSaw.avs|SeeSaw.avs]] : Current version, using masktools2.<br/>
+
Download:  
Discussion: [http://forum.doom9.org/showthread.php?t=104701 Doom9 thread.]
+
Discussion: [ Doom9 thread.]

Revision as of 03:07, 1 July 2013

Abstract
Author kiraru2003, xeon533
Version 17.03.2003
Download
Category Spatial Denoisers
Requirements
  • Avisynth 2.5+
  • YV12, YUY2
License GPL v2
Discussion

_2DCleanYUY2(int "interlaced", int "thresholdY", int "radiusX", int "radiusY", int "dmode", int "thresholdU", int "thresholdV")

Contents

 [hide

Abstract

This filter averages pixels in a configurable radius around a source pixel that are within a configurable threshold of the central pixel. This has the effect of blending low-level video noise while retaining sharp details.

Description

NRlimit int = 2
Absolute limit for pixel change by denoising

sootheS int = 0
0=minimum, 100=maximum smoothing of sharpener's spatial effect.

ss_x float = 1.5
ss_y float = 1.5
SeeSaw doesn't require supersampling urgently,

Examples

avisource("Blah.avi")

Links

Download: Discussion: [ Doom9 thread.]

Personal tools