You are on page 1of 2

23/1/2016

Menu
Home
Download

Download

SingleimageDeblurring(Motion
PSFEstimation)
[Clicktodownloadapackagewiththeexecutableandexamples]
Thisisancommandlineexecutableforsingleimageblind
deconvolution(includingmotionPSFestimation).Thecommand
is:
deblur.exeinFileNameoutFileNamekernelWidthkernelHeight
noiseStrdeblurStrengthgammaweight1weight2weight3
weight4weight5

Examples
Type"deblurExamples/picassoBlurImage.png
Examples/picassoOut.png27270.0080.2100000"inthe
commandlineandpressENTER.
Itisalsoallowedtoomitthelast6parametersandthe
commandcanbelike"deblurExamples/picassoBlurImage.png
Examples/picassoOut.png27270.0080.2".Thelast6
parametersinthiscasewillusedefaultvalues.
Therearetwoblurredimagesinthepackage.Deblurthem
respectivelybyexecutingthecorresponding.batfileinthe
Windows.

ParameterDefinition
thefilenameoftheblurredimage
(.bmp,.png,and.jpgfilesare
supported)
thefilenameoftheoutputimage
outFileName
(.bmp,.png,and.jpgfilesare
supported)
theestimatedwidth(inpixel)ofthe
kernelWidth
blurkernel
theestimatedheight(inpixel)of
kernelHeight
theblurkernel
measuringthelevelofimagenoise,
noiseStr
0.01bydefault
aparameteraffectingthe
deblurStrength completenessofdeblurring,0.2by
default
gamma
forgammacorrection,1bydefault
parametersforsuppressing
weight1~weight5
ringings,0,0,0,0,0bydefault
inFileName

ParameterTuning
Wesuggesttuningtheparameter"noiseStr".Inmanycases,
youcansimplyusethedefaultvaluesforallothersparameters.
Theguidelineisasfollows.
http://www.cse.cuhk.edu.hk/~leojia/programs/deblurring/deblurring.htm

1/2

23/1/2016

Download

kernelWidth/kernelHeight
noiseStr
gamma

largeenoughtocontain
thegroundtruthPSF
between[0.002,0.5]
between[1,2.5].
gamma=1meansno
gammacorrection.

SystemRequirement
WindowsXP,2003Server,or7.
Therequiredmemoryandthecomputationaltimedependonthe
sizeoftheblurimageandtheestimatedkernel.Forthe
"Picasso"examplewithsize800x532,thepeakmemory
requirementisabout490Megabytes.

VersionInformation
DistributionVersion1.0.Wehaveoptimizedthecodeandfixeda
numberofbugscausingmemoryleak.Afewparametersare
automaticallyadaptiveorwithfixedvaluestoreducethedifficulty
ofhandtuning.
Thisprogramwasextensivelytested,butisstillnotguaranteed
tobebugfreeandworkproperlywithallversionsofWindows.It
isforeducationandresearchONLY.Thealgorithmisbased
on"HighqualityMotionDeblurringfromaSingleImage"
publishedinSIGGRAPH2008.

***TheEnd***

http://www.cse.cuhk.edu.hk/~leojia/programs/deblurring/deblurring.htm

2/2

You might also like