Log in

View Full Version : New Sharpening Function from Didée -'SeeSaw'


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 [13]

hnn
4th June 2017, 22:33
AFAIK, when "chroma" is not matching with any of its valid text values, is converted then to float (or integer before high-bit-depth things). Perhaps "ignore" is not a valid floating point number (yes, I know, it should give human readable error message instead).

Reading the old_readme in Masktools2 2.2.8

chroma("") : allow to set the mode of both chroma channels in a more user-friendly way. Possible strings
are "process" ( u=v=3 ), "copy" or "copy first" ( u=v=1 ), "copy second" ( u=v=4 ), "copy third" ( u=v=5 ),
"none" ( u=v=1 ) and finally, a number "xxx" ( u=v=-xxx )

and in the readme

Avisynth+ high bit depth support (incl. planar RGB, color spaces with alpha plane are supported from v2.2.7)
All filters are now supporting 10, 12, 14, 16 bits and float
Threshold and sc_value parameters are scaled automatically to the current bit depth (v2.2.5-) from a default 8-bit value.
Y,U,V,A (and parameters chroma/alpha) negative (memset) values are scaled automatically to the current bit depth (v2.2.7-, chroma/alpha v.2.2.8) from a default 8-bit value.
Default range of such parameters can be overridden to 8-16 bits or float. Disable parameter scaling with scaleparams="none"


So I tried chroma="none" and work only with masktools2-vb1-26

chroma="1" work


GradFun2DBmod also give a problem with the new Masktools2 in Avisynth 2.6 MT total crash

Crash details (best guess as to cause)

An out-of-bounds memory access (access violation) occurred in module 'VirtualDub'

reading address 000000CC


In Avisynth+ gray screen

Error reading source frame 0: Avisynth read error: CAVIStreamSynth: System exception - Access Violation at 0X000000CC


SmoothDeblock3 don't work with Avisynth+

Avisynth open failure:

Script error: expected a variable name
(SmoothDeblock3.avs, line 38, column 6)

Last line

function Dim(string arr, int size, val initValue)
{
# create "base" string variable whose value is its name. every Eval in internal array functions
# needs this to build the element's name
Eval("global " + arr + "=" + chr(34) + arr + chr(34))

# store size so that Length() is O(1)
Eval("global " + arr + "Length = " + string(size))

# create each element
global DimThunkVal = initValue # thunk requires this in case it's a clip
for(0, "<="+string(size), "+1", arr + ".set(i, " + thunk(initValue, "DimThunkVal") + ")")
}


I have written all here, thanks of support!

real.finder
8th June 2017, 14:20
chroma("") : allow to set the mode of both chroma channels in a more user-friendly way. Possible strings
are "process" ( u=v=3 ), "copy" or "copy first" ( u=v=1 ), "copy second" ( u=v=4 ), "copy third" ( u=v=5 ),
"none" ( u=v=1 ) and finally, a number "xxx" ( u=v=-xxx )


I think "copy" and "copy first" should be u=v=2

and added "ignore" that will be like "none" (u=v=1)

pinterf
8th June 2017, 15:26
I think "copy" and "copy first" should be u=v=2

and added "ignore" that will be like "none" (u=v=1)
Even "none" was not checked in my branch.
Now I have put both "ignore" and "none" to the valid chroma options.

Ilya87
31st March 2019, 16:16
I think "copy" and "copy first" should be u=v=2

and added "ignore" that will be like "none" (u=v=1)

I have the same problem with SmoothDeblock2(). What should I change in script to make it work?

Natty
1st April 2019, 09:55
where can i find latest version ?

ABurns
4th April 2019, 14:43
where can i find latest version ?

http://avisynth.nl/index.php/SeeSaw

That's the newest version I'm aware of.

StainlessS
4th April 2019, 16:17
The Version on Wiki is the one I updated in 2015, I presumably did not think the mod deserved an update to version number, and so is still v0.3e, no idea where the v0.3g description on wiki originates.

# SeeSaw v0.3e (02 Jan 2006)
# ( modded 15 Dec 2015 - see http://forum.doom9.org/showthread.php?p=1748710#post1748710 )
# Mod due to this change in v2.6: Force int call arguments to user script function float params to be explicit floats.

Reel.Deel
4th April 2019, 18:46
no idea where the v0.3g description on wiki originates.


That was me, I put g on the just to differentiate from previous version since is no longer identical. :o

orion44
9th June 2023, 05:01
I have read the AViSynth SeeSaw page, but I still don't know which parameters should I modify.

Can someone post SeeSaw parameters for very light, light, medium, and heavy sharpening? I just need to get a feel for how these parameters are used.

What are the most important parameters in SeeSaw?

kedautinh12
9th June 2023, 12:32
Seesaw latest ver
https://github.com/realfinder/AVS-Stuff/blob/Community/avs%202.5%20and%20up/seesaw.avsi