All Projects → HomeOfVapourSynthEvolution → VapourSynth-TCanny

HomeOfVapourSynthEvolution / VapourSynth-TCanny

Licence: GPL-3.0 license
TCanny filter for VapourSynth

Programming Languages

C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to VapourSynth-TCanny

vs-mlrt
Efficient ML Filter Runtimes for VapourSynth (with built-in support for waifu2x, DPIR, RealESRGANv2, and Real-CUGAN)
Stars: ✭ 34 (+41.67%)
Mutual labels:  vapoursynth
MPV lazy
🔄 mpv player 播放器折腾记录 windows conf ; 中文注释配置 快速帮助萌新入门 ; mpv-lazy 懒人包 win10 x64
Stars: ✭ 615 (+2462.5%)
Mutual labels:  vapoursynth
vs-realesrgan
Real-ESRGAN function for VapourSynth
Stars: ✭ 27 (+12.5%)
Mutual labels:  vapoursynth
lvsfunc
lvsfunc, a collection of LightArrowsEXE's VapourSynth functions and wrappers
Stars: ✭ 51 (+112.5%)
Mutual labels:  vapoursynth
x265-encoder
x265EncoderGUI
Stars: ✭ 36 (+50%)
Mutual labels:  vapoursynth
encode-scripts
Scripts of our encodes
Stars: ✭ 69 (+187.5%)
Mutual labels:  vapoursynth
vapoursynth-preview
Preview for VapourSynth scripts
Stars: ✭ 68 (+183.33%)
Mutual labels:  vapoursynth
vs-dpir
DPIR function for VapourSynth
Stars: ✭ 26 (+8.33%)
Mutual labels:  vapoursynth
vs-basicvsrpp
BasicVSR++ function for VapourSynth
Stars: ✭ 33 (+37.5%)
Mutual labels:  vapoursynth
vapoursynth-portable-FATPACK
A (beginners) bundle with nearly all plugins, many usefull scripts and multiple editors. 64Bit only!
Stars: ✭ 74 (+208.33%)
Mutual labels:  vapoursynth
qvs
A simple GUI program for using VapourSynth/Avisynth Script previewed and encoded.
Stars: ✭ 34 (+41.67%)
Mutual labels:  vapoursynth
encode-scripts
Various scripts I use regarding encoding and stuff
Stars: ✭ 37 (+54.17%)
Mutual labels:  vapoursynth
yuuno
Yuuno = VapourSynth + Jupyter
Stars: ✭ 39 (+62.5%)
Mutual labels:  vapoursynth
kagefunc
A collection of Vapoursynth functions. kagefunc.py is the only relevant file for users
Stars: ✭ 44 (+83.33%)
Mutual labels:  vapoursynth
VSGAN
VapourSynth Single Image Super-Resolution Generative Adversarial Network (GAN)
Stars: ✭ 124 (+416.67%)
Mutual labels:  vapoursynth
VapourSynth-Super-Resolution-Helper
Setup scripts for ESRGAN/MXNet image/video upscaling in VapourSynth
Stars: ✭ 63 (+162.5%)
Mutual labels:  vapoursynth
staxrip
StaxRip is a video encoding app for Windows with a unrivaled feature set and usability.
Stars: ✭ 132 (+450%)
Mutual labels:  vapoursynth
VapourSynth-AddGrain
AddGrain filter for VapourSynth
Stars: ✭ 19 (-20.83%)
Mutual labels:  vapoursynth
havsfunc
Holy's ported AviSynth functions for VapourSynth
Stars: ✭ 87 (+262.5%)
Mutual labels:  vapoursynth

TCanny

Builds an edge map using canny edge detection.

Ported from AviSynth plugin http://bengal.missouri.edu/~kes25c/

Usage

tcanny.TCanny(vnode clip[, float[] sigma=1.5, float[] sigma_v=sigma, float t_h=8.0, float t_l=1.0, int mode=0, int op=1, float scale=1.0, int opt=0, int[] planes=[0, 1, 2]])
  • clip: Clip to process. Any format with either integer sample type of 8-16 bit depth or float sample type of 32 bit depth is supported.

  • sigma: Standard deviation of horizontal gaussian blur. Setting to 0 disables gaussian blur. If a single sigma is specified, it will be used for all planes. If two sigma are given then the second value will be used for the third plane as well.

  • sigma_v: Standard deviation of vertical gaussian blur.

  • t_h: High gradient magnitude threshold for hysteresis.

  • t_l: Low gradient magnitude threshold for hysteresis.

  • mode: Sets output format.

    • -1 = gaussian blur only
    • 0 = thresholded edge map (MAX_PIXEL_VALUE for edge, 0 for non-edge)
    • 1 = gradient magnitude map
  • op: Sets the operator for edge detection.

    • 0 = the operator used in tritical's original filter
    • 1 = the Prewitt operator whose use is proposed by P. Zhou et al. [1]
    • 2 = the Sobel operator
    • 3 = the Scharr operator
    • 4 = the Kroon operator
    • 5 = the Kirsch operator
    • 6 = the FDoG operator
  • scale: Multiplies the gradient by scale. This can be used to increase or decrease the intensity of edges in the output.

  • opt: Sets which cpu optimizations to use.

    • 0 = auto detect
    • 1 = use c
    • 2 = use sse2
    • 3 = use avx2
    • 4 = use avx512
  • planes: Sets which planes will be processed. Any unprocessed planes will be simply copied.

[1]: Zhou, P., Ye, W., & Wang, Q. (2011). An Improved Canny Algorithm for Edge Detection. Journal of Computational Information Systems, 7(5), 1516-1523.

Compilation

meson build
ninja -C build
ninja -C build install
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].