About image intensity equalization

2 views (last 30 days)
How to make two images intensity wise same(intensity eualization)

Accepted Answer

Walter Roberson
Walter Roberson on 20 Aug 2012
inten1 = sum(double(TheFirstImage(:)));
inten2 = sum(double(TheSecondImage(:)));
TheSecondImage = cast( TheSecondImage .* (inten1 ./ inten2), class(TheSecondImage));
However, the above has some subtle problems in areas that area already quite bright.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!