Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|
#22 | Link | |
|
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 5,407
|
Quote:
Perhaps the problem comes from using overly aggressive settings, which make the result look bad already at the supersampled stage, so much that the final downscale can't rescue the damage anymore ... In case it's because of the inherent blurring that happens during downscaling - that effect can be combat'ed, too. Just highpass the downscaled difference before applying it.
__________________
- We´re at the beginning of the end of mankind´s childhood - My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!) |
|
|
|
|
|
|
#23 | Link |
|
Registered User
Join Date: Feb 2004
Location: USA
Posts: 1,348
|
There shouldn't be anything in ReCon that makes it produce more aliasing than an equivalent strength unsharpmask. Everything that inherently needs supersampling effectively already has it. The butterfly has aliasing because the sharpening settings used on it are of the same strength as unsharp(vary=4, str=6), which also produces aliasing.
The vast majority of the time ReCon is just sharpening aliasing that was already there. I can't prevent that without also preventing it from sharping details that occupy the same space. If you look at the example image, you can see that the lines were not completely alias free before being sharpened. sssharp barely touches the lines, and doesn't reveal much aliasing. ReCon does sharpen the lines, and reveals aliasing. The two white dots indicate the places where ReCon actually screws up. The inherent blurring would probably be the only thing causing giving aa in this case. Anyway, the correct thing to do would be to rework the sharpening kernel to avoid sharpening high frequencies, which would do the same thing. Only problem is that I want to sharpen the high frequencies. Last edited by *.mp4 guy; 22nd June 2010 at 20:44. |
|
|
|
|
|
#24 | Link |
|
Angel of Night
![]() Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,567
|
The only thing that currently turns me off to ReCon relative to SSSharp is the way straight lines become dirty (looks like a cat chewed on them). Otherwise it's overall better. I looked at the problem but could think of no way to correct it without "correcting" most of the sharpening.
|
|
|
|
|
|
#25 | Link | |
|
Registered User
Join Date: Feb 2004
Location: USA
Posts: 1,348
|
Quote:
|
|
|
|
|
|
|
#26 | Link |
|
Registered User
Join Date: Apr 2005
Posts: 213
|
Having problems with bright areas after sharpening (see branches in the middle of the pictures). To show the effect, I started with an aggressive setting (example 1). But the effect is also visible with a less aggressive setting (example 2).
Original >> Example 1 >> Example 2 >> |
|
|
|
|
|
#27 | Link | |
|
Registered User
Join Date: Feb 2004
Posts: 743
|
Quote:
![]() Uploaded with ImageShack.us ![]() Uploaded with ImageShack.us ![]() Uploaded with ImageShack.us My try at them. |
|
|
|
|
|
|
#30 | Link |
|
Warm and fuzzy
Join Date: Apr 2010
Location: Moscow, Russia
Posts: 206
|
Very interesting result (for me) is achieved using following code in following sequence (not another).
. Code:
MCSharpening() ReCon(str=4, rad=4, lmode=4) # various parameters function MCSharpening(clip source) http://forum.doom9.org/showthread.php?t=153170&page=3 . Code:
function MCSharpening(clip source)
{
str = 1 # strength of predictionfilter, don't change
#source = last
#comment out tblurnl if you don't have residual low frequency blotchiness which fft3d loves to leave on everything
pred_ = Source.fft3dfilter(bw=6, bh=6, ow=3, oh=3, bt=1, sigma=str, plane=4). \
fft3dfilter(bw=216, bh=216, ow=108, oh=108, bt=1, sigma=str/8, sigma2=str/4, sigma3=str/2, sigma4=str, plane=4).TblurNL(rad=2, thresh=4)
pred = pred_.ttempsmooth(maxr=7).gradfun2db(1.01) #.hqdn3d(0.1, 0.1, 1.5, 1.5).gradfun2db(1.01) is faster and nearly as good, except on scene changes
super = pred.MSuper(pel=2, hpad=16, vpad=16, sharp=2)
backward_vec2 = MAnalyse(super, isb = true, delta = 2, overlap=4, truemotion=true, dct=5)
backward_vec1 = MAnalyse(super, isb = true, delta = 1, overlap=4, truemotion=true, dct=5)
forward_vec1 = MAnalyse(super, isb = false, delta = 1, overlap=4, truemotion=true, dct=5)
forward_vec2 = MAnalyse(super, isb = false, delta = 2, overlap=4, truemotion=true, dct=5)
maskp1 = Source.mmask(forward_vec1 ,kind=1, ysc=255).UtoY()
maskp2 = Source.mmask(forward_vec2 ,kind=1, ysc=255).UtoY()
maskp3 = Source.mmask(backward_vec1,kind=1, ysc=255).UtoY()
maskp4 = Source.mmask(backward_vec2,kind=1, ysc=255).UtoY()
maskf = average(maskp1, 0.25, maskp2, 0.25, maskp3, 0.25, maskp4, 0.25).spline36resize(source.width, source.height)
smooth = pred_.gradfun2db(1.01)
source2 = MT_Merge(source, smooth, maskf)
source3 = source2.MDegrain2(super, backward_vec1,forward_vec1,backward_vec2,forward_vec2,thSAD=400)
source3
# remove temporally blurred high frequency crud, can cause blocking upon reencode
VagueDenoiser(method=4, nsteps=10, wavelet=2, Wiener=true, auxclip=pred, percent=95, chromaT=1.0, wratio=0.75, threshold=0.5)
return gradfun2db(1.01)
}
ReCon(str=4, rad=4, lmode=4) # various parameters http://forum.doom9.org/showthread.php?t=155030 Last edited by Jenyok; 22nd December 2011 at 10:23. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|