how to do logarithmic image normalization?
Mostrar comentarios más antiguos
what is logarithmic image normalization?how to do it?(range is 0-255)
Respuesta aceptada
Más respuestas (1)
Anand
el 14 de Oct. de 2013
It sounds like you want to just take the log of the image and rescale the range from 0 to 255. This is something you might want to do to visualize a frequency domain signal. Here's how you can do that:
% take logarithm of image.
imLog = log(im);
% normalize
minLog = min(imLog(:));
maxLog = max(imLog(:));
imLogNorm = 255 * (imLog - minLog)./(maxLog-minLog);
Categorías
Más información sobre Image Filtering and Enhancement en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!