how to do logarithmic image normalization?
이전 댓글 표시
what is logarithmic image normalization?how to do it?(range is 0-255)
채택된 답변
추가 답변 (1개)
Anand
2013년 10월 14일
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);
카테고리
도움말 센터 및 File Exchange에서 Image Filtering and Enhancement에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!