Mercurial > hg > smallbox
diff Problems/AudioDeclipping_reconstruct.m @ 178:4ea4badb2266 danieleb
added ramirez dl (to be completed) and MOCOD dictionary update
author | Daniele Barchiesi <daniele.barchiesi@eecs.qmul.ac.uk> |
---|---|
date | Thu, 17 Nov 2011 11:22:17 +0000 |
parents | f42aa8bcb82f |
children |
line wrap: on
line diff
--- a/Problems/AudioDeclipping_reconstruct.m Thu Nov 17 11:18:25 2011 +0000 +++ b/Problems/AudioDeclipping_reconstruct.m Thu Nov 17 11:22:17 2011 +0000 @@ -1,8 +1,15 @@ -function reconstructed=AudioDeclipping_reconstruct(y, Problem, SparseDict) +function reconstructed = AudioDeclipping_reconstruct(y, Problem) %% Audio declipping Problem reconstruction function % % This reconstruction function is using sparse representation y % in dictionary Problem.A to reconstruct declipped audio. +% The output structure has following fields: +% audioAllSamples - signal with all samples taken from reconstructed +% signal +% audioOnlyClipped - only clipped samples are reconstructed, +% others are taken from original signal +% snrAll - psnr of whole signal +% snrMiss - psnr of the reconstructed clipped samples % % [1] I. Damnjanovic, M. E. P. Davies, and M. P. Plumbley "SMALLbox - an % evaluation framework for sparse representations and dictionary