Opened 5 months ago

Last modified 5 months ago

#7344 new enhancement

Support invks in resampling filter

Reported by: MonoS Owned by:
Priority: wish Component: swscale
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Could it be possible to implement an invks flag on swscale as in fmtconv plugin for vapoursynth?

Thanks for the attention.

Change History (2)

comment:1 Changed 5 months ago by cehoyos

  • Keywords resize removed

Would you like to tell us what invks is?

comment:2 Changed 5 months ago by MonoS

Of course, my apologies for not explaining it before:
invks means kernel inversion, this is an excerpt from fmtconv documentation:

Inverting the kernel allows to “undo” a previous upsizing by compensating the loss in high frequencies, giving a sharper and more accurate output than classic kernels, closer to the original.

I find it really useful when downscaling to achieve a quick and, in my opinion, nice sharp look without messing with other sharpening filter, it may introduce some aliasing artifact but i find them better looking than the kind of artifact from sharpening filters.
It may not be the correct solution in term of signal processing, but it gave me nice result in the majority of cases in a set and forget manner.

Note: See TracTickets for help on using tickets.