PDA

查看完整版本 : [MATLAB图像处理] 关于彩图的小波分解问题讨论


海中沙
2012-09-05, 13:01
大家好 请问彩图做小波分解时应注意哪些问题?还有分解后的图像是否仍为彩图?
A=imread('m1.jpg');
>> [swa,swh,swv,swd]=swt2(A,2,'db1');

**********************************************
ERROR ...
----------------------------------------------
swt2 --->
The level of decomposition 2
and the size of the image (192,256)
are not compatible.
Suggested size: (192,256)
(see Image Extension Tool)

2^Level has to divide the size of the image.
**********************************************

??? Error using ==> swt2
Too many output arguments.
m1是一幅彩图 找不出问题 希望高手能帮帮忙 谢谢