How to make image intensity equalization for multiple images.
Show older comments
Given: I have 9 gray-scale images of the same size with slightly different intensity.
Want: I want to make uniform intensity for all the images.
Currently done: Just now I'm doing image adjustment followed be image equalization for each single image, by using code below
for x=1:9
eq_image(:,:,x)=histeq(imadjust(some_image(:,:,x)));
figure(x); imshow(eq_image(:,:,x), []);
end
Needed: How to make intensity the same for all 9 images?
[ACKNOWLEDGMENTS]
Thank you for help: Kerem tezcan, Image Analyst
Accepted Answer
More Answers (2)
Ivan Shorokhov
on 2 Jul 2015
Image Analyst
on 2 Jul 2015
1 vote
You can do linear scaling like kerem suggested. Another option is to use imhistmatch() to match images 2 and higher to image #1.
2 Comments
Ivan Shorokhov
on 3 Jul 2015
mohd akmal masud
on 14 Mar 2018
Hi all
i want try open multiple images using implay. but want to change contrast first. Below is my code, but still error. anyone can help me.
P = zeros(512, 512, 313);
for K = 1 : 313
petname = sprintf('TRANSA001_CT%03d.dcm', K);
P(:,:,K) = dicomread(petname);
end
Out(:,:,K) = imadjust(P(:,:,K));
implay(Out, [-182 292]);
Categories
Find more on Image Processing Toolbox 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!