from vstools import vs, core, depth, Matrix, Colorspace
from vsdenoise import BM3DCPU
blank = core.std.BlankClip(format=vs.RGB48)
BM3DCPU(blank, sigma=10, matrix=Matrix.BT709, colorspace=Colorspace.YUV).final().set_output()
Traceback (most recent call last):
File "src/cython/vapoursynth.pyx", line 2866, in vapoursynth._vpy_evaluate
File "src/cython/vapoursynth.pyx", line 2867, in vapoursynth._vpy_evaluate
File "test123.vpy", line 6, in <module>
BM3DCPU(blank, sigma=10, matrix=Matrix.BT709, colorspace=Colorspace.YUV).final().set_output()
File "/home/morgan/.local/lib/python3.10/site-packages/vsdenoise/bm3d.py", line 391, in __init__
self.__post_init__()
File "/home/morgan/.local/lib/python3.10/site-packages/vsdenoise/bm3d.py", line 443, in __post_init__
self._pre_clip = self.cspconfig.prepare_clip(self.cspconfig.clip)
File "/home/morgan/.local/lib/python3.10/site-packages/vsdenoise/bm3d.py", line 88, in prepare_clip
clip = clip.resize.Bicubic(
File "src/cython/vapoursynth.pyx", line 2612, in vapoursynth.Function.__call__
vapoursynth.Error: Resize error: Matrix must be specified when converting to YUV or GRAY from RGB