-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfigMrmlToJson.js
More file actions
54 lines (53 loc) · 1.65 KB
/
configMrmlToJson.js
File metadata and controls
54 lines (53 loc) · 1.65 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
//all the path given relatively to mrmlToJson.js script
module.exports = {
mrmlFileLocation : "",
colorTableFileLocation : "",
vtkFilesDirectory : "",
jsonResultFileName : "atlasStructure.json",
jsonLDResultFileName : "atlasStructureLD.json",
jsonHashResultFileName : "atlasStructureHash.json",
filesDisplayName : {},
header : {
"@type": "Header",
"species": "human",
"organ": "",
"name" : "",
"license" : "?",
"citation" : "?",
"version" : "1",
"contact" : "",
"comment" : "",
"coordinateSystem" : "self defined",
"root" : []
},
labelMapFiles : [{ // can be a list of objects or just a name (if there is only one labelmap)
name : "",
includes : [] // a list of label exception [1,23,854, ...] or just "*" which mean that this the default file to look in which means that there can only be only one file with "*" as includes value
}],
"backgroundImages" : "", //can be a name or a list of names
"@context" : { // for JSON LD compatibility, specify places where aplication expect a reference
"@vocab": "http://www.openanatomy.org/schema/v1/#",
"backgroundImage": {
"@type": "@id"
},
"root": {
"@type": "@id"
},
"member": {
"@type": "@id"
},
"dataSource": {
"@type": "@id"
},
"sourceSelector": {
"@type": "@id"
},
"annotation": {
"@type": "@id"
},
"renderOption": {
"@type": "@id"
}
},
"baseURL" : "../../some-path/"
};