image contrast brightness adjust
Mostrar comentarios más antiguos
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]);
9 comentarios
KSSV
el 14 de Mzo. de 2018
What error you facing? Show us the error and error line.
mohd akmal masud
el 14 de Mzo. de 2018
KSSV
el 14 de Mzo. de 2018
problem is at implay..I think imadjust is working fine.
mohd akmal masud
el 14 de Mzo. de 2018
KSSV
el 14 de Mzo. de 2018
What is class and size of out ?
simply try:
implay(Out)
mohd akmal masud
el 14 de Mzo. de 2018
mohd akmal masud
el 14 de Mzo. de 2018
KSSV
el 14 de Mzo. de 2018
implay(Out, [-182 292]);
What is Out class?
mohd akmal masud
el 14 de Mzo. de 2018
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Image Preview and Device Configuration 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!