重建分解后的图像

reconstruct the decomposed image

我正在应用 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');

论坛不允许我上传任何图片所以请按照下面的link

http://in.mathworks.com/matlabcentral/answers/195203-reconstruct-the-decomposed-image

尝试

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