Use ImageJ to read DICOM header data
5 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
Image Analyst
2015-1-5
Here is an example of how to call ImageJ code from MATLAB: http://www.mathworks.com/matlabcentral/answers/165665-where-can-i-get-adaptive-histogram-equalization-ahe-plugin-in-imagej#comment_254406
2 个评论
Image Analyst
2015-1-6
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
2015-1-6
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.
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!