필터 지우기
필터 지우기

how to apply DWT on a image and to extract energy from all the coeffecients?

조회 수: 2 (최근 30일)
how to apply DWT on a image and to extract energy from all the coeffecients?

답변 (1개)

Wayne King
Wayne King 2012년 10월 5일
편집: Wayne King 2012년 10월 5일
You can obtain a measure of relative contribution (percentage of energy in each of the detail images and the approximation image) with this:
load woman;
dwtmode('per');
[C,S] = wavedec(X,1,'db4');
TE = norm(C,2)^2;
[ca,ch,cv,cd] = dwt2(X,'db4','mode','per');
app_per = 100*(sum(abs(ca(:)).^2))/TE;
horiz_per = 100*(sum(abs(ch(:)).^2))/TE;
vert_per = 100*(sum(abs(cv(:)).^2))/TE;
diag_per = 100*(sum(abs(cd(:)).^2))/TE;

카테고리

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