Debicubic

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (minor formatting)
(Description: add note)
 
(3 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://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 10: 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 68:
 
|-
 
|-
 
!r2
 
!r2
|[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://web.archive.org/web/20140622040033/http://rgb.chromashift.org/debicubic%20r2.zip debicubic r2.zip]
 +
|
 
|}
 
|}
 
<br>
 
<br>

Latest revision as of 09:04, 8 February 2023

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


Contents

[edit] 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.

[edit] Requirements


[edit] Limitations

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


[edit] 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.


[edit] Changelog

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


[edit] Archived Downloads

Version Download Mirror
r2 debicubic r2.zip


[edit] External Links




Back to External Filters

Personal tools