No BSD License  

Highlights from
Local Normalization

image thumbnail
from Local Normalization by Guanglei Xiong
Reduce the difference of the illumination.

testlocalnormalize.m
clear;close all;
im=imread('rice.png');
fim=mat2gray(im);
lnfim=localnormalize(fim,4,4);
lnfim=mat2gray(lnfim);
imshow(fim);
figure,imshow(lnfim);

Contact us at files@mathworks.com