figueiredo

PURPOSE ^

This script performs denoising using th emethod in:

SYNOPSIS ^

function [IMM]=figueiredo(Im2,Var)

DESCRIPTION ^

 This script performs denoising using th emethod in:
 "Bayesian wavelet-based image estimation using noninformative priors"
 M.A Figueiredo and R.D Nowak

 USO: [IMM]=figueiredo(Im2,Var)
 Im2 noisy image
 Var noise variance

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 % This script performs denoising using th emethod in:
0002 % "Bayesian wavelet-based image estimation using noninformative priors"
0003 % M.A Figueiredo and R.D Nowak
0004 %
0005 % USO: [IMM]=figueiredo(Im2,Var)
0006 % Im2 noisy image
0007 % Var noise variance
0008 
0009 function [IMM]=figueiredo(Im2,Var)
0010 
0011 orientaciones=cell(3,1);
0012 
0013 orientaciones{1}='H';
0014 orientaciones{2}='V';
0015 orientaciones{3}='D';
0016 pyr=[];
0017 pp=[];
0018 for subb=1:4
0019     for ori=1:3
0020         orientacion=orientaciones{ori};
0021 
0022         switch lower(orientacion)
0023             case 'h'
0024                 sub=1;
0025             case 'v'
0026                 sub=2;
0027             case 'd'
0028                 sub=3;
0029         end
0030 
0031         [histograma,valores,subbanda,subbandacrop]=marginal_2(Im2,subb,orientacion,256);
0032         [x_est]=estimation_figueiredo(subbanda,Var);
0033         pyr=[pyr x_est'];
0034 
0035     end
0036 end
0037 [QQ,ind]=buildwpyr(Im2,4);
0038 pyr=[pyr QQ(end-255:end)'];
0039 IMM=reconwpyr(pyr',ind);

Generated on Fri 07-Mar-2014 13:28:33 by m2html © 2005