Skip to content

[Feature Request] Adding support for only filtering a masked area #1

@kriNon

Description

@kriNon

Hey, I'm working on a script where I am using waifu2x in vapoursynth, and I'm trying to speed up how fast the script it. I am trying to use waifu2x as a antialiasing filter, and as such I am running waifu2x in YUV mode in the denoising mode only on the luma plane. It's working fairly well, but I was thinking, since it's an AA filter, I only need to run waifu2x on the edges of the clip, so if it were possible to give vs_mxnet an edge mask and only process those pixels.

This could also be used in other ways too, for example if someone were to create a function that generates a mask of areas with noise, then it would be possible to only denoise those areas.

Let me know what your thoughts are. If you're not interested at all then feel free to close this issue.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions