IDWT

1 次查看(过去 30 天)
kush
kush 2012-3-23
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

采纳的回答

Wayne King
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 个)

类别

Help CenterFile Exchange 中查找有关 Wavelet Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by