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 8: | Line 12: | ||
== Platforms == | == Platforms == | ||
− | |||
− | |||
*Linux. Tested on OpenSuSE 11.4 and Ubuntu. No known issues. GDCM is required: see below. | *Linux. Tested on OpenSuSE 11.4 and Ubuntu. No known issues. GDCM is required: see below. | ||
*mingw | *mingw | ||
**Ben Lindner's Octave 3.2.4 and the mingw build environment (gcc 4.4.0): dicom package 0.1.1 does not build against this older version of the Octave API. | **Ben Lindner's Octave 3.2.4 and the mingw build environment (gcc 4.4.0): dicom package 0.1.1 does not build against this older version of the Octave API. | ||
**Tatsuro/Nitzan's Octave 3.4.3 and mingw build environment (gcc 4.5.2): gdcm and dicom package build OK. Get segfault in ntdll.dll when one of the dicom*.oct files calls something from a gdcm*.dll. | **Tatsuro/Nitzan's Octave 3.4.3 and mingw build environment (gcc 4.5.2): gdcm and dicom package build OK. Get segfault in ntdll.dll when one of the dicom*.oct files calls something from a gdcm*.dll. | ||
− | * | + | *cygwin: gdcm 2.0.18-19 does not build. link error in gdcmMSFF. |
− | |||
==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 47: | ||
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 54: | ||
*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 77: | ||
**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]] |