Editing Dicom package
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | + | At an early development stage. [http://octave.svn.sourceforge.net/viewvc/octave/trunk/octave-forge/extra/dicom/ octave-forge svn] | |
+ | *Maintainer: Andy Buckle [http://sourceforge.net/sendmessage.php?touser=1760416contact] | ||
+ | *Currently worked on by: Kris Thielemans | ||
+ | |||
+ | Auto-generated docs from the current package: {{Forge|dicom}} | ||
== What is the aim of this package? == | == What is the aim of this package? == | ||
Line 6: | Line 10: | ||
This package provides functions to read and (eventually) write DICOM files. The functions in the package are intended to have similar usage as | This package provides functions to read and (eventually) write DICOM files. The functions in the package are intended to have similar usage as | ||
the dicom functions in the Matlab Image Processing Toolbox. In Octave they are separate: most image package users will not use dicom, and its dependency might be considered troublesome. | the dicom functions in the Matlab Image Processing Toolbox. In Octave they are separate: most image package users will not use dicom, and its dependency might be considered troublesome. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Supporting library== | ==Supporting library== | ||
− | [http:// | + | [http://sourceforge.net/apps/mediawiki/gdcm/index.php?title=Main_Page GCDM]. You can usually get this via your package manager, e.g. on Ubuntu |
sudo apt-get install libgdcm2.0 | sudo apt-get install libgdcm2.0 | ||
− | Alternatively, build it yourself. Get the source with | + | Alternatively, build it yourself. Get the source with subversion. |
− | + | svn co https://gdcm.svn.sourceforge.net/svnroot/gdcm/branches/gdcm-2-0 | |
cmake and g++ are required. create a gdcmbin directory parallel to the gdcm-2-0 directory. Change to gdcmbin and then run cmake (Linux/cygwin). | cmake and g++ are required. create a gdcmbin directory parallel to the gdcm-2-0 directory. Change to gdcmbin and then run cmake (Linux/cygwin). | ||
Line 46: | Line 40: | ||
cmake -G "MinGW Makefile" -DGDCM_BUILD_SHARED_LIBS=ON ..\gdcm-2-0 | cmake -G "MinGW Makefile" -DGDCM_BUILD_SHARED_LIBS=ON ..\gdcm-2-0 | ||
mingw32-make all | mingw32-make all | ||
− | |||
− | |||
− | |||
− | |||
==Features== | ==Features== | ||
Line 57: | Line 47: | ||
*dicomlookup (keyword <-> tag) | *dicomlookup (keyword <-> tag) | ||
*dicomread (load pixel data, 2D or 3D int types. Does not yield colormaps, yet.) | *dicomread (load pixel data, 2D or 3D int types. Does not yield colormaps, yet.) | ||
− | |||
− | |||
− | |||
==Todo== | ==Todo== | ||
*dicomanon | *dicomanon | ||
+ | *dicomuid | ||
+ | *dicomwrite | ||
+ | *isdicom | ||
==Questions== | ==Questions== | ||
Line 80: | Line 70: | ||
**silently convert the metadata to match the pixel type? | **silently convert the metadata to match the pixel type? | ||
**error and do nothing? | **error and do nothing? | ||
− | + | *What does dicominfo do when a tag is not in its dictionary. Answer: assign to a field like Private_3243_0010 (as Matlab) | |
− | + | *dicominfo: Items in sequences are not necessarily the same, so are stored as nested structs like dcm.RTDoseROISequence?.Item_1.DoseUnits?(as Matlab) | |
− | *dicominfo: Items in sequences are not necessarily the same, so are stored as nested structs like dcm.RTDoseROISequence.Item_1.DoseUnits | ||
− | |||
== See also == | == See also == | ||
* {{Forge|dicom}} at [[Octave Forge]]. | * {{Forge|dicom}} at [[Octave Forge]]. | ||
− | * [ | + | * [http://sourceforge.net/projects/gdcm/ Grassroots DICOM]. |
− | [[Category: | + | [[Category:OctaveForge]] |
+ | [[Category:Packages]] |