i have used dwt2 function for my input image? for approximation level i am getting blank image. what sould i do ?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Shan Sha
el 23 de Oct. de 2018
Comentada: Shan Sha
el 23 de Oct. de 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 comentarios
Respuesta aceptada
Rik
el 23 de Oct. de 2018
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.
Más respuestas (0)
Ver también
Categorías
Más información sobre Discrete Multiresolution Analysis en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!