我正在应用4级的小波分解但是,同时重建相同的RGB图像,它分为3部分。代码如下
fullRecon = cAA{nLevel};
for iLevel = nLevel:-1:1,
fullRecon = idwt2(fullRecon,cHH{iLevel},cVV{iLevel},cDD{iLevel},'db1');
end
figure, imshow(uint8(fullRecon)),title('Full Recont Image');
论坛不允许我上传任何图片,请按照以下链接
http://in.mathworks.com/matlabcentral/answers/195203-reconstruct-the-decomposed-image
答案 0 :(得分:1)
尝试
fullRecon = reshape( fullRecon, size(fullRecon,1), [], 3 );