Log in

View Full Version : Soothe() - small helper function for sharpening with less temporal jitter


Pages : 1 2 [3]

salehin
24th October 2007, 12:23
Re mod16: As foxyshadis said, it's not mandatory. But if you do that, then it is generally better for compression.

ok,but if i want to do it,how?

For more details see here (http://mewiki.project357.com/index.php/Guides:HDTV_Transcoding_Guide#Cropping_.26_Resizing)

ps: If you need further help then search doom9 for related thread and read. Then post your queries over there (not here, as it is not related this thread)

Vesi
24th October 2007, 13:36
ok,thanks again for your helps
Edit Firstly, download this collection of x264 matrices,
link is broken.

Nikos
27th August 2008, 18:52
With MC'ed temporal limiting which is the right place for soothe()?

a. Before limiting:
s = last
den =s.myden
sharp = den.mysharpen

calm = soothe(sharp, den, 49)
calm.mt_clamp(pmax, pmin, 1, 1, U=2, V=2)


b. after limiting:
s = last
den =s.myden
sharp = den.mysharpen

limS = sharp.mt_clamp(pmax, pmin, 1, 1, U=2, V=2)
soothe(limS, den, 49)


c. before and after limiting:
s = last
den =s.myden
sharp = den.mysharpen

calm = soothe(sharp, den, 49)
limS = calm.mt_clamp(pmax, pmin, 1, 1, U=2, V=2)
soothe(limS, den, 49)

orion44
13th July 2023, 13:59
Oh, oh-oh ... that's because I used the Soothe function of SeeSaw, which has the parameters inversed (in SeeSaw the meaning is not "keep", but rather "strength") ... Standalone Soothe doesn't even use "negative" values.

In this respect, it's all a big mess with Soothe. Agreed. :D


Need some clarification.

Can we use the standalone Soothe function with SeeSaw, or does SeeSaw already has a Soothe function built in?

real.finder
13th July 2023, 16:26
Need some clarification.

Can we use the standalone Soothe function with SeeSaw, or does SeeSaw already has a Soothe function built in?

you can use soothe of seesaw (SootheSS) from https://github.com/realfinder/AVS-Stuff/blob/54de25b916b9c816af57cc506eb572fb1762ded7/avs%202.5%20and%20up/Zs_RF_Shared.avsi#L140 (it is sh_SootheSS now)

TwoToad
28th August 2023, 02:21
Just an update:

Using Soothe() today with Avisynth+ x64, and MaskTools2 x64, I've been getting an error saying yv12lutxy is an invalid function. I believe this can be fixed by editing the soothe.avsi script and replacing yv12lutxy with mt_lutxy instead. There are 3 instances that need to be replaced.

Example:
"diff = yv12lutxy(orig,sharp,"x y - 128 +", U=1,V=1)" changes to "diff = mt_lutxy(orig,sharp,"x y - 128 +", U=1,V=1)".

Seems to work for me, but I'm an Avisynth idiot, so maybe someone better than me can confirm?

kedautinh12
28th August 2023, 04:16
Or you can try other development ver of Soothe
https://github.com/realfinder/AVS-Stuff/blob/8f401a28aca1eb742e2ab17d62042780dc2f58e7/avs%202.5%20and%20up/Zs_RF_Shared.avsi#L142