Opened 6 years ago

Last modified 6 years 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


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 by Carl Eugen Hoyos, 6 years ago

Keywords: resize removed

Would you like to tell us what invks is?

comment:2 by MonoS, 6 years ago

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.