0001 function [const] = define_bm_edit_app()
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013 const = struct;
0014
0015
0016
0017
0018 const.file_type = struct;
0019
0020 const.file_type.HEAD_FILE = 100;
0021
0022 const.file_type.BRAIN_FILE = 110;
0023
0024 const.file_type.CURRY_FILE = 120;
0025
0026 const.file_type.FACE_FILE = 130;
0027
0028 const.file_type.MASK_FILE = 140;
0029
0030 const.file_type.SPM_NORM_FILE = 150;
0031
0032
0033
0034 const.brain_data_type.SURF_DATA = 200;
0035 const.brain_data_type.MASK_IMAGE_DATA = 201;
0036
0037
0038 const.surf_status.SURFACE_CLOSED = 300;
0039 const.surf_status.SURFACE_NOT_CLOSED = 301;
0040
0041
0042 const.parm_type = struct;
0043 const.parm_type.SURF_SMOOTH_PARM = 1;
0044 const.parm_type.SURF_SMOOTH_EXPAND_PARM = 2;
0045 const.parm_type.SURF_TO_FILLED_MASK_PARM = 3;
0046 const.parm_type.SEPARATE_SURF_PARM = 4;
0047 const.parm_type.COMBINE_SURF_PARM = 5;
0048 const.parm_type.CLOSE_SURF_PARM = 6;
0049 const.parm_type.MORPHOLOGY_OPERATION_PARM = 7;
0050 const.parm_type.SURF_EXTRACT_PARM = 8;
0051
0052
0053 const.DEFAULT_CONDUCTIVITY = 0;
0054
0055
0056
0057
0058 const.str.BRAIN_FILE_IMPORT_LEFT_BRAIN = 'Left brain';
0059 const.str.BRAIN_FILE_IMPORT_RIGHT_BRAIN = 'Right brain';
0060 const.str.BRAIN_FILE_IMPORT_WHOLE_BRAIN = 'Whole brain';
0061 const.str.SPM_NORM_FILE_IMPORT_BRAIN = 'Brain';
0062 const.str.SPM_NORM_FILE_IMPORT_CORTEX = 'Cortex';
0063 const.str.MASK_FILE_IMPORT_BRAIN = 'Brain';
0064 const.str.MASK_FILE_IMPORT_CORTEX = 'Cortex';