Getting DICOM viewer to view DICOM images in order of sequence ID

7 views (last 30 days)
Hello, thanks for reading this,
I have a problem with getting DICOM images to be viewed in order. By this I mean view the image from the top, and have each consecutive slice be the next one down in the transverse plane.
I can view a directory using dicomread and a for loop, but when I do, the images do not appear in order in the transverse plane, they jump between multiple slices in a random order. I don't think this is MATLAB's fault; instead, I think the files were saved out of order when our machine saved the images to file.
I can import any of the sequenced files into ITK SNAP, and have the images appear in order of the sequence ID, but I haven't done much work outside of this. Is it possible for MATLAB to do something similar, which will allow me to view the DICOM images in order?
Thanks for your advice

Accepted Answer

Sean de Wolski
Sean de Wolski on 26 Jul 2013
There are a lot of good dicom reader and viewer apps on the File Exchange:
  9 Comments
Evolution
Evolution on 20 Aug 2016
thank you Matt.Your code was perfect and it solved my problem too.

Sign in to comment.

More Answers (0)

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!