PDA

View Full Version : SharpAAMCMod tweaking


aNToK
20th June 2009, 22:10
Hi, I've looked everywhere I can think of, but I can't seem to find any documentation on SharpAAMCMod. I love the antialiasing effects, but I'd like to be able to tone down the strength a bit, as the defaults wipe out a bit more detail than I'd like. Couldn't find anything in the package it's part of. Are there any tweaks possible with this filter?

thewebchat
20th June 2009, 22:39
Impossible. All the AA methods have only two strengths: on and off. Now, you might get SharpAAMCMod (lol) to look less lame if you stripped out all the 9001 sharpeners and mocomp (lol) and maybe used a stricter edgemask.

Edit: Oh, I just remembered that SharpAAMCMod uses Sangnom. If you switch that for EEDI2 or nnedi2, it'll eat less details.

aNToK
20th June 2009, 22:51
I tried EEDI2, but it didn't seem to have enough effect. I'll give nnedi2 a try.

lansing
20th June 2009, 22:51
This is copy directly from the AnimeIVTC script:


aastr = default ( aastr, 255 ) # antialiasing strength
ds = default ( ds, 0.2 ) # strokes darkening strength
ShPre = default ( ShPre, 80 ) # Presharpening
ShPost = default ( ShPost, 300 ) # Postsharpening
SmPost = default ( SmPost, 100 ) # Postsmoothing
MC = default ( MC, true ) # Use post stabilization with Motion Compensation
MT = default ( MT, true ) # Use josey_wells' branch of MVTools
Tradius = default ( Tradius, 2 ) # 2 = MVDegrain2 / 3 = MVDegrain3 /// 28 = MVDegrain 28
assert(mt || tradius<4, "You must use MT=true with josey_wells' branch of MVTools to use a higher tradius than 3")
pel = default ( pel, 1 ) # accuracy of the motion estimation (Value can only be 1, 2 or 4. 1 means a precision to the pixel. 2 means a precision to half a pixel, 4 means a precision to quarter a pixel, produced by spatial interpolation (better but slower).)
ov = default ( ov, 4 ) # block overlap value (horizontal). Must be even and less than block size. (Higher = more precise & slower)
blk = default ( blk, 8 ) # Size of a block (horizontal). It's either 4, 8 or 16 ( default is 8 ). Larger blocks are less sensitive to noise, are faster, but also less accurate.
aatype = default ( aatype, "Sangnom" ) # Use Sangnom() or EEDI2() for anti-aliasing

aNToK
20th June 2009, 23:44
Hmm... If I read that right, then I should be able to tweak them something like this?

sharpaamcmod(aastr=50)


Tried the above, and it seemed to have a very slight difference though it may just be my eyes getting tired...

thewebchat
21st June 2009, 00:38
aastr = default ( aastr, 255 ) # antialiasing strength
ds = default ( ds, 0.2 ) # strokes darkening strength
ShPre = default ( ShPre, 80 ) # Presharpening
ShPost = default ( ShPost, 300 ) # Postsharpening
SmPost = default ( SmPost, 100 ) # Postsmoothing
MC = default ( MC, true ) # Use post stabilization with Motion Compensation
MT = default ( MT, true ) # Use josey_wells' branch of MVTools
Tradius = default ( Tradius, 2 ) # 2 = MVDegrain2 / 3 = MVDegrain3 /// 28 = MVDegrain 28
assert(mt || tradius<4, "You must use MT=true with josey_wells' branch of MVTools to use a higher tradius than 3")
pel = default ( pel, 1 ) # accuracy of the motion estimation (Value can only be 1, 2 or 4. 1 means a precision to the pixel. 2 means a precision to half a pixel, 4 means a precision to quarter a pixel, produced by spatial interpolation (better but slower).)
ov = default ( ov, 4 ) # block overlap value (horizontal). Must be even and less than block size. (Higher = more precise & slower)
blk = default ( blk, 8 ) # Size of a block (horizontal). It's either 4, 8 or 16 ( default is 8 ). Larger blocks are less sensitive to noise, are faster, but also less accurate.
aatype = default ( aatype, "Sangnom" ) # Use Sangnom() or EEDI2() for anti-aliasing


Let's see. ds, ShPre, ShPost, SmPost have nothing to do with aa strength (though they will bake the crap out of your video). MC/MT/Tradius/pel/ov/blk also have nothing to do with aa strength. "sharpaamcmod" doesn't accept "aatype" so that doesn't do anything. aastr can make sangnom slightly weaker, but you might as well just use eedi2/nnedi2 then.

aNToK
21st June 2009, 01:26
I'm running a pass with the strength cranked down a bit and seeing how it goes....