Why absolute value is multiplied by 100 in the code below?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Mereena Achu
el 28 de Jun. de 2015
Comentada: Mereena Achu
el 28 de Jun. de 2015
figure,imshow(abs(y-x)*100)
Respuesta aceptada
Image Analyst
el 28 de Jun. de 2015
I guess they wanted the image to be 100 times as bright. You'd have to ask the author. A better way might be
imshow(abs(y-x), []);
to scale the data to the maximum dynamic range the display can handle.
Más respuestas (0)
Ver también
Categorías
Más información sobre Convert Image Type 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!