0

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

1 Answer 1

1

Try

fullRecon = reshape( fullRecon, size(fullRecon,1), [], 3 );
4
  • Thank You its working but extra lining is coming Plz check the below link in.mathworks.com/matlabcentral/answers/…
    – Luky
    Mar 30, 2015 at 10:44
  • @Luky what is the new question?
    – Shai
    Mar 30, 2015 at 11:36
  • Actually its combining the image but some extra lining is coming ... Please check this link in.mathworks.com/matlabcentral/answers/…
    – Luky
    Mar 30, 2015 at 11:46
  • @Luky these artifacts exists in the original image and has nothing to do with the reshapeing of the result. It looks like some boundary effects, but it is difficult to answer without looking at the code that generated this result. You might consider asking a new question.
    – Shai
    Mar 30, 2015 at 11:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.