how to do logarithmic image normalization?
Show older comments
what is logarithmic image normalization?how to do it?(range is 0-255)
Accepted Answer
More Answers (1)
Anand
on 14 Oct 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);
Categories
Find more on Image Filtering and Enhancement in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!