Jaded-Encoding-Thaumaturgy / vs-denoise

VapourSynth denoising, regression, and motion compensation functions
MIT License
18 stars 6 forks source link

Planes pararmeter under `frequency_merge` for delowpass is faulty #119

Closed srappan closed 4 months ago

srappan commented 5 months ago
blur = (1 + 3/8)
delowpass = vsd.frequency_merge(
    [jpbd, cr],
    mode_low=jpbd,
    mode_high=cr,
    planes=[0],
    lowpass=[
        None,
        lambda i: core.fmtc.resample(
            i,
            h=1080,
            w=1920,
            kernel="lanczos",
            taps=[3*blur],
            fv=[1/blur],
            fh=[1/blur],
        ),
    ],
)

Setting planes=[0] should only affect luma, but both chroma planes are also affected.

Screenshots of 'U' plane mode_high python_CR

mode_low python_JPBD

merge python_Delowpass

ghost commented 5 months ago

Not related to lowpass filter used