Undefined function 'wprec2' for input arguments of type 'double'.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Balkar Singh
am 22 Aug. 2021
Kommentiert: Balkar Singh
am 24 Aug. 2021
I applied wpdec2 (Wavelet Packet transform) on a color image with size 512 * 512. It generates a subtree then I applied wpcoef to get it coefficients. On these coefficients I created blocks and apply DCT and inverse of DCT and blocks. Then i applied wprec2 after reverse process of block. Then i got a error as given below:
Undefined function 'wprec2' for input arguments of type 'double'.
Please help to troubleshoot this problem.
0 Kommentare
Akzeptierte Antwort
dpb
am 22 Aug. 2021
Without the actual code sequence we can't tell but the doc for wprec2 says it expects a wavelet packet tree object.
If you've munged on the output of wpdec2 to produce some output array of double, then you've broken the contract between the two of the forward/reverse transform.
All wprec2 promises is that it will reproduce X from the output of wdec2 operating on X
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Signal Analysis finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!