필터 지우기
필터 지우기

How to convert axial CT image to sagittal images

조회 수: 16 (최근 30일)
praveen mirajkar
praveen mirajkar 2016년 6월 6일
이동: Matt J 2023년 11월 19일
Hi I have succesfully read dicom images into matlab and can visualize axial images as shown below
when I convert it to sagittal it looks somewhat like this
what is the reason and what is the proper way to convert axial to sagittal
image size is 512 X 512 and total of 379 slices are there
  댓글 수: 2
Anjani kowsik Padmanabhuni
Anjani kowsik Padmanabhuni 2020년 1월 30일
이동: Matt J 2023년 11월 19일
hi, i am facing the same problem. did you get the solution for this. I would appreciate if you can share the solution.
Thank you in advance.
Burak
Burak 2023년 11월 19일
How did you convert it into sagittal ? I am trying my sagittal image view into coronal but I could not do it

댓글을 달려면 로그인하십시오.

답변 (1개)

timstick
timstick 2022년 3월 25일
When you read in the files, it is usually not a guarantee they will come in "in order" from the smallest to largest z axis position. Use the sort function to fix this. You need to sort on the z position of the images, this should be the third element of the image position patient dicom tag.
So do this 1. Use dir to get names of all files in series 2. Write a for loop and read the files in using dicomread for the pixel data and dicominfo to get the z position from the third element of the image position patient element (some images also have a tag called slice location you can use) 3. Use the sort command to reorder the image once you finish reading them all in. Sort on the z position.
This will fix your issue. I've had the same problem when I started messing with dicom... ;)

카테고리

Help CenterFile Exchange에서 DICOM Format에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by