matRad_dummyCst

Purpose ^

matRad function to create a dummy cst struct for a ct

Synopsis ^

function cst = matRad_dummyCst(ct)

Description ^

 matRad function to create a dummy cst struct for a ct
 
 call
   cst = matRad_dummyCst(ct)

 input
   ct: matRad ct struct

 output
   cst: matRad cst struct

 References
   -

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

 Copyright 2015 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 cst = matRad_dummyCst(ct)
0002 % matRad function to create a dummy cst struct for a ct
0003 %
0004 % call
0005 %   cst = matRad_dummyCst(ct)
0006 %
0007 % input
0008 %   ct: matRad ct struct
0009 %
0010 % output
0011 %   cst: matRad cst struct
0012 %
0013 % References
0014 %   -
0015 %
0016 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0017 %
0018 % Copyright 2015 the matRad development team.
0019 %
0020 % This file is part of the matRad project. It is subject to the license
0021 % terms in the LICENSE file found in the top-level directory of this
0022 % distribution and at https://github.com/e0404/matRad/LICENSES.txt. No part
0023 % of the matRad project, including this file, may be copied, modified,
0024 % propagated, or distributed except according to the terms contained in the
0025 % LICENSE file.
0026 %
0027 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0028 
0029 warning('Did not find RTSS. Creating dummy segmentation for matRad.');
0030 
0031 % allocate
0032 cst = cell(1,6);
0033 
0034 % fill
0035 cst{1,1}          = 0; % first organ has number 0
0036 cst{1,2}          = 'dummyContour';
0037 cst{1,3}          = 'OAR';
0038 cst{1,4}{1}       = find(ct.cubeHU{1}>0.1);        
0039 cst{1,5}.Priority = 1;       
0040 
0041 % set default parameter for biological planning
0042 cst{1,5}.alphaX   = 0.1;
0043 cst{1,5}.betaX    = 0.05;
0044 cst{1,5}.Visible  = 1;
0045 cst{1,5}.visibleColor = [0 0 0];
0046 
0047 % define no objcetives
0048 cst{1,6}          = [];
0049

| Generated by m2html © 2005