Use ImageJ to read DICOM header data

14 views (last 30 days)
Jered Wells
Jered Wells on 5 Jan 2015
Commented: Image Analyst on 6 Jan 2015
MATLAB's dicominfo function sometimes misreads DICOM header data. I'd like to automatically call ImageJ from the MATLAB command line to use it as a more stable DICOM interpreter. However, I am having syntax problems with calling ImageJ (java) functions and using programs like MIJ - I am not at all familiar with java! All I need is to port DICOM header data as interpreted by ImageJ into a MATLAB variable. Thanks for any help.

Answers (1)

Image Analyst
Image Analyst on 5 Jan 2015
  2 Comments
Image Analyst
Image Analyst on 6 Jan 2015
Jered's "Answer" moved here becasue it's a reply to me rather than an "Answer" to the original question:
Image Analyst, I looked at your link, and it looks promising. However, I'm afraid I don't know how to call the ImageJ DICOM interpreter. I assume it is stored in the ij.jar file (<http://imagej.nih.gov/ij/download.html)>. Any ideas how to call the DICOM metadata interpreter (getInfo? - getMetadata("Info")?) to provide specific fields like (0028,3010) and its daughters (0028,3002), (0028,3003), and (0028,3006)?
Image Analyst
Image Analyst on 6 Jan 2015
I haven't used DICOM in either MATLAB or ImageJ so I'm in the same boat as you. You'd be able to figure it out as well as I could. I don't even have any DICOM images to try anything with. I hope that showing you how to call an ImageJ plugin at least got you off to a good start and you'll eventually figure it out.

Sign in to comment.

Categories

Find more on DICOM Format in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!