|
@@ -75,9 +75,11 @@ handles.uitable1.ColumnFormat{5}{1} = 'min';
|
|
handles.uitable1.ColumnFormat{5}{2} = 'max';
|
|
handles.uitable1.ColumnFormat{5}{2} = 'max';
|
|
handles.uitable1.ColumnFormat{5}{3} = 'min_sq';
|
|
handles.uitable1.ColumnFormat{5}{3} = 'min_sq';
|
|
handles.uitable1.ColumnFormat{5}{4} = 'max_sq';
|
|
handles.uitable1.ColumnFormat{5}{4} = 'max_sq';
|
|
-handles.uitable1.ColumnFormat{5}{5} = 'LeastSquare';
|
|
|
|
-handles.uitable1.ColumnFormat{5}{6} = 'min_perc_Volume';
|
|
|
|
-handles.uitable1.ColumnFormat{5}{7} = 'max_perc_Volume';
|
|
|
|
|
|
+handles.uitable1.ColumnFormat{5}{5} = 'min_exp';
|
|
|
|
+handles.uitable1.ColumnFormat{5}{6} = 'max_exp';
|
|
|
|
+handles.uitable1.ColumnFormat{5}{7} = 'LeastSquare';
|
|
|
|
+handles.uitable1.ColumnFormat{5}{8} = 'min_perc_Volume';
|
|
|
|
+handles.uitable1.ColumnFormat{5}{9} = 'max_perc_Volume';
|
|
|
|
|
|
% == populate the first entry ==
|
|
% == populate the first entry ==
|
|
handles.uitable1.Data = handles.uitable1.Data(1,:);
|
|
handles.uitable1.Data = handles.uitable1.Data(1,:);
|
|
@@ -188,9 +190,9 @@ for i = 1 : size(handles.uitable1.Data, 1)
|
|
if strcmp (handles.uitable1.Data{i,3}, 'Fixed dose')
|
|
if strcmp (handles.uitable1.Data{i,3}, 'Fixed dose')
|
|
goal_i.D_final = str2double(handles.uitable1.Data{i,4}) * ones(size(Geometry.data));
|
|
goal_i.D_final = str2double(handles.uitable1.Data{i,4}) * ones(size(Geometry.data));
|
|
elseif strcmp (handles.uitable1.Data{i,3}, 'Dose map')
|
|
elseif strcmp (handles.uitable1.Data{i,3}, 'Dose map')
|
|
- warning('Works only for NRRD (for now)')
|
|
|
|
-
|
|
|
|
|
|
+% warning('Works only for NRRD (for now)')
|
|
dose_in = nrrdread(handles.uitable1.Data{i,4});
|
|
dose_in = nrrdread(handles.uitable1.Data{i,4});
|
|
|
|
+ colorwash(Geometry.data-1000, dose_in, [-500, 500], [0, 1.5*(max(dose_in(:)))], 1, goal_i.name)
|
|
goal_i.D_final = dose_in(goal_i.ROI_idx);
|
|
goal_i.D_final = dose_in(goal_i.ROI_idx);
|
|
% loading of data comes here
|
|
% loading of data comes here
|
|
% matrix size checks
|
|
% matrix size checks
|
|
@@ -247,7 +249,7 @@ if eventdata.Indices(2) == 3;
|
|
mode = handles.uitable1.Data{eventdata.Indices(1), eventdata.Indices(2)}
|
|
mode = handles.uitable1.Data{eventdata.Indices(1), eventdata.Indices(2)}
|
|
switch mode
|
|
switch mode
|
|
case 'Dose map'
|
|
case 'Dose map'
|
|
- [FileName,PathName,FilterIndex] = uigetfile('F:\021_WiscPlan_data\FET_repeat_005_1\matlab_files\*.mat', 'Select dose reference file')
|
|
|
|
|
|
+ [FileName,PathName,FilterIndex] = uigetfile('F:\021_WiscPlan_data\FET_repeat_005_1\matlab_files\*.mat', 'Select dose reference file');
|
|
warning('loading of said profile comes here')
|
|
warning('loading of said profile comes here')
|
|
handles.uitable1.Data{eventdata.Indices(1), 4} = [PathName, FileName];
|
|
handles.uitable1.Data{eventdata.Indices(1), 4} = [PathName, FileName];
|
|
|
|
|