Dicom package: Difference between revisions
(→Todo) |
No edit summary |
||
(6 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
The {{Forge|dicom}} package is part of the [[Octave Forge]] project. The package is currently maintained by John Donoghue. | |||
= What is the aim of this package? = | |||
Digital communications in medicine (DICOM) is an information standard. Originally created for image transfer, the standard now deals with an large range of medical data. See http://medical.nema.org/ for more info. | Digital communications in medicine (DICOM) is an information standard. Originally created for image transfer, the standard now deals with an large range of medical data. See http://medical.nema.org/ for more info. | ||
This package provides functions to read and | This package provides functions to read and 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. | ||
== | = Installation = | ||
== package requirements == | |||
The {{Forge|dicom}} package requires the [[http://gdcm.sourceforge.net/wiki/index.php/Main_Page GDCM]] libraries and include files to be installed in order to compile. | |||
for fedora: yum install gdcm-devel | |||
for ubuntu: apt install libgdcm-dev | |||
== octave installation == | |||
From octave commmand line: | |||
>> pkg install -forge dicom | |||
== Using it == | |||
Load it before any usage: | |||
>> pkg load dicom | |||
=Features= | |||
The following functions are available: | |||
*dicomdict (load different dict - file follows same format as Matlab's) | *dicomdict (load different dict - file follows same format as Matlab's) | ||
*dicominfo (load metadata into octave struct | *dicominfo (load metadata into octave struct) | ||
*dicomdisp (Display the structure of a dicom file) | |||
*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.) | ||
Line 61: | Line 41: | ||
*dicomuid (generate a DICOM unique id) | *dicomuid (generate a DICOM unique id) | ||
*isdicom (verify if a file is a DICOM formatted file) | *isdicom (verify if a file is a DICOM formatted file) | ||
*dicomanon(anonomize a file) | |||
*dicomfind(find an attribute in a file or dicom struct) | |||
*dicomupdate(Update an attribute value in a dicom struct) | |||
= See also = | |||
* {{Forge|dicom}} at [[Octave Forge]]. | * {{Forge|dicom}} at [[Octave Forge]]. | ||
* [ | * [https://sourceforge.net/projects/gdcm/ Grassroots DICOM]. | ||
[[Category:Octave | [[Category:Octave Forge]][[Category:Packages]] |
Latest revision as of 20:54, 1 July 2022
The dicom package is part of the Octave Forge project. The package is currently maintained by John Donoghue.
What is the aim of this package?[edit]
Digital communications in medicine (DICOM) is an information standard. Originally created for image transfer, the standard now deals with an large range of medical data. See http://medical.nema.org/ for more info.
This package provides functions to read and 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.
Installation[edit]
package requirements[edit]
The dicom package requires the [GDCM] libraries and include files to be installed in order to compile.
for fedora: yum install gdcm-devel
for ubuntu: apt install libgdcm-dev
octave installation[edit]
From octave commmand line:
>> pkg install -forge dicom
Using it[edit]
Load it before any usage:
>> pkg load dicom
Features[edit]
The following functions are available:
- dicomdict (load different dict - file follows same format as Matlab's)
- dicominfo (load metadata into octave struct)
- dicomdisp (Display the structure of a dicom file)
- dicomlookup (keyword <-> tag)
- dicomread (load pixel data, 2D or 3D int types. Does not yield colormaps, yet.)
- dicomwrite (write pixel data to a DICOM format file)
- dicomuid (generate a DICOM unique id)
- isdicom (verify if a file is a DICOM formatted file)
- dicomanon(anonomize a file)
- dicomfind(find an attribute in a file or dicom struct)
- dicomupdate(Update an attribute value in a dicom struct)