image contrast brightness adjust
Afficher commentaires plus anciens
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 commentaires
KSSV
le 14 Mar 2018
What error you facing? Show us the error and error line.
mohd akmal masud
le 14 Mar 2018
KSSV
le 14 Mar 2018
problem is at implay..I think imadjust is working fine.
mohd akmal masud
le 14 Mar 2018
KSSV
le 14 Mar 2018
What is class and size of out ?
simply try:
implay(Out)
mohd akmal masud
le 14 Mar 2018
mohd akmal masud
le 14 Mar 2018
KSSV
le 14 Mar 2018
implay(Out, [-182 292]);
What is Out class?
mohd akmal masud
le 14 Mar 2018
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Image Preview and Device Configuration dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!