swt based image resolution enhancement

2 Ansichten (letzte 30 Tage)
beenu singh
beenu singh am 17 Jun. 2013
Kommentiert: abc hello am 1 Jul. 2021
i am performing following operation on lena image but result are noisy one pls suggest.
GRAY =imread(file); %% SWT Wavelet Transform starts for Original image dwtmode('per'); [Lo_D,Hi_D,Lo_R,Hi_R] = wfilters('db9'); [LLS,LHS,HLS,HHS]=swt2(GRAY,1,Lo_D,Hi_D);
%%DWT Wavwlet transform
[LLD,LHD,HLD,HHD]=dwt2(GRAY,Lo_D,Hi_D); % interpolation of high frequencies by 2 LHDI = imresize(LHD,2,'bicubic'); HLDI = imresize(HLD,2,'bicubic'); HHDI = imresize(HHD,2,'bicubic');
ELH = imadd(LHDI,LHS); EHL = imadd(HLDI,HLS); EHH = imadd(HHDI,HHS); scale=4; LLI2 = imresize(GRAY,scale/2,'bicubic'); LHI2 = imresize(ELH,scale/2,'bicubic'); HLI2 = imresize(EHL,scale/2,'bicubic'); HHI2 = imresize(EHH,scale/2,'bicubic');
%%IDWT Wavwlet transform
EnhancedImg = idwt2(LLI2,LHI2,HLI2,HHI2,'db9'); figure; imshow(EnhancedImg,[]); title('Enhanced Image');
  2 Kommentare
kelvin sako
kelvin sako am 26 Nov. 2014
hi bro can you help me your code please
abc hello
abc hello am 1 Jul. 2021
@beenu singh can I get the correct version of the code you asked above.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Discrete Multiresolution Analysis finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by