The Octave Forge package repository is no longer actively maintained. Please find Octave Packages at https://packages.octave.org.

Navigation

Operators and Keywords

Function List:

C++ API

: attrinfo = dicomfind(filename, attribute)
: attrinfo = dicomfind(info, attribute)

Find the location and value of an attribute in a dicom file or info structure.

Inputs

filename - filename to open.

info - dicominfo struct.

attribute - attribute name to find.

Outputs

attrinfo - a table with fields Location and Value for each matched attribute.

The Location value will be the attribute position in dot notation to show its position in dicom info structure.

Examples

filename = file_in_loadpath("imdata/rtstruct.dcm");

info = dicomfind(filename, "ROINumber");

Package: dicom