Difference between revisions of "Debicubic"

From Avisynth wiki
Jump to: navigation, search
m (update links)
(Description: add note)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{FilterCat4|External_filters|Plugins|Adjustment_filters|Resizers}}
+
{{FilterCat5|External_filters|Plugins|Adjustment_filters|Resizers|Deep_color_tools}}
 
{{Filter3
 
{{Filter3
 
| Prunedtree  
 
| Prunedtree  
 
| r2
 
| r2
| [http://web.archive.org/web/20140622040033/http://rgb.chromashift.org/debicubic%20r2.zip debicubic r2.zip]
+
| [http://web.archive.org/web/20140622040033if_/http://rgb.chromashift.org/debicubic%20r2.zip debicubic r2.zip]
 
| Resize  
 
| Resize  
 
| Closed source
 
| Closed source
Line 9: Line 9:
 
<br>
 
<br>
 
== Description ==
 
== Description ==
This filter is designed to reverse the effects of bicubic upsampling. Parameters and sampling pattern try to mimic Avisynth's [[Resize|BicubicResize]].<br>
+
This filter is designed to reverse the effects of bicubic upsampling. Parameters and sampling pattern try to mimic Avisynth's [[Resize|BicubicResize]].
 
<br>
 
<br>
 +
<br>
 +
<span style="color:red">'''Note: [[Descale]] is recommended as a modern replacement for Debicubic.'''</span>
 +
<br>
 +
<br>
 +
 
== Requirements ==
 
== Requirements ==
* AviSynth 2.5.8 or later
+
* [x86]: [[AviSynth+]] or [https://sourceforge.net/projects/avisynth2/ AviSynth 2.5.8 or greater]
 
* Supported color formats: [[RGB24]], [[RGB32]], [[YV12]]
 
* Supported color formats: [[RGB24]], [[RGB32]], [[YV12]]
  
Line 64: Line 69:
 
!r2
 
!r2
 
|[http://web.archive.org/web/20140622040033/http://rgb.chromashift.org/debicubic%20r2.zip debicubic r2.zip]
 
|[http://web.archive.org/web/20140622040033/http://rgb.chromashift.org/debicubic%20r2.zip debicubic r2.zip]
|[http://rgb.chromashift.org/debicubic%20r2.zip debicubic r2.zip]
+
|
 
|}
 
|}
 
<br>
 
<br>

Latest revision as of 10:04, 8 February 2023

Abstract
Author Prunedtree
Version r2
Download debicubic r2.zip
Category Resize
License Closed source
Discussion


Description

This filter is designed to reverse the effects of bicubic upsampling. Parameters and sampling pattern try to mimic Avisynth's BicubicResize.

Note: Descale is recommended as a modern replacement for Debicubic.

Requirements


Limitations

  • Sampling at 1:1 resolution is known to be unstable.
  • This filter is not made for upsampling.


Syntax and Parameters

debicubic (clip, int target_width, int target_height, float "src_left", float "src_top", float "src_width", float "src_height", bool "lsb_inout", float "b", float "c")
debicubicY (clip, int target_width, int target_height, float "src_left", float "src_top", float "src_width", float "src_height", bool "lsb_inout", float "b", float "c")


clip   =
Input clip.


int  target_width =
int  target_height =
presumed 'native' resolution.


float  src_left = 0
float  src_top = 0
float  src_width =
float  src_height =
Optional crop rectangle in the input frame.


bool  lsb_inout = false
16-bit input and output; uses DitherTools' Stack16 format.


float  b =
float  c =
The parameters b and c can be used to adjust the properties of the cubic,
they are sometimes referred to as "blurring" and "ringing" respectively.


  • debicubicY ignores chroma planes.


Changelog

Version      Date            Changes
r2 08/31/2013 - r2 r1  ??/??/???? - initial release


Archived Downloads

Version Download Mirror
r2 debicubic r2.zip


External Links




Back to External Filters