Use ImageJ to read DICOM header data
조회 수: 3 (최근 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.
참고 항목
카테고리
Help Center 및 File Exchange에서 DICOM Format에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!