Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|||||||
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 | Link |
|
Grand Fruitioner
Join Date: Mar 2004
Location: Chicago, IL
Posts: 115
|
Gamma-aware, dithered colorspace conversion and resizing
Hello all, I've made a new filter that performs gamma-corrected colorspace conversion and Spline36 resizing in a single function.
Download version 8 for 32-bit: http://sourceforge.net/projects/int6...8.zip/download Full Documentation: http://svn.int64.org/viewvc/int64/re...l?revision=341 Kernel visualization: http://svn.int64.org/viewvc/int64/re...c/kernels.html Usage: Code:
ResampleHQ(clip
[, int width]
[, int height]
[, string dstcolorspace]
[, string srcmatrix]
[, string dstmatrix]
[, bool dither]
[, float src_left]
[, float src_top]
[, float src_width]
[, float src_height]
[, string kernel]
[, float karg1]
[, float karg2]
[, float kblur_x]
[, float kblur_y]
[, string chroma_kernel]
[, float chroma_karg1]
[, float chroma_karg2])
Note: Dithering YV12 and YUY2 output is not currently supported and will come at a later version. Interlaced formats are also not supported. Here's an example from Avisynth's gamma-ignorant Spline36Resize: ![]() And now here's the gamma-aware ResampleHQ version: ![]() Note how the ResampleHQ image is much brighter overall, and shows faint light in completely new places around Canada, Alaska, western United States, and along coastlines. This image was cherry-picked to show how off Avisynth's resizers can be with sharp contrast. Most video will show far less improvement. Last edited by PhrostByte; 25th August 2011 at 04:57. Reason: add v8 |
|
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|