image contrast brightness adjust

2 visualizaciones (últimos 30 días)
mohd akmal masud
mohd akmal masud el 14 de Mzo. de 2018
Respondida: DGM el 9 de Abr. de 2023
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
KSSV el 14 de Mzo. de 2018
implay(Out, [-182 292]);
What is Out class?
mohd akmal masud
mohd akmal masud el 14 de Mzo. de 2018
Name Size Bytes Class Attributes
Out 512x512 524288 int16

Iniciar sesión para comentar.

Respuesta aceptada

DGM
DGM el 9 de Abr. de 2023
The second argument to implay() is the framerate in FPS. It's a scalar. I have no idea why you're passing it a vector including negative values, but that won't work.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by