Error in the medical image display
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Sakshi Ahuja
el 14 de Dic. de 2019
Comentada: Sakshi Ahuja
el 16 de Dic. de 2019
I am having an image stored in structure array(attached). When I am trying to display the image it is not coming properly (attached). Code used:
V = 2225:1:2225;
N = numel(V);
for kk = 1:N
F = sprintf('%d.mat',V(kk));
S = load(F);
C= S.cjdata.image;
T_1 = squeeze(C);
imshow(T_1);
end
0 comentarios
Respuesta aceptada
Akira Agata
el 16 de Dic. de 2019
How about the following?
imshow(T_1,[]);
In addition, I believe the line 'T_1 = squeeze(C);' can be deleted.
Más respuestas (0)
Ver también
Categorías
Más información sobre Image Processing Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!