# doc-cache created by Octave 8.3.0
# name: cache
# type: cell
# rows: 3
# columns: 2
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 9
dicomfind


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 571
 -- 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 fior each matched
     attribute.

     Examples
     ........

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

          info = dicomfind(filename, "ROINumber");



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 78
Find the location and value of an attribute in a dicom file or info
structure.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 11
dicomupdate


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 821
 -- INFO = dicomupdate(FILEINFO, ATTRIBUTE, VALUE)
 -- INFO = dicomupdate(INFO, ATTRINFO)
     Update a dicom struct with new values

     Inputs
     ......

     INFO - dicominfo struct.

     ATTRIBUTE - attribute name to find and change value of.

     VALUE - attribute value to set.

     ATTRINFO - a table with fields Location and Value for each matched
     attribute to change.

     Outputs
     .......

     INFO - dicominfo struct.

     Examples
     ........

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

          % update specific values
          finfo = dicomfind(info, "ROINumber");
          finfo.Value{1} = 10;
          info = dicomupdate(info, finfo);

          % update all matching
          info = dicomupdate(info, "ROINumber", 100);



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 37
Update a dicom struct with new values





