How to view image as axial?

3 views (last 30 days)
mohd akmal masud
mohd akmal masud on 25 Apr 2022
Answered: Pratyush Swain on 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)

Answers (1)

Pratyush Swain
Pratyush Swain on 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.

Categories

Find more on Images in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!