IDWT
조회 수: 2 (최근 30일)
이전 댓글 표시
i am facing a problem that after doing dwt2 on image say X if i do idwt2 with same cA cH cV cD output doesnt come same will u plz help
댓글 수: 0
채택된 답변
Wayne King
2012년 3월 23일
What do you mean by not the same?
load woman;
dwtmode('per');
[A,H,V,D] = dwt2(X,'db2');
Xrec = idwt2(A,H,V,D,'db2');
Y = Xrec-X;
max(Y(:))
This is on the order of 10^(-10) for the maximum difference between the two images. That is the same.
Are you changing the coefficients before you perform the inverse DWT?
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Discrete Multiresolution Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!