How to make image intensity equalization for multiple images.
Mostrar comentarios más antiguos
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
Respuesta aceptada
Más respuestas (2)
Ivan Shorokhov
el 2 de Jul. de 2015
Image Analyst
el 2 de Jul. de 2015
1 voto
You can do linear scaling like kerem suggested. Another option is to use imhistmatch() to match images 2 and higher to image #1.
2 comentarios
Ivan Shorokhov
el 3 de Jul. de 2015
mohd akmal masud
el 14 de Mzo. de 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]);
Categorías
Más información sobre Image Processing Toolbox en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!