Skip to content
Snippets Groups Projects
Commit 7dddc3d3 authored by Loic Marx's avatar Loic Marx
Browse files

delete the untracked file

parent d1d4fac1
No related branches found
No related tags found
2 merge requests!3Regular merge of develop,!2Seeg algorithm
% expand the brain mask to threshold the image so we don't get artifacts
% from everything that it causing them outside of
% the brain, besides the electrode head candidates
% CT_post = NiftiMod('seeg_electrode_additional_tryout_high_threshold_2.nii.gz');
% Brain_mask = NiftiMod('brain_mask.nii.gz');
brainMaskImg = Brain_mask.img;
structEl = strel('sphere', 3);
expndBrainMask = imdilate(brainMaskImg, structEl);
isosurface(expndBrainMask);
% compute the centroid of the CT to later map the electrode with the
% expanded brain Mask and get rid of the
stats_CT_post = regionprops(maskedImg);
centroid_CT_post = stats_CT_post.Centroid;
% compute the centroid of the expanded brain mask
stats_expndBrainMask = regionprops(expndBrainMask);
centroid_expndBrainMask = stats_expndBrainMask.Centroid;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment