DGCube

From Avisynth wiki
Revision as of 20:53, 11 August 2022 by Reel.Deal (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Abstract
Author Donald Graft
Version 2022/08/11
Download DGCube.zip
Category Adjustment Filters
License Closed source
Discussion DG Tools Support Forum

Contents

Description

AviSynth+ plugin to load and apply Adobe 3D LUTs to a clip. DGCube is a CUDA version of the AVSCube filter.

Requirements


Syntax and Parameters

DGCube (clip, string "cube", bool "fullrange", string "interp", int "device")


clip   =
Input clip; the filter receives and delivers the RGBP16 color space.


string  cube = ""
Full path of the 3D LUT file. This must be an Adobe *.cube file.


bool  fullrange = true
  • false : limited range
  • true : full range


string  interp = "tetrahedral"
String specifying the interpolation method: "tetrahedral" (default) or "trilinear".


int  device = 255
GPU device number to use. If device is 255 (default), then the GPU device will be automatically selected.


Examples

Apply 3D LUT to clip obtained from BlankClip:

BlankClip(pixel_type="RGBP16", color=$ff0000)
DGCube("...\test.cube")
ConvertToYUV420()

Apply 3D LUT to HDR10 PQ clip obtained from DGSource:

# Source
DGSource("THE GREAT WALL.dgi")
# From 4:2:0 10bit planar Limited Range to RGB Planar 16bit Full Range z_ConvertFormat(pixel_type="RGBP16", colorspace_op="2020:st2084:2020:limited=>rgb:st2084:2020:full", resample_filter_uv="spline64", dither_type="error_diffusion")
#Load and apply cube DGCube("PQ_to_BT709_slope.cube", fullrange=true, interp="tetrahedral")
# From RGB 16bit planar Full Range to YUV420 10bit planar Limited Range with dithering z_ConvertFormat(pixel_type="YUV420P10", colorspace_op="rgb:std-b67:2020:full=>2020:std-b67:2020:limited", resample_filter_uv="spline64", dither_type="error_diffusion")


Changelog

Version         Date            Changes
                2022/08/11      - VapourSynth support.
                                - 'device' parameter to select GPU device.
                                - Updated user manual.
                2022/08/10      - Added tetrahedral interpolation.
                2022/08/08      - Ability to open any size cube file, no longer limited to 65.
                2022/08/07      - Initial release


Archived Downloads

Version Download Mirror
2022/08/11 DGCube.zip DGCube.zip


External Links




Back to External Filters

Personal tools