重建分解的图像

时间:2015-03-30 10:35:05

标签: matlab image-processing wavelet

我正在应用4级的小波分解但是enter image description here,同时重建相同的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

1 个答案:

答案 0 :(得分:1)

尝试

fullRecon = reshape( fullRecon, size(fullRecon,1), [], 3 );