Skip to content

Commit

Permalink
Refactor: Removed pm_segment
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnAshburner committed Jan 13, 2025
1 parent a74bb29 commit c2c98e6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 710 deletions.
6 changes: 0 additions & 6 deletions toolbox/FieldMap/pm_brain_mask.m
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,6 @@
end

disp('Segmenting and extracting brain...');
%seg_flags.estimate.reg=flags.reg;
%seg_flags.graphics = flags.graphics;

% Updated to use renamed version of spm_segment
%VO = pm_segment(P.fname,flags.template,seg_flags);
%bmask = double(VO(1).dat)+double(VO(2).dat)+double(VO(3).dat)>0;
bmask = get_bmask(P.fname);
bmask = open_it(bmask,flags.nerode,flags.ndilate); % Do opening to get rid of scalp

Expand Down
Loading

0 comments on commit c2c98e6

Please sign in to comment.