Metadata-Version: 2.4
Name: vapoursynth-edgemasks
Version: 4.1
Summary: Creates an edge mask using various operators
Keywords: vapoursynth,edgemasks
License-Expression: MIT
License-File: LICENSE
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Plugins
Classifier: Natural Language :: English
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX
Classifier: Operating System :: Unix
Classifier: Programming Language :: C++
Classifier: Topic :: Multimedia :: Video
Project-URL: Repository, https://github.com/HolyWu/VapourSynth-EdgeMasks
Project-URL: Issues, https://github.com/HolyWu/VapourSynth-EdgeMasks/issues
Requires-Python: >=3.12
Requires-Dist: VapourSynth>=74
Description-Content-Type: text/markdown

# EdgeMasks

Creates an edge mask using various operators.


## Parameters

```py
edgemasks.Tritical(vnode clip[, int[] planes=[0, 1, 2], float[] scale=1.0, int opt=0])
edgemasks.Cross(vnode clip[, int[] planes=[0, 1, 2], float[] scale=1.0, int opt=0])
edgemasks.Prewitt(vnode clip[, int[] planes=[0, 1, 2], float[] scale=1.0, int opt=0])
edgemasks.Sobel(vnode clip[, int[] planes=[0, 1, 2], float[] scale=1.0, int opt=0])
edgemasks.Scharr(vnode clip[, int[] planes=[0, 1, 2], float[] scale=1.0, int opt=0])
edgemasks.RScharr(vnode clip[, int[] planes=[0, 1, 2], float[] scale=1.0, int opt=0])
edgemasks.Kroon(vnode clip[, int[] planes=[0, 1, 2], float[] scale=1.0, int opt=0])
edgemasks.Robinson3(vnode clip[, int[] planes=[0, 1, 2], float[] scale=1.0, int opt=0])
edgemasks.Robinson5(vnode clip[, int[] planes=[0, 1, 2], float[] scale=1.0, int opt=0])
edgemasks.Kirsch(vnode clip[, int[] planes=[0, 1, 2], float[] scale=1.0, int opt=0])
edgemasks.ExPrewitt(vnode clip[, int[] planes=[0, 1, 2], float[] scale=1.0, int opt=0])
edgemasks.ExSobel(vnode clip[, int[] planes=[0, 1, 2], float[] scale=1.0, int opt=0])
edgemasks.FDoG(vnode clip[, int[] planes=[0, 1, 2], float[] scale=1.0, int opt=0])
edgemasks.ExKirsch(vnode clip[, int[] planes=[0, 1, 2], float[] scale=1.0, int opt=0])
```

- 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. The output frames will have `_Range` set to 1 (full range).

- planes: Specifies which planes will be processed. Any unprocessed planes will be simply copied.

- scale: Multiplies all pixels by `scale` before outputting. This can be used to increase or decrease the intensity of edges in the output. Can be specified for each plane individually.

- opt: Specifies which cpu optimizations to use.
  - 0 = auto detect
  - 1 = use c
  - 2 = use sse4.1
  - 3 = use avx2
  - 4 = use avx512


## Installation

```
pip install -U vapoursynth-edgemasks
```
