swt based image resolution enhancement

17 visualizaciones (últimos 30 días)
beenu singh
beenu singh el 17 de Jun. de 2013
Comentada: abc hello el 1 de Jul. de 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 comentarios
kelvin sako
kelvin sako el 26 de Nov. de 2014
hi bro can you help me your code please
abc hello
abc hello el 1 de Jul. de 2021
@beenu singh can I get the correct version of the code you asked above.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Discrete Multiresolution Analysis en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by