Luky
Luky

Reputation: 5

reconstruct the decomposed image

I am applying Wavelet decomposition of 4 Level but enter image description herewhile reconstructing the same RGB image its coming in 3 parts. code is as below

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');

The forum is not allowing me to upload any image so please follow the below link

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

Upvotes: 0

Views: 86

Answers (1)

Shai
Shai

Reputation: 114796

Try

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

Upvotes: 1

Related Questions