How can I use the ITK library to load DICOM images on iOS?
I'm trying to show a DICOM image on the iPhone / iPad, and was looking at the ITK library as a way of doing this. Does anyon开发者_C百科e know how to build this library for iOS, or have any sample code for this?
I have been trying all the different libraries to show a DICOM file, but I need some help with an example so I can learn from it.
You can use GDCM with ITK to read DICOM, like : http://www.itk.org/Wiki/ITK/Examples/DICOM/ResampleDICOM
To build ITK on IOS, you can read : http://www.insight-journal.org/download/viewpdf/755/1
But you can use DCMFramework (used in OsiriX) or DCMTK presented in http://www.youtube.com/watch?v=Jvw1TUS4IK0 (to build DCMTK, you can read http://blog.skuld-project.net/index.php?post/2011/03/01/Skuld-on-IOS-part4-dcmtk or search on http://forum.dcmtk.org)
Here's a paper on building itk for ios.
http://www.sfu.ca/~zfh/IJ_755_1_BuildingITKinTheiPhone.pdf
The internal library used by ITK is GDCM. Simply grab it from sf.net:
http://sf.net/projects/gdcm
Instructions for building ITK on IOS are in the PDF at this site: Insight Journal Article
精彩评论