Dicom package: Difference between revisions
Jump to navigation
Jump to search
no edit summary
Andybuckle (talk | contribs) (merged recent changes) |
No edit summary |
||
(20 intermediate revisions by 9 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.) | ||
*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) | |||
= See also = | |||
* | * {{Forge|dicom}} at [[Octave Forge]]. | ||
* | * [https://sourceforge.net/projects/gdcm/ Grassroots DICOM]. | ||
[[Category: | [[Category:Octave Forge]][[Category:Packages]] | ||
[[Category:Packages]] |