LiQiufu / WaveSNet

32 stars 3 forks source link

Error use of wavelet.rec  and wavelet.dec? #3

Open wangshuxinxinxin opened 3 years ago

wangshuxinxinxin commented 3 years ago

Is the function wavelet.rec in DWT and wavelet.dec in IDWT reversed?

see https://github.com/fbcotter/pytorch_wavelets/blob/master/pytorch_wavelets/dwt/transform2d.py#L25 and https://github.com/fbcotter/pytorch_wavelets/blob/master/pytorch_wavelets/dwt/transform2d.py#L94

LiQiufu commented 3 years ago

Yes. The wavelet.rec and wavelet.dec can be reversed in DWT and IDWT.