View Full Version : Deblocking help !


xbox360
4th January 2011, 12:09
Hi I need help deblocking, here is a sample image to use:

http://img89.imageshack.us/img89/9582/deblocking.png

TBilateral + MSharpen
http://img831.imageshack.us/img831/9084/deblockingtbilateral.png

Dogway
4th January 2011, 12:31
look for deblockers here:
http://avisynth.org/mediawiki/External_filters

but dfttest is also a good deblocker and you also denoise at the same time!

contra2
GradFun2DBmod(thr=2.0,thrC=1.5,str=1.0,strC=0.2,radius=3,range=3,mode=3,temp=50,mask=true)
function contra2(last){
denoised=dfttestmc(sigma=80,tbsize=1,dither=1)
ContraSharpening(denoised, last)
return (last)
}
http://img821.imageshack.us/img821/4038/gzzh.png

Didée
4th January 2011, 19:19
Deblock(40) http://img141.imageshack.us/img141/466/deblock40.png (http://img141.imageshack.us/i/deblock40.png/)


BlindPP(CPU=4,quant=30,moderate_h=16,moderate_v=16) http://img560.imageshack.us/img560/1128/blindpp.png (http://img560.imageshack.us/i/blindpp.png/)


fft3dfilter(sigma=12,sigma2=6,sigma3=4,sigma4=2,bw=16,bh=16,ow=8,oh=8,bt=1,plane=4)
gradfun2db(1.76) http://img202.imageshack.us/img202/5425/fft3dfilter.png (http://img202.imageshack.us/i/fft3dfilter.png/)


* * * * *

deen("a2d",7,7,7,7,7,7/77.).gradfun2db(77/7/7.) http://img153.imageshack.us/img153/7916/deendeblock.png (http://img153.imageshack.us/i/deendeblock.png/)

Mounir
4th January 2011, 22:52
msu smart deblocking 0.8 + fft3dgpu + gradfunmod
http://img89.imageshack.us/img89/5031/deblock.png


LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\FFT3dGPU.dll")
# GradFun2DBmod
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\gradfun2db-v1.0\gradfun2db.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\addgrainc_1.4\AddGrainC.dll")
Import("C:\Program Files\AviSynth 2.5\plugins\GradFun2DBmod.v1.5.avsi")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\masktools-v2.0a36\mt_masktools-25.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\RemoveGrain_v1.0\RemoveGrainSSE3.dll")
#
function int2mode(int index) { return Select(index, "classic", "levels", "color") } # HISTOGRAM
ImageSource("C:\deblocking-%04d.png", 1, 4, 25.000, use_DevIL = true)
AssumeFrameBased
ConverttoRGB32(matrix="Rec601",interlaced=false)
LoadVirtualdubplugin("C:\Program Files\VirtualDubMod\plugins\MSU_SmartDeblock_0.8.vdf", "MSU_Smart_Deblocking",0)
MSU_Smart_Deblocking(1, 1, 1, 1)
ConverttoYUY2(matrix="Rec601",interlaced=false)
fft3dgpu(bt=1,sigma=3.0,sharpen=0,plane=4,mode=1,precision=2,interlaced=false,oldfft=false)
ConverttoYV12(interlaced=false)
GradFun2DBmod(str=[<"Grain Strengh", 1.0, 10.0, 1.3>]) # YV12 only
ColorYUV(analyze=true)
Histogram(int2mode([<"HistogramMode", 0, 2, 1>])) # HISTOGRAM

Usedocne
5th January 2011, 13:38
From a quick glance, I'd say Dogway's efforts look the nicest.

Mounir
6th January 2011, 04:41
That's because you don't have a full hd monitor you say this...it's among the nicest though

Boulotaur2024
6th January 2011, 16:09
look for deblockers here:
http://avisynth.org/mediawiki/External_filters

but dfttest is also a good deblocker and you also denoise at the same time!


http://img821.imageshack.us/img821/4038/gzzh.png
Wow, very interesting, I mean the whole combination of (contra) sharpening the denoised clip...
I'll have to remember that ty !

Dogway
6th January 2011, 16:21
Thanks Didée, he created the script!

Usedocne
6th January 2011, 17:34
That's because you don't have a full hd monitor you say this...it's among the nicest though

http://img341.imageshack.us/img341/2918/deblockartifact.png (http://img341.imageshack.us/i/deblockartifact.png/)

They are good enough to know that that shouldn't be there. :devil: