-
Notifications
You must be signed in to change notification settings - Fork 25
/
view_marking.m
39 lines (29 loc) · 1.91 KB
/
view_marking.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
%% Main script to view the markings of either the Allen Brain Observatory
% data or the Neurofinder data. Given the description for every field,
% please set appropriate vlaues to each field for the data.
%
% Note that the data should be in the correct format. Please refer the README
% file for details.
%
% Author: Somayyeh Soltanian-Zadeh
% Date: 6-10-2018
%
addpath(genpath('Software'))
opt.dataset = 'Allen'; %Choose between 'Allen' and 'Neurofinder'
opt.ID = '501484643'; % If dataset is 'Allen', ID is a 9-digit number
% as written in Table 1 of the manuscript (e.g., '501484643').
% If dataset is 'Neurofinder', ID is from the
% following: '100','101', '200', '201',
% '400', and '401'.
opt.type = 'Layer275'; % Type of data. For the 'Allen' data, this is either
% 'Layer275' or 'Layer175', denoting from which
% cortical layer the data was recorded from (Details
% can be found in Table 1 of the manuscript).
% For the 'Neurofinder' data, this is either 'test'
% or 'train'.
opt.marking = 'Allen'; % Type of marking to show. For the 'Allen' data, this is either
% 'Allen','FinalGT', 'Grader3', or 'Grader4', denoting Allen's initial marking,
% final curated masks, grader 3's markings or grader 4'2 markings.
% For 'Neurofinder' this is'neurofinder' or 'Grader1'.
% Not that if 'test' is selected for the 'Neurofinder' data, there is no 'neurofinder' mask.
RunViewMarking(opt);