How to extract x,y,z coordinates from 3D Dicom Images?

15 views (last 30 days)
How to extract x,y,z coordinates from 3D Dicom Images? can any one share me idea's ?
  5 Comments

Sign in to comment.

Answers (2)

Walter Roberson
Walter Roberson on 14 Nov 2018
and be sure to follow the references right through to the stackoverflow page as the discussion there has key information about the handling of CT images, which are more complicated to get the position information from .

drummer
drummer on 29 Jan 2020
You can use the function imref3d
After knowing the world coordinates of your 3-D image, you can you the dicom tag that refers to your pixel dimensions.
info = dicominfo('yourImage.dcm');
vxlDimension = info.PixelSpacing;
vxlThickness = info.SliceThickness;
info.PixelSpacing returns x and y dimensions, so you can you vxlDimension(1) or vxlDimension(2) if they are isotropic voxels.
Cheers

Categories

Find more on DICOM Format in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!