swt based image resolution enhancement

조회 수: 17 (최근 30일)
beenu singh
beenu singh 2013년 6월 17일
댓글: abc hello 2021년 7월 1일
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
kelvin sako
kelvin sako 2014년 11월 26일
hi bro can you help me your code please
abc hello
abc hello 2021년 7월 1일
@beenu singh can I get the correct version of the code you asked above.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Discrete Multiresolution Analysis에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by