Hello,
I have produced results for several cases, each time I want to put in ImageGridAmp, then visualize the cortex, I want to viuslise the left cortec like that:
so as you see I put the backgroung coler to white and I turn the cortex to specific direction,
but this is manually, doing this to more than 200 images will take lot of time, any suggestion for automatic script?
See the list of display functions in the Scripting tutorial:
https://neuroimage.usc.edu/brainstorm/Tutorials/Scripting#Reference:_Display_functions
Examples are available in the scripts that reproduce the introduction tutorials:
https://neuroimage.usc.edu/brainstorm/Tutorials/Scripting#Final_scripts
'subjectname', SubjectName, ...
'mrifile', {AnatDir, 'FreeSurfer'}, ...
'nvertices', 15000, ...
'nas', [127, 213, 139], ...
'lpa', [ 52, 113, 96], ...
'rpa', [202, 113, 91]);
% This automatically calls the SPM registration procedure because the AC/PC/IH points are not defined
%% ===== TUTORIAL #3: EXPLORE ANATOMY ================================================
% ===================================================================================
disp([10 'DEMO> Tutorial #3: Explore anatomy' 10]);
% Get subject definition
sSubject = bst_get('Subject', SubjectName);
% Get MRI file and surface files
MriFile = sSubject.Anatomy(sSubject.iAnatomy).FileName;
CortexFile = sSubject.Surface(sSubject.iCortex).FileName;
HeadFile = sSubject.Surface(sSubject.iScalp).FileName;
% Display MRI
hFigMri1 = view_mri(MriFile);