Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Eamon Doyle
roiTool
Commits
0a4916e9
Commit
0a4916e9
authored
Apr 10, 2024
by
Eamon Doyle
Browse files
minor verbosity fix
parent
7d901b47
Changes
1
Hide whitespace changes
Inline
Side-by-side
mergeRoiTool.m
View file @
0a4916e9
...
...
@@ -98,6 +98,7 @@ function pushbutton_save_Callback(hObject, eventdata, handles)
% handles structure with handles and user data (see GUIDATA)
lungMatrix
=
handles
.
lungMatrix
;
lungStats
=
handles
.
lungStats
;
gitInfo
=
handles
.
gitInfo
;
savePath
=
[
handles
.
path
'/mergeLungROI'
];
fname
=
handles
.
curName
;
...
...
@@ -105,7 +106,7 @@ if exist(savePath,'dir') ~= 7
mkdir
(
savePath
);
end
try
save
([
savePath
'/mergeLung-'
fname
'.mat'
],
'lungMatrix'
)
save
([
savePath
'/mergeLung-'
fname
'.mat'
],
'lungMatrix'
,
'lungStats'
,
'gitInfo'
);
set
(
handles
.
checkbox_saved
,
'Value'
,
1
,
'BackgroundColor'
,
'g'
);
axes
(
handles
.
axes1
);
%warn('here')
...
...
@@ -764,6 +765,10 @@ st = st + sprintf("\n\n\nVolumes:\n\nWarning these may be very wrong\n");
st
=
st
+
sprintf
(
" Estimated Total Lung Volume: %06.1f cc"
,
lungVol
);
st
=
st
+
sprintf
(
"\n\n\nMiscellaneous:\n\nMost people can ignore these\n"
);
st
=
st
+
sprintf
(
" LungGridSize: %i"
,
handles
.
lungGridSize
);
set
(
handles
.
statsTextbox
,
'String'
,
st
);
lungStats
=
struct
(
"countLungVoxels"
,
lungVoxels
...
...
...
@@ -771,8 +776,8 @@ lungStats = struct("countLungVoxels", lungVoxels...
,
"countHypointVoxels"
,
lungHypo
...
,
"countHyperintVoxels"
,
lungHyper
...
,
"countBronchodisplasticVoxels"
,
lungBronchodyslasia
...
,
"estimatedLungVolume"
,
lungVol
...
)
,
"estimatedLungVolume
CC
"
,
lungVol
...
)
;
handles
.
lungStats
=
lungStats
;
guidata
(
hObject
,
handles
);
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment