Log in

View Full Version : Is there a box-filter resizer for AVIsynth?


Katie Boundary
21st May 2024, 05:36
It would be well-suited for extreme downscaling, but much faster than Arearesize.

poisondeathray
21st May 2024, 15:30
fmtconv has a box kernel

https://github.com/EleonoreMizo/fmtconv
https://htmlpreview.github.io/?https://github.com/EleonoreMizo/fmtconv/blob/master/doc/fmtconv.html#resample
http://avisynth.nl/index.php/Fmtconv

Katie Boundary
22nd May 2024, 05:56
fmtconv has a box kernel

https://github.com/EleonoreMizo/fmtconv
https://htmlpreview.github.io/?https://github.com/EleonoreMizo/fmtconv/blob/master/doc/fmtconv.html#resample
http://avisynth.nl/index.php/Fmtconv

Requires AVS+; doesn't work with regular AVIsynth

DTL
23rd May 2024, 20:31
With old AVS you can try GaussResize with the very low p-param. Also you not describe how much 'support/size' of the box do you want.

In AVS 2.6.0 sources I see support of GaussResize is not very small of 4.0. So I think it is 4.0x2 output samples width at least. And 4.0x2xdownscale_ratio of input samples. param is clipped to 0.1..100.0 so for box-like kernel p should be 0.1.