matRad_exportDicom

Purpose ^

matRad function to export current workspace to DICOM.

Synopsis ^

function obj = matRad_exportDicom(obj)

Description ^

 matRad function to export current workspace to DICOM. 
 Function of matRad_DicomExporter
 
 call
   matRad_DicomExporter.matRad_exportDicom()

 References
   -

 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

 Copyright 2019 the matRad development team. 
 
 This file is part of the matRad project. It is subject to the license 
 terms in the LICENSE file found in the top-level directory of this 
 distribution and at https://github.com/e0404/matRad/LICENSES.txt. No part 
 of the matRad project, including this file, may be copied, modified, 
 propagated, or distributed except according to the terms contained in the 
 LICENSE file.

 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Cross-reference information ^

This function calls: This function is called by:

Source code ^

0001 function obj = matRad_exportDicom(obj)
0002 % matRad function to export current workspace to DICOM.
0003 % Function of matRad_DicomExporter
0004 %
0005 % call
0006 %   matRad_DicomExporter.matRad_exportDicom()
0007 %
0008 % References
0009 %   -
0010 %
0011 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0012 %
0013 % Copyright 2019 the matRad development team.
0014 %
0015 % This file is part of the matRad project. It is subject to the license
0016 % terms in the LICENSE file found in the top-level directory of this
0017 % distribution and at https://github.com/e0404/matRad/LICENSES.txt. No part
0018 % of the matRad project, including this file, may be copied, modified,
0019 % propagated, or distributed except according to the terms contained in the
0020 % LICENSE file.
0021 %
0022 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0023 
0024 if ~exist(obj.dicomDir)
0025     mkdir(obj.dicomDir);
0026 end
0027 
0028 %Name of Patient & Study
0029 %CT Series
0030 obj = matRad_exportDicomCt(obj);
0031 
0032 %RTStruct Series
0033 
0034 if ~isempty(obj.cst)
0035    obj = matRad_exportDicomRTStruct(obj);    
0036 end
0037 
0038 %if ~isempty(obj.pln)
0039 %    obj = matRad_exportDicomRTPlan(obj);
0040 %end
0041 
0042 if ~isempty(obj.resultGUI)
0043     obj = matRad_exportDicomRTDoses(obj);
0044 end
0045 
0046 %Pln Series
0047 
0048 %Dose Series
0049 end
0050

| Generated by m2html © 2005