How to view image as axial?

5 visualizzazioni (ultimi 30 giorni)
mohd akmal masud
mohd akmal masud il 25 Apr 2022
Risposto: Pratyush Swain il 17 Nov 2023
Dear all,
I have image SPECTCTLD_EM001_DS.dcm as attached. when I open it, the view as longitidunal.
How to view as axial as example attached. ? Im using imshow3D function as attached.
%% Read main set data
clc
clear all
close all
[spect map]=dicomread('SPECTCTLD_EM001_DS.dcm');
spect=(squeeze(spect));%smooth3
aa=size(spect);aa=aa(3);
figure, imshow3D(spect)

Risposte (1)

Pratyush Swain
Pratyush Swain il 17 Nov 2023
Hi mohd akmal masud,
I understand you want to view the dicom images axially. You can use the 'imshow3dfull' function instead of 'imshow3d' function to attain the required functionality as it allows axial(A),saggital(S) and coronal(C) views.
You may find a documentation on the function here:
Please find the following example that shows how to use the function:
[X,map] = dicomread("US-PAL-8-10x-echo.dcm");
X=squeeze(X);
figure, imshow3Dfull(X)
For more information on the 'dicomread' function, please refer the following link: https://www.mathworks.com/help/images/ref/dicomread.html
Hope this helps.

Categorie

Scopri di più su Images in Help Center e File Exchange

Prodotti


Release

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by