MATLAB Answers

0

i have used dwt2 function for my input image? for approximation level i am getting blank image. what sould i do ?

Asked by Shan Sha on 23 Oct 2018
Latest activity Commented on by Shan Sha on 23 Oct 2018
i have used dwt2 function for my input image? for approximation level i am getting blank image. what should i do ? i have attached the output image and the input image. i used default function. please do suggest me an idea

  0 Comments

Sign in to comment.

Tags

1 Answer

Answer by Rik
on 23 Oct 2018
 Accepted Answer

Your image is not white. imshow assumes your data is scaled from 0 to 1 if it is a double, while your data is clearly not from 0 to 1.
imshow(A,[0 255])%scale to uint8 range, change to [] for auto-scaling.

  1 Comment

Sign in to comment.