KuangshiAi commited on
Commit
3cb1822
·
0 Parent(s):

first commit

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .DS_Store +0 -0
  2. .gitattributes +11 -0
  3. LICENSE +8 -0
  4. README.md +62 -0
  5. datasets_info.json +827 -0
  6. datasets_list.md +66 -0
  7. download_and_organize.py +91 -0
  8. main/bonsai/.DS_Store +0 -0
  9. main/bonsai/GS/.DS_Store +0 -0
  10. main/bonsai/GS/bonsai_gs.pvsm +3 -0
  11. main/bonsai/GS/bonsai_gs.py +87 -0
  12. main/bonsai/GS/gs_diagonal_view.png +3 -0
  13. main/bonsai/GS/gs_front_view.png +3 -0
  14. main/bonsai/GS/gs_side_view.png +3 -0
  15. main/bonsai/data/bonsai.txt +5 -0
  16. main/bonsai/data/bonsai_256x256x256_uint8.raw +3 -0
  17. main/bonsai/task_description.txt +14 -0
  18. main/bonsai/visualization_goals.txt +7 -0
  19. main/carp/GS/answers.txt +13 -0
  20. main/carp/GS/carp_gs.pvsm +3 -0
  21. main/carp/GS/gs_diagonal_view.png +3 -0
  22. main/carp/GS/gs_front_view.png +3 -0
  23. main/carp/GS/gs_side_view.png +3 -0
  24. main/carp/data/carp.txt +5 -0
  25. main/carp/data/carp_256x256x512_uint16.raw +3 -0
  26. main/carp/task_description.txt +26 -0
  27. main/carp/visualization_goals.txt +7 -0
  28. main/chameleon/GS/chameleon.pvsm +3 -0
  29. main/chameleon/GS/gs_diagonal_view.png +3 -0
  30. main/chameleon/GS/gs_front_view.png +3 -0
  31. main/chameleon/GS/gs_side_view.png +3 -0
  32. main/chameleon/data/chameleon.txt +5 -0
  33. main/chameleon/data/chameleon_256x256x270_float32.raw +3 -0
  34. main/chameleon/task_description.txt +19 -0
  35. main/chameleon/visualization_goals.txt +7 -0
  36. main/engine/GS/engine.pvsm +3 -0
  37. main/engine/GS/gs_diagonal_view.png +3 -0
  38. main/engine/GS/gs_front_view.png +3 -0
  39. main/engine/GS/gs_side_view.png +3 -0
  40. main/engine/data/engine.txt +5 -0
  41. main/engine/data/engine_256x256x128_uint8.raw +3 -0
  42. main/engine/task_description.txt +19 -0
  43. main/engine/visualization_goals.txt +7 -0
  44. main/foot/GS/foot_gs.pvsm +3 -0
  45. main/foot/data/foot.txt +6 -0
  46. main/foot/data/foot_256x256x256_uint8.raw +3 -0
  47. main/foot/task_description.txt +20 -0
  48. main/foot/visualization_goals.txt +3 -0
  49. main/get_tf_from_gs.py +44 -0
  50. main/lobster/GS/lobster_gs.pvsm +3 -0
.DS_Store ADDED
Binary file (10.2 kB). View file
 
.gitattributes ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.raw filter=lfs diff=lfs merge=lfs -text
2
+ *.tiff filter=lfs diff=lfs merge=lfs -text
3
+ *.tif filter=lfs diff=lfs merge=lfs -text
4
+ *.pvsm filter=lfs diff=lfs merge=lfs -text
5
+ *.vtk filter=lfs diff=lfs merge=lfs -text
6
+ *.ex2 filter=lfs diff=lfs merge=lfs -text
7
+ *.png filter=lfs diff=lfs merge=lfs -text
8
+ *.avi filter=lfs diff=lfs merge=lfs -text
9
+ *.glb filter=lfs diff=lfs merge=lfs -text
10
+ *.vtr filter=lfs diff=lfs merge=lfs -text
11
+ *.nc filter=lfs diff=lfs merge=lfs -text
LICENSE ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ Copyright (c) 2025 University of Notre Dame
2
+ All rights reserved.
3
+
4
+ Permission is hereby granted, free of charge, to designated collaborators of the SciVisAgentBench project, to use this software and associated documentation files (the "Software") solely for the purposes of research and collaboration agreed upon with the University of Notre Dame.
5
+
6
+ Any redistribution, modification, sublicensing, or commercial use of this Software is strictly prohibited without prior written permission from the copyright holders.
7
+
8
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # SciVisAgentBench Tasks
2
+
3
+ This repository is a secondary repo of [SciVisAgentBench](https://github.com/KuangshiAi/SciVisAgentBench), contains scientific visualization datasets and tasks for benchmarking scientific visualization agents.
4
+
5
+ ## Download Volume Datasets
6
+ `download_and_organize.py` downloads and organizes datasets under 512MB. Make sure you run the following script before you evaluate your agents through [SciVisAgentBench](https://github.com/KuangshiAi/SciVisAgentBench):
7
+ ```shell
8
+ python download_and_organize.py
9
+ ```
10
+
11
+ ## Data Organization
12
+
13
+ All the volume datasets from http://klacansky.com/open-scivis-datasets/ have been organized into a consistent structure.
14
+
15
+ ### Directory Structure
16
+
17
+ The datasets and tasks for ParaView-MCP and ChatVis are organized into the `main` and `sci_volume_data` folders, while `napari_mcp_evals` holds tasks and datasets for napari-MCP.
18
+
19
+
20
+ Each dataset in the `main` and `sci_volume_data` folders follows this structure:
21
+ ```
22
+ dataset_name/
23
+ ├── data/
24
+ │ ├── dataset_file.raw # The actual data file
25
+ │ └── dataset_name.txt # Metadata about the dataset
26
+ ├── GS/ # Ground truth folder (ParaView state + pvpython code)
27
+ ├── task_description.txt # ParaView visualization task
28
+ └── visualization_goals.txt # Evaluation criteria for the visualization
29
+ ```
30
+
31
+ ### Available Volume Datasets
32
+
33
+ - **37 datasets under 512MB** are suggested to be downloaded
34
+ - **18 datasets over 512MB** are listed but not downloaded
35
+
36
+ See `datasets_list.md` for a complete list with specifications. And `datasets_info.json` is the complete JSON file with all dataset metadata.
37
+
38
+ ### Task Descriptions
39
+
40
+ Each dataset has:
41
+ 1. **Task descriptions** - Based on dataset type (medical, simulation, molecular, etc.)
42
+ 2. **Visualization goals** - Evaluation criteria tailored to the dataset characteristics
43
+ 3. **Ground Truth** - Ground truth pvpython code, ParaView state and screenshots
44
+
45
+ ## Acknowledgement
46
+
47
+ SciVisAgentBench was mainly created by Kuangshi Ai (kai@nd.edu), Shusen Liu (liu42@llnl.gov), and Haichao Miao (miao1@llnl.gov). Some of the test cases are provided by Kaiyuan Tang (ktang2@nd.edu). We sincerely thank the open-source community for their invaluable contributions. This project is made possible thanks to the following outstanding projects:
48
+
49
+ - [ParaView-MCP](https://github.com/LLNL/paraview_mcp)
50
+ - [Napari-MCP](https://github.com/LLNL/napari-mcp)
51
+
52
+ ## License
53
+
54
+ Copyright (c) 2025 University of Notre Dame
55
+ Released under the [License](./LICENSE).
56
+ All rights reserved.
57
+
58
+ Permission is hereby granted, free of charge, to designated collaborators of the SciVisAgentBench project, to use this software and associated documentation files (the "Software") solely for the purposes of research and collaboration agreed upon with the University of Notre Dame.
59
+
60
+ Any redistribution, modification, sublicensing, or commercial use of this Software is strictly prohibited without prior written permission from the copyright holders.
61
+
62
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
datasets_info.json ADDED
@@ -0,0 +1,827 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "id": "fuel",
4
+ "name": "Fuel",
5
+ "description": "Simulation of fuel injection into a combustion chamber. The higher the density value, the less presence of air.",
6
+ "dimensions": "64x64x64",
7
+ "width": 64,
8
+ "height": 64,
9
+ "depth": 64,
10
+ "data_type": "uint8",
11
+ "spacing": "1x1x1",
12
+ "size_mb": 0,
13
+ "size_str": "64x64x64 (256.0 kB)",
14
+ "download_url": "http://klacansky.com/open-scivis-datasets/fuel/fuel_64x64x64_uint8.raw",
15
+ "filename": "fuel_64x64x64_uint8.raw"
16
+ },
17
+ {
18
+ "id": "marschner_lobb",
19
+ "name": "Marschner-Lobb",
20
+ "description": "High frequencies where 99% of the sinusoids are right below the Nyquist frequency.",
21
+ "dimensions": "41x41x41",
22
+ "width": 41,
23
+ "height": 41,
24
+ "depth": 41,
25
+ "data_type": "uint8",
26
+ "spacing": "1x1x1",
27
+ "size_mb": 0,
28
+ "size_str": "41x41x41 (67.3 kB)",
29
+ "download_url": "http://klacansky.com/open-scivis-datasets/marschner_lobb/marschner_lobb_41x41x41_uint8.raw",
30
+ "filename": "marschner_lobb_41x41x41_uint8.raw"
31
+ },
32
+ {
33
+ "id": "neghip",
34
+ "name": "Neghip",
35
+ "description": "Simulation of the spatial probability distribution of the electrons in a high potential protein molecule.",
36
+ "dimensions": "64x64x64",
37
+ "width": 64,
38
+ "height": 64,
39
+ "depth": 64,
40
+ "data_type": "uint8",
41
+ "spacing": "1x1x1",
42
+ "size_mb": 0,
43
+ "size_str": "64x64x64 (256.0 kB)",
44
+ "download_url": "http://klacansky.com/open-scivis-datasets/neghip/neghip_64x64x64_uint8.raw",
45
+ "filename": "neghip_64x64x64_uint8.raw"
46
+ },
47
+ {
48
+ "id": "nucleon",
49
+ "name": "Nucleon",
50
+ "description": "Simulation of the two-body distribution probability of a nucleon in the atomic nucleus 16O if a second nucleon is known to be positioned at r'=(2 fm,0,0).",
51
+ "dimensions": "41x41x41",
52
+ "width": 41,
53
+ "height": 41,
54
+ "depth": 41,
55
+ "data_type": "uint8",
56
+ "spacing": "1x1x1",
57
+ "size_mb": 0,
58
+ "size_str": "41x41x41 (67.3 kB)",
59
+ "download_url": "http://klacansky.com/open-scivis-datasets/nucleon/nucleon_41x41x41_uint8.raw",
60
+ "filename": "nucleon_41x41x41_uint8.raw"
61
+ },
62
+ {
63
+ "id": "silicium",
64
+ "name": "Silicium",
65
+ "description": "Simulation of a silicium grid.",
66
+ "dimensions": "98x34x34",
67
+ "width": 98,
68
+ "height": 34,
69
+ "depth": 34,
70
+ "data_type": "uint8",
71
+ "spacing": "1x1x1",
72
+ "size_mb": 0,
73
+ "size_str": "98x34x34 (110.6 kB)",
74
+ "download_url": "http://klacansky.com/open-scivis-datasets/silicium/silicium_98x34x34_uint8.raw",
75
+ "filename": "silicium_98x34x34_uint8.raw"
76
+ },
77
+ {
78
+ "id": "tooth",
79
+ "name": "Tooth",
80
+ "description": "",
81
+ "dimensions": "103x94x161",
82
+ "width": 103,
83
+ "height": 94,
84
+ "depth": 161,
85
+ "data_type": "uint8",
86
+ "spacing": "1x1x1",
87
+ "size_mb": 1.5,
88
+ "size_str": "103x94x161 (1.5 MB)",
89
+ "download_url": "http://klacansky.com/open-scivis-datasets/tooth/tooth_103x94x161_uint8.raw",
90
+ "filename": "tooth_103x94x161_uint8.raw"
91
+ },
92
+ {
93
+ "id": "blunt_fin",
94
+ "name": "Blunt Fin",
95
+ "description": "",
96
+ "dimensions": "256x128x64",
97
+ "width": 256,
98
+ "height": 128,
99
+ "depth": 64,
100
+ "data_type": "uint8",
101
+ "spacing": "1x0.75x1",
102
+ "size_mb": 2.0,
103
+ "size_str": "256x128x64 (2.0 MB)",
104
+ "download_url": "http://klacansky.com/open-scivis-datasets/blunt_fin/blunt_fin_256x128x64_uint8.raw",
105
+ "filename": "blunt_fin_256x128x64_uint8.raw"
106
+ },
107
+ {
108
+ "id": "hydrogen_atom",
109
+ "name": "Hydrogen Atom",
110
+ "description": "Simulation of the spatial probability distribution of the electron in an hydrogen atom, residing in a strong magnetic field.",
111
+ "dimensions": "128x128x128",
112
+ "width": 128,
113
+ "height": 128,
114
+ "depth": 128,
115
+ "data_type": "uint8",
116
+ "spacing": "1x1x1",
117
+ "size_mb": 2.0,
118
+ "size_str": "128x128x128 (2.0 MB)",
119
+ "download_url": "http://klacansky.com/open-scivis-datasets/hydrogen_atom/hydrogen_atom_128x128x128_uint8.raw",
120
+ "filename": "hydrogen_atom_128x128x128_uint8.raw"
121
+ },
122
+ {
123
+ "id": "shockwave",
124
+ "name": "Shockwave",
125
+ "description": "Simulation of an unsteady interaction of a planar shockwave with a randomly-perturbed contact discontinuity.",
126
+ "dimensions": "64x64x512",
127
+ "width": 64,
128
+ "height": 64,
129
+ "depth": 512,
130
+ "data_type": "uint8",
131
+ "spacing": "1x1x1",
132
+ "size_mb": 2.0,
133
+ "size_str": "64x64x512 (2.0 MB)",
134
+ "download_url": "http://klacansky.com/open-scivis-datasets/shockwave/shockwave_64x64x512_uint8.raw",
135
+ "filename": "shockwave_64x64x512_uint8.raw"
136
+ },
137
+ {
138
+ "id": "frog",
139
+ "name": "Frog",
140
+ "description": "MRI scan of a frog as part of the Whole Frog Project.",
141
+ "dimensions": "256x256x44",
142
+ "width": 256,
143
+ "height": 256,
144
+ "depth": 44,
145
+ "data_type": "uint8",
146
+ "spacing": "0.5x0.5x1",
147
+ "size_mb": 2.8,
148
+ "size_str": "256x256x44 (2.8 MB)",
149
+ "download_url": "http://klacansky.com/open-scivis-datasets/frog/frog_256x256x44_uint8.raw",
150
+ "filename": "frog_256x256x44_uint8.raw"
151
+ },
152
+ {
153
+ "id": "lobster",
154
+ "name": "Lobster",
155
+ "description": "CT scan of a lobster contained in a block of resin.",
156
+ "dimensions": "301x324x56",
157
+ "width": 301,
158
+ "height": 324,
159
+ "depth": 56,
160
+ "data_type": "uint8",
161
+ "spacing": "1x1x1.4",
162
+ "size_mb": 5.2,
163
+ "size_str": "301x324x56 (5.2 MB)",
164
+ "download_url": "http://klacansky.com/open-scivis-datasets/lobster/lobster_301x324x56_uint8.raw",
165
+ "filename": "lobster_301x324x56_uint8.raw"
166
+ },
167
+ {
168
+ "id": "mri_ventricles",
169
+ "name": "Head MRI CISS",
170
+ "description": "1.5T MRT 3D CISS dataset of a human head that highlights the CSF (Cerebro-Spinal-Fluid) filled cavities of the head.",
171
+ "dimensions": "256x256x124",
172
+ "width": 256,
173
+ "height": 256,
174
+ "depth": 124,
175
+ "data_type": "uint8",
176
+ "spacing": "0.9x0.9x0.9",
177
+ "size_mb": 7.8,
178
+ "size_str": "256x256x124 (7.8 MB)",
179
+ "download_url": "http://klacansky.com/open-scivis-datasets/mri_ventricles/mri_ventricles_256x256x124_uint8.raw",
180
+ "filename": "mri_ventricles_256x256x124_uint8.raw"
181
+ },
182
+ {
183
+ "id": "engine",
184
+ "name": "Engine",
185
+ "description": "CT scan of two cylinders of an engine block.",
186
+ "dimensions": "256x256x128",
187
+ "width": 256,
188
+ "height": 256,
189
+ "depth": 128,
190
+ "data_type": "uint8",
191
+ "spacing": "1x1x1",
192
+ "size_mb": 8.0,
193
+ "size_str": "256x256x128 (8.0 MB)",
194
+ "download_url": "http://klacansky.com/open-scivis-datasets/engine/engine_256x256x128_uint8.raw",
195
+ "filename": "engine_256x256x128_uint8.raw"
196
+ },
197
+ {
198
+ "id": "vis_male",
199
+ "name": "Head (Visible Male)",
200
+ "description": "Male head scan",
201
+ "dimensions": "128x256x256",
202
+ "width": 128,
203
+ "height": 256,
204
+ "depth": 256,
205
+ "data_type": "uint8",
206
+ "spacing": "1.57774x0.995861x1.00797",
207
+ "size_mb": 8.0,
208
+ "size_str": "128x256x256 (8.0 MB)",
209
+ "download_url": "http://klacansky.com/open-scivis-datasets/vis_male/vis_male_128x256x256_uint8.raw",
210
+ "filename": "vis_male_128x256x256_uint8.raw"
211
+ },
212
+ {
213
+ "id": "statue_leg",
214
+ "name": "Leg of Statue",
215
+ "description": "CT scan of a leg of a bronze statue.",
216
+ "dimensions": "341x341x93",
217
+ "width": 341,
218
+ "height": 341,
219
+ "depth": 93,
220
+ "data_type": "uint8",
221
+ "spacing": "1x1x4",
222
+ "size_mb": 10.3,
223
+ "size_str": "341x341x93 (10.3 MB)",
224
+ "download_url": "http://klacansky.com/open-scivis-datasets/statue_leg/statue_leg_341x341x93_uint8.raw",
225
+ "filename": "statue_leg_341x341x93_uint8.raw"
226
+ },
227
+ {
228
+ "id": "boston_teapot",
229
+ "name": "Boston Teapot",
230
+ "description": "CT scan of the SIGGRAPH 1989 teapot with a small version of the AVS lobster inside.",
231
+ "dimensions": "256x256x178",
232
+ "width": 256,
233
+ "height": 256,
234
+ "depth": 178,
235
+ "data_type": "uint8",
236
+ "spacing": "1x1x1",
237
+ "size_mb": 11.1,
238
+ "size_str": "256x256x178 (11.1 MB)",
239
+ "download_url": "http://klacansky.com/open-scivis-datasets/boston_teapot/boston_teapot_256x256x178_uint8.raw",
240
+ "filename": "boston_teapot_256x256x178_uint8.raw"
241
+ },
242
+ {
243
+ "id": "mri_woman",
244
+ "name": "MRI Woman",
245
+ "description": "MRI scan of a woman's head",
246
+ "dimensions": "256x256x109",
247
+ "width": 256,
248
+ "height": 256,
249
+ "depth": 109,
250
+ "data_type": "uint16",
251
+ "spacing": "1x1x1.5",
252
+ "size_mb": 13.6,
253
+ "size_str": "256x256x109 (13.6 MB)",
254
+ "download_url": "http://klacansky.com/open-scivis-datasets/mri_woman/mri_woman_256x256x109_uint16.raw",
255
+ "filename": "mri_woman_256x256x109_uint16.raw"
256
+ },
257
+ {
258
+ "id": "aneurism",
259
+ "name": "Aneurism",
260
+ "description": "Rotational C-arm x-ray scan of the arteries of the right half of a human head. A contrast agent was injected into the blood and an aneurism is present.",
261
+ "dimensions": "256x256x256",
262
+ "width": 256,
263
+ "height": 256,
264
+ "depth": 256,
265
+ "data_type": "uint8",
266
+ "spacing": "1x1x1",
267
+ "size_mb": 16.0,
268
+ "size_str": "256x256x256 (16.0 MB)",
269
+ "download_url": "http://klacansky.com/open-scivis-datasets/aneurism/aneurism_256x256x256_uint8.raw",
270
+ "filename": "aneurism_256x256x256_uint8.raw"
271
+ },
272
+ {
273
+ "id": "bonsai",
274
+ "name": "Bonsai",
275
+ "description": "CT scan of a bonsai tree.",
276
+ "dimensions": "256x256x256",
277
+ "width": 256,
278
+ "height": 256,
279
+ "depth": 256,
280
+ "data_type": "uint8",
281
+ "spacing": "1x1x1",
282
+ "size_mb": 16.0,
283
+ "size_str": "256x256x256 (16.0 MB)",
284
+ "download_url": "http://klacansky.com/open-scivis-datasets/bonsai/bonsai_256x256x256_uint8.raw",
285
+ "filename": "bonsai_256x256x256_uint8.raw"
286
+ },
287
+ {
288
+ "id": "foot",
289
+ "name": "Foot",
290
+ "description": "Rotational C-arm x-ray scan of a human foot. Tissue and bone are present in the dataset.",
291
+ "dimensions": "256x256x256",
292
+ "width": 256,
293
+ "height": 256,
294
+ "depth": 256,
295
+ "data_type": "uint8",
296
+ "spacing": "1x1x1",
297
+ "size_mb": 16.0,
298
+ "size_str": "256x256x256 (16.0 MB)",
299
+ "download_url": "http://klacansky.com/open-scivis-datasets/foot/foot_256x256x256_uint8.raw",
300
+ "filename": "foot_256x256x256_uint8.raw"
301
+ },
302
+ {
303
+ "id": "skull",
304
+ "name": "Skull",
305
+ "description": "Rotational C-arm x-ray scan of phantom of a human skull.",
306
+ "dimensions": "256x256x256",
307
+ "width": 256,
308
+ "height": 256,
309
+ "depth": 256,
310
+ "data_type": "uint8",
311
+ "spacing": "1x1x1",
312
+ "size_mb": 16.0,
313
+ "size_str": "256x256x256 (16.0 MB)",
314
+ "download_url": "http://klacansky.com/open-scivis-datasets/skull/skull_256x256x256_uint8.raw",
315
+ "filename": "skull_256x256x256_uint8.raw"
316
+ },
317
+ {
318
+ "id": "csafe_heptane",
319
+ "name": "CSAFE Heptane Gas",
320
+ "description": "A single time step from a computational simulation of a jet of heptane gas undergoing combustion.",
321
+ "dimensions": "302x302x302",
322
+ "width": 302,
323
+ "height": 302,
324
+ "depth": 302,
325
+ "data_type": "uint8",
326
+ "spacing": "1x1x1",
327
+ "size_mb": 26.3,
328
+ "size_str": "302x302x302 (26.3 MB)",
329
+ "download_url": "http://klacansky.com/open-scivis-datasets/csafe_heptane/csafe_heptane_302x302x302_uint8.raw",
330
+ "filename": "csafe_heptane_302x302x302_uint8.raw"
331
+ },
332
+ {
333
+ "id": "mrt_angio",
334
+ "name": "Head MRT Angiography",
335
+ "description": "3T MRT Time-of-Flight Angiography dataset of a human head. The dataset has been resampled into an isotropic voxel grid (hence the peculiar slice size).",
336
+ "dimensions": "416x512x112",
337
+ "width": 416,
338
+ "height": 512,
339
+ "depth": 112,
340
+ "data_type": "uint16",
341
+ "spacing": "0.412x0.412x0.412",
342
+ "size_mb": 45.5,
343
+ "size_str": "416x512x112 (45.5 MB)",
344
+ "download_url": "http://klacansky.com/open-scivis-datasets/mrt_angio/mrt_angio_416x512x112_uint16.raw",
345
+ "filename": "mrt_angio_416x512x112_uint16.raw"
346
+ },
347
+ {
348
+ "id": "carp",
349
+ "name": "Carp",
350
+ "description": "CT scan of a carp fish",
351
+ "dimensions": "256x256x512",
352
+ "width": 256,
353
+ "height": 256,
354
+ "depth": 512,
355
+ "data_type": "uint16",
356
+ "spacing": "0.78125x0.390625x1",
357
+ "size_mb": 64.0,
358
+ "size_str": "256x256x512 (64.0 MB)",
359
+ "download_url": "http://klacansky.com/open-scivis-datasets/carp/carp_256x256x512_uint16.raw",
360
+ "filename": "carp_256x256x512_uint16.raw"
361
+ },
362
+ {
363
+ "id": "tacc_turbulence",
364
+ "name": "Isotropic Turbulence",
365
+ "description": "The dataset represents a time step from an isotropic turbulence simulation. A single variable, enstrophy, is represented on a Cartesian grid.",
366
+ "dimensions": "256x256x256",
367
+ "width": 256,
368
+ "height": 256,
369
+ "depth": 256,
370
+ "data_type": "float32",
371
+ "spacing": "1x1x1",
372
+ "size_mb": 64.0,
373
+ "size_str": "256x256x256 (64.0 MB)",
374
+ "download_url": "http://klacansky.com/open-scivis-datasets/tacc_turbulence/tacc_turbulence_256x256x256_float32.raw",
375
+ "filename": "tacc_turbulence_256x256x256_float32.raw"
376
+ },
377
+ {
378
+ "id": "stent",
379
+ "name": "Stented Abdominal Aorta",
380
+ "description": "CT Scan of the abdomen and pelvis. The dataset contains also a stent in the abdominal aorta. No contrast agent was used to enhance the blood vessels.",
381
+ "dimensions": "512x512x174",
382
+ "width": 512,
383
+ "height": 512,
384
+ "depth": 174,
385
+ "data_type": "uint16",
386
+ "spacing": "0.8398x0.8398x3.2",
387
+ "size_mb": 87.0,
388
+ "size_str": "512x512x174 (87.0 MB)",
389
+ "download_url": "http://klacansky.com/open-scivis-datasets/stent/stent_512x512x174_uint16.raw",
390
+ "filename": "stent_512x512x174_uint16.raw"
391
+ },
392
+ {
393
+ "id": "neocortical_layer_1_axons",
394
+ "name": "Neocortical Layer 1 Axons",
395
+ "description": "Axons in layer 1 of the mouse barrel cortex imaged in vivo.",
396
+ "dimensions": "1464x1033x76",
397
+ "width": 1464,
398
+ "height": 1033,
399
+ "depth": 76,
400
+ "data_type": "uint8",
401
+ "spacing": "1x1x3.4",
402
+ "size_mb": 109.6,
403
+ "size_str": "1464x1033x76 (109.6 MB)",
404
+ "download_url": "http://klacansky.com/open-scivis-datasets/neocortical_layer_1_axons/neocortical_layer_1_axons_1464x1033x76_uint8.raw",
405
+ "filename": "neocortical_layer_1_axons_1464x1033x76_uint8.raw"
406
+ },
407
+ {
408
+ "id": "pancreas",
409
+ "name": "Pancreas",
410
+ "description": "First scan. The National Institutes of Health Clinical Center performed 82 abdominal contrast enhanced 3D CT scans (~70 seconds after intravenous contrast injection in portal-venous) from 53 male and 27 female subjects. Seventeen of the subjects are healthy kidney donors scanned prior to nephrectomy. The remaining 65 patients were selected by a radiologist from patients who neither had major abdominal pathologies nor pancreatic cancer lesions. Subjects' ages range from 18 to 76 years with a mean age of 46.8 \u00b1 16.7. The CT scans have resolutions of 512x512 pixels with varying pixel sizes and slice thickness between 1.5 - 2.5 mm, acquired on Philips and Siemens MDCT scanners (120 kVp tube voltage). A medical student manually performed slice-by-slice segmentations of the pancreas as ground-truth and these were verified/modified by an experienced radiologist.",
411
+ "dimensions": "240x512x512",
412
+ "width": 240,
413
+ "height": 512,
414
+ "depth": 512,
415
+ "data_type": "int16",
416
+ "spacing": "1.16x1.0x1.0",
417
+ "size_mb": 120.0,
418
+ "size_str": "240x512x512 (120.0 MB)",
419
+ "download_url": "http://klacansky.com/open-scivis-datasets/pancreas/pancreas_240x512x512_int16.raw",
420
+ "filename": "pancreas_240x512x512_int16.raw"
421
+ },
422
+ {
423
+ "id": "duct",
424
+ "name": "Duct Flow",
425
+ "description": "A wall-bounded flow in a duct.",
426
+ "dimensions": "193x194x1000",
427
+ "width": 193,
428
+ "height": 194,
429
+ "depth": 1000,
430
+ "data_type": "float32",
431
+ "spacing": "1x1x1",
432
+ "size_mb": 142.8,
433
+ "size_str": "193x194x1000 (142.8 MB)",
434
+ "download_url": "http://klacansky.com/open-scivis-datasets/duct/duct_193x194x1000_float32.raw",
435
+ "filename": "duct_193x194x1000_float32.raw"
436
+ },
437
+ {
438
+ "id": "bunny",
439
+ "name": "Bunny",
440
+ "description": "A CT scan of the Stanford Bunny. The greyscale units are Hounsfield units, denoting electron-density of the subject; the scale units are in millimeters. The scan was completed 28 January 2000.",
441
+ "dimensions": "512x512x361",
442
+ "width": 512,
443
+ "height": 512,
444
+ "depth": 361,
445
+ "data_type": "uint16",
446
+ "spacing": "0.337891x0.337891x0.5",
447
+ "size_mb": 180.5,
448
+ "size_str": "512x512x361 (180.5 MB)",
449
+ "download_url": "http://klacansky.com/open-scivis-datasets/bunny/bunny_512x512x361_uint16.raw",
450
+ "filename": "bunny_512x512x361_uint16.raw"
451
+ },
452
+ {
453
+ "id": "backpack",
454
+ "name": "Backpack Scan",
455
+ "description": "CT scan of a backpack filled with items.",
456
+ "dimensions": "512x512x373",
457
+ "width": 512,
458
+ "height": 512,
459
+ "depth": 373,
460
+ "data_type": "uint16",
461
+ "spacing": "0.9766x0.9766x1.25",
462
+ "size_mb": 186.5,
463
+ "size_str": "512x512x373 (186.5 MB)",
464
+ "download_url": "http://klacansky.com/open-scivis-datasets/backpack/backpack_512x512x373_uint16.raw",
465
+ "filename": "backpack_512x512x373_uint16.raw"
466
+ },
467
+ {
468
+ "id": "present",
469
+ "name": "Christmas Present",
470
+ "description": "An industrial CT scan of a christmas present.",
471
+ "dimensions": "492x492x442",
472
+ "width": 492,
473
+ "height": 492,
474
+ "depth": 442,
475
+ "data_type": "uint16",
476
+ "spacing": "1x1x1",
477
+ "size_mb": 204.1,
478
+ "size_str": "492x492x442 (204.1 MB)",
479
+ "download_url": "http://klacansky.com/open-scivis-datasets/present/present_492x492x442_uint16.raw",
480
+ "filename": "present_492x492x442_uint16.raw"
481
+ },
482
+ {
483
+ "id": "prone",
484
+ "name": "Colon Prone",
485
+ "description": "CT scan of abdomen in prone orientation (back faces ceiling, belly faces table).",
486
+ "dimensions": "512x512x463",
487
+ "width": 512,
488
+ "height": 512,
489
+ "depth": 463,
490
+ "data_type": "uint16",
491
+ "spacing": "0.625x0.625x1.0",
492
+ "size_mb": 231.5,
493
+ "size_str": "512x512x463 (231.5 MB)",
494
+ "download_url": "http://klacansky.com/open-scivis-datasets/prone/prone_512x512x463_uint16.raw",
495
+ "filename": "prone_512x512x463_uint16.raw"
496
+ },
497
+ {
498
+ "id": "christmas_tree",
499
+ "name": "Christmas Tree",
500
+ "description": "The Christmas tree model was scanned with a Siemens Somatom Plus 4 Volume Zoom Multislice-CT scanner at the general hospital in Vienna.",
501
+ "dimensions": "512x499x512",
502
+ "width": 512,
503
+ "height": 499,
504
+ "depth": 512,
505
+ "data_type": "uint16",
506
+ "spacing": "1x1x1",
507
+ "size_mb": 249.5,
508
+ "size_str": "512x499x512 (249.5 MB)",
509
+ "download_url": "http://klacansky.com/open-scivis-datasets/christmas_tree/christmas_tree_512x499x512_uint16.raw",
510
+ "filename": "christmas_tree_512x499x512_uint16.raw"
511
+ },
512
+ {
513
+ "id": "vertebra",
514
+ "name": "Head Aneurism",
515
+ "description": "Rotational angiography scan of a head with an aneurysm. Only contrasted blood vessels are visible.",
516
+ "dimensions": "512x512x512",
517
+ "width": 512,
518
+ "height": 512,
519
+ "depth": 512,
520
+ "data_type": "uint16",
521
+ "spacing": "0.1953x0.1953x0.1953",
522
+ "size_mb": 256.0,
523
+ "size_str": "512x512x512 (256.0 MB)",
524
+ "download_url": "http://klacansky.com/open-scivis-datasets/vertebra/vertebra_512x512x512_uint16.raw",
525
+ "filename": "vertebra_512x512x512_uint16.raw"
526
+ },
527
+ {
528
+ "id": "zeiss",
529
+ "name": "Zeiss",
530
+ "description": "Car part reconstructed from projections.",
531
+ "dimensions": "680x680x680",
532
+ "width": 680,
533
+ "height": 680,
534
+ "depth": 680,
535
+ "data_type": "uint8",
536
+ "spacing": "1x1x1",
537
+ "size_mb": 299.9,
538
+ "size_str": "680x680x680 (299.9 MB)",
539
+ "download_url": "http://klacansky.com/open-scivis-datasets/zeiss/zeiss_680x680x680_uint8.raw",
540
+ "filename": "zeiss_680x680x680_uint8.raw"
541
+ },
542
+ {
543
+ "id": "marmoset_neurons",
544
+ "name": "Neurons in Marmoset Visual Cortex",
545
+ "description": "Pyramidal neurons in the marmoset primary visual cortex (V1) labeled with green fluorescent protein (GFP) after injection of a psuedotyped G-deleted rabies virus in area V2. The tissue was cleared using the Sca/e technique and imaged on a Olympus 2-photon microscope at 20x magnification.",
546
+ "dimensions": "1024x1024x314",
547
+ "width": 1024,
548
+ "height": 1024,
549
+ "depth": 314,
550
+ "data_type": "uint8",
551
+ "spacing": "0.497x0.497x1.5",
552
+ "size_mb": 314.0,
553
+ "size_str": "1024x1024x314 (314.0 MB)",
554
+ "download_url": "http://klacansky.com/open-scivis-datasets/marmoset_neurons/marmoset_neurons_1024x1024x314_uint8.raw",
555
+ "filename": "marmoset_neurons_1024x1024x314_uint8.raw"
556
+ },
557
+ {
558
+ "id": "magnetic_reconnection",
559
+ "name": "Magnetic Reconnection Simulation",
560
+ "description": "A single time step from a computational simulation of magnetic reconnection.",
561
+ "dimensions": "512x512x512",
562
+ "width": 512,
563
+ "height": 512,
564
+ "depth": 512,
565
+ "data_type": "float32",
566
+ "spacing": "1x1x1",
567
+ "size_mb": 512.0,
568
+ "size_str": "512x512x512 (512.0 MB)",
569
+ "download_url": "http://klacansky.com/open-scivis-datasets/magnetic_reconnection/magnetic_reconnection_512x512x512_float32.raw",
570
+ "filename": "magnetic_reconnection_512x512x512_float32.raw"
571
+ },
572
+ {
573
+ "id": "stag_beetle",
574
+ "name": "Stag Beetle",
575
+ "description": "The stag beetle from Georg Glaeser, Vienna University of Applied Arts, Austria, was scanned with an industrial CT by Johannes Kastner, Wels College of Engineering, Austria, and Meister Eduard Gr\u00f6ller, Vienna University of Technology, Austria.",
576
+ "dimensions": "832x832x494",
577
+ "width": 832,
578
+ "height": 832,
579
+ "depth": 494,
580
+ "data_type": "uint16",
581
+ "spacing": "1x1x1",
582
+ "size_mb": 652.2,
583
+ "size_str": "832x832x494 (652.2 MB)",
584
+ "download_url": "http://klacansky.com/open-scivis-datasets/stag_beetle/stag_beetle_832x832x494_uint16.raw",
585
+ "filename": "stag_beetle_832x832x494_uint16.raw"
586
+ },
587
+ {
588
+ "id": "hcci_oh",
589
+ "name": "Homogeneous Charge Compression Ignition OH",
590
+ "description": "The first timestep of direct numerical simulation of an autoignition phenomena in stratified dimethyl-ether/air turbulent mixtures.",
591
+ "dimensions": "560x560x560",
592
+ "width": 560,
593
+ "height": 560,
594
+ "depth": 560,
595
+ "data_type": "float32",
596
+ "spacing": "1x1x1",
597
+ "size_mb": 669.9,
598
+ "size_str": "560x560x560 (669.9 MB)",
599
+ "download_url": "http://klacansky.com/open-scivis-datasets/hcci_oh/hcci_oh_560x560x560_float32.raw",
600
+ "filename": "hcci_oh_560x560x560_float32.raw"
601
+ },
602
+ {
603
+ "id": "kingsnake",
604
+ "name": "Kingsnake",
605
+ "description": "Scan of a Lampropeltis getula egg (captive bred by Travis LaDuc; laid on 7 July 2003, growth terminated on 29 August 2003, 54 days after oviposition) for Dr. Timothy Rowe of the Department of Geological Sciences, The University of Texas at Austin.",
606
+ "dimensions": "1024x1024x795",
607
+ "width": 1024,
608
+ "height": 1024,
609
+ "depth": 795,
610
+ "data_type": "uint8",
611
+ "spacing": "0.03174x0.03174x0.0688",
612
+ "size_mb": 795.0,
613
+ "size_str": "1024x1024x795 (795.0 MB)",
614
+ "download_url": "http://klacansky.com/open-scivis-datasets/kingsnake/kingsnake_1024x1024x795_uint8.raw",
615
+ "filename": "kingsnake_1024x1024x795_uint8.raw"
616
+ },
617
+ {
618
+ "id": "pawpawsaurus",
619
+ "name": "Pawpawsaurus Campbelli",
620
+ "description": "This specimen, the holotype, was collected from the Paw Paw Formation, SMU Loc. No. 263, Tarrant County, Texas. The specimen was scanned along the coronal axis for a total of 1088 slices. Voxel size is 0.2275 mm.",
621
+ "dimensions": "958x646x1088",
622
+ "width": 958,
623
+ "height": 646,
624
+ "depth": 1088,
625
+ "data_type": "uint16",
626
+ "spacing": "0.2275x0.2275x0.2275",
627
+ "size_mb": 1331.2,
628
+ "size_str": "958x646x1088 (1.3 GB)",
629
+ "download_url": "http://klacansky.com/open-scivis-datasets/pawpawsaurus/pawpawsaurus_958x646x1088_uint16.raw",
630
+ "filename": "pawpawsaurus_958x646x1088_uint16.raw"
631
+ },
632
+ {
633
+ "id": "spathorhynchus",
634
+ "name": "Spathorhynchus Fossorium",
635
+ "description": "This specimen, the holotype, was collected from the Middle Eocene Green River Formation of Sweetwater County, Wyoming on 27 July 1967 by Frank L. Pearce. The specimen was scanned along the coronal axis for a total of 750 slices. Each 1024x1024 pixel slice is 0.047 mm thick, with an interslice spacing of 0.047 mm and a field of reconstruction of 22 mm.",
636
+ "dimensions": "1024x1024x750",
637
+ "width": 1024,
638
+ "height": 1024,
639
+ "depth": 750,
640
+ "data_type": "uint16",
641
+ "spacing": "0.0215x0.0215x0.047",
642
+ "size_mb": 1536.0,
643
+ "size_str": "1024x1024x750 (1.5 GB)",
644
+ "download_url": "http://klacansky.com/open-scivis-datasets/spathorhynchus/spathorhynchus_1024x1024x750_uint16.raw",
645
+ "filename": "spathorhynchus_1024x1024x750_uint16.raw"
646
+ },
647
+ {
648
+ "id": "chameleon",
649
+ "name": "Chameleon",
650
+ "description": "CT scan of a chameleon.",
651
+ "dimensions": "1024x1024x1080",
652
+ "width": 1024,
653
+ "height": 1024,
654
+ "depth": 1080,
655
+ "data_type": "uint16",
656
+ "spacing": "0.09228515625x0.09228515625x0.105",
657
+ "size_mb": 2150.4,
658
+ "size_str": "1024x1024x1080 (2.1 GB)",
659
+ "download_url": "http://klacansky.com/open-scivis-datasets/chameleon/chameleon_1024x1024x1080_uint16.raw",
660
+ "filename": "chameleon_1024x1024x1080_uint16.raw"
661
+ },
662
+ {
663
+ "id": "beechnut",
664
+ "name": "Beechnut",
665
+ "description": "A microCT scan of a dried beechnut.",
666
+ "dimensions": "1024x1024x1546",
667
+ "width": 1024,
668
+ "height": 1024,
669
+ "depth": 1546,
670
+ "data_type": "uint16",
671
+ "spacing": "2e-05x2e-05x2e-05",
672
+ "size_mb": 3072.0,
673
+ "size_str": "1024x1024x1546 (3.0 GB)",
674
+ "download_url": "http://klacansky.com/open-scivis-datasets/beechnut/beechnut_1024x1024x1546_uint16.raw",
675
+ "filename": "beechnut_1024x1024x1546_uint16.raw"
676
+ },
677
+ {
678
+ "id": "miranda",
679
+ "name": "Rayleigh-Taylor Instability",
680
+ "description": "A time step of a density field in a simulation of the mixing transition in Rayleigh-Taylor instability.",
681
+ "dimensions": "1024x1024x1024",
682
+ "width": 1024,
683
+ "height": 1024,
684
+ "depth": 1024,
685
+ "data_type": "float32",
686
+ "spacing": "1x1x1",
687
+ "size_mb": 4096.0,
688
+ "size_str": "1024x1024x1024 (4.0 GB)",
689
+ "download_url": "http://klacansky.com/open-scivis-datasets/miranda/miranda_1024x1024x1024_float32.raw",
690
+ "filename": "miranda_1024x1024x1024_float32.raw"
691
+ },
692
+ {
693
+ "id": "jicf_q",
694
+ "name": "Jet In Crossflow",
695
+ "description": "Q-criterion of a jet in crossflow created by a direct numerical simulation.",
696
+ "dimensions": "1408x1080x1100",
697
+ "width": 1408,
698
+ "height": 1080,
699
+ "depth": 1100,
700
+ "data_type": "float32",
701
+ "spacing": "1x1x1",
702
+ "size_mb": 6348.8,
703
+ "size_str": "1408x1080x1100 (6.2 GB)",
704
+ "download_url": "http://klacansky.com/open-scivis-datasets/jicf_q/jicf_q_1408x1080x1100_float32.raw",
705
+ "filename": "jicf_q_1408x1080x1100_float32.raw"
706
+ },
707
+ {
708
+ "id": "synthetic_truss_with_five_defects",
709
+ "name": "Synthetic Truss Scan",
710
+ "description": "A simulated CT scan of a 8x8x8 octet truss with five defects on the front side of the object. The defects are bent strut, broken strut, missing strut, dross, and thin strut.",
711
+ "dimensions": "1200x1200x1200",
712
+ "width": 1200,
713
+ "height": 1200,
714
+ "depth": 1200,
715
+ "data_type": "float32",
716
+ "spacing": "1x1x1",
717
+ "size_mb": 6553.6,
718
+ "size_str": "1200x1200x1200 (6.4 GB)",
719
+ "download_url": "http://klacansky.com/open-scivis-datasets/synthetic_truss_with_five_defects/synthetic_truss_with_five_defects_1200x1200x1200_float32.raw",
720
+ "filename": "synthetic_truss_with_five_defects_1200x1200x1200_float32.raw"
721
+ },
722
+ {
723
+ "id": "richtmyer_meshkov",
724
+ "name": "Richtmyer-Meshkov Instability",
725
+ "description": "Entropy field (timestep 160) of Richtmyer-Meshkov instability simulation.",
726
+ "dimensions": "2048x2048x1920",
727
+ "width": 2048,
728
+ "height": 2048,
729
+ "depth": 1920,
730
+ "data_type": "uint8",
731
+ "spacing": "1x1x1",
732
+ "size_mb": 7680.0,
733
+ "size_str": "2048x2048x1920 (7.5 GB)",
734
+ "download_url": "http://klacansky.com/open-scivis-datasets/richtmyer_meshkov/richtmyer_meshkov_2048x2048x1920_uint8.raw",
735
+ "filename": "richtmyer_meshkov_2048x2048x1920_uint8.raw"
736
+ },
737
+ {
738
+ "id": "3d_neurons_15_sept_2016",
739
+ "name": "3DNeurons15Sept2016",
740
+ "description": "The neurons are macaque visual cortical neurons labeled with TdTomato fluorescent proteins.",
741
+ "dimensions": "2048x2048x1718",
742
+ "width": 2048,
743
+ "height": 2048,
744
+ "depth": 1718,
745
+ "data_type": "uint16",
746
+ "spacing": "0.267345x0.267345x0.5",
747
+ "size_mb": 13721.6,
748
+ "size_str": "2048x2048x1718 (13.4 GB)",
749
+ "download_url": "http://klacansky.com/open-scivis-datasets/3d_neurons_15_sept_2016/3d_neurons_15_sept_2016_2048x2048x1718_uint16.raw",
750
+ "filename": "3d_neurons_15_sept_2016_2048x2048x1718_uint16.raw"
751
+ },
752
+ {
753
+ "id": "woodbranch",
754
+ "name": "Wood Branch",
755
+ "description": "A microCT scan of dried wood branch (hazelnut).",
756
+ "dimensions": "2048x2048x2048",
757
+ "width": 2048,
758
+ "height": 2048,
759
+ "depth": 2048,
760
+ "data_type": "uint16",
761
+ "spacing": "1.8e-05x1.8e-05x1.8e-05",
762
+ "size_mb": 16384.0,
763
+ "size_str": "2048x2048x2048 (16.0 GB)",
764
+ "download_url": "http://klacansky.com/open-scivis-datasets/woodbranch/woodbranch_2048x2048x2048_uint16.raw",
765
+ "filename": "woodbranch_2048x2048x2048_uint16.raw"
766
+ },
767
+ {
768
+ "id": "pig_heart",
769
+ "name": "Cardiac Volume (Porcine)",
770
+ "description": "Volumes were obtained by way of computed tomography (CT) imaging on excised, postmortem porcine hearts. Alginate curing agents were injected into ventricles to provide rigidity and radiopaque agents were injected into the coronary arteries to distinguish microvasculature from the rest of the tissue.",
771
+ "dimensions": "2048x2048x2612",
772
+ "width": 2048,
773
+ "height": 2048,
774
+ "depth": 2612,
775
+ "data_type": "int16",
776
+ "spacing": "0.03557x0.03557x0.03557",
777
+ "size_mb": 20889.6,
778
+ "size_str": "2048x2048x2612 (20.4 GB)",
779
+ "download_url": "http://klacansky.com/open-scivis-datasets/pig_heart/pig_heart_2048x2048x2612_int16.raw",
780
+ "filename": "pig_heart_2048x2048x2612_int16.raw"
781
+ },
782
+ {
783
+ "id": "isotropic_pressure",
784
+ "name": "Forced Isotropic Turbulence",
785
+ "description": "Pressure field of a direct numerical simulation of forced isotropic turbulence.",
786
+ "dimensions": "4096x4096x4096",
787
+ "width": 4096,
788
+ "height": 4096,
789
+ "depth": 4096,
790
+ "data_type": "float32",
791
+ "spacing": "1x1x1",
792
+ "size_mb": 262144.0,
793
+ "size_str": "4096x4096x4096 (256.0 GB)",
794
+ "download_url": "http://klacansky.com/open-scivis-datasets/isotropic_pressure/isotropic_pressure_4096x4096x4096_float32.raw",
795
+ "filename": "isotropic_pressure_4096x4096x4096_float32.raw"
796
+ },
797
+ {
798
+ "id": "rotstrat_temperature",
799
+ "name": "Rotating Stratified Turbulence",
800
+ "description": "Temperature field of a direct numerical simulation of rotating stratified turbulence.",
801
+ "dimensions": "4096x4096x4096",
802
+ "width": 4096,
803
+ "height": 4096,
804
+ "depth": 4096,
805
+ "data_type": "float32",
806
+ "spacing": "1x1x1",
807
+ "size_mb": 262144.0,
808
+ "size_str": "4096x4096x4096 (256.0 GB)",
809
+ "download_url": "http://klacansky.com/open-scivis-datasets/rotstrat_temperature/rotstrat_temperature_4096x4096x4096_float32.raw",
810
+ "filename": "rotstrat_temperature_4096x4096x4096_float32.raw"
811
+ },
812
+ {
813
+ "id": "dns",
814
+ "name": "Turbulent Channel Flow",
815
+ "description": "A pressure field of a direct numerical simulation of fully developed flow at different Reynolds numbers in a plane channel have been performed with POONGBACK code which uses the spectral numerical method of Kim, Moin and Moser (J. Fluid Mech. vol 177, page 133).",
816
+ "dimensions": "10240x7680x1536",
817
+ "width": 10240,
818
+ "height": 7680,
819
+ "depth": 1536,
820
+ "data_type": "float64",
821
+ "spacing": "1x1x1",
822
+ "size_mb": 921600.0,
823
+ "size_str": "10240x7680x1536 (900.0 GB)",
824
+ "download_url": "http://klacansky.com/open-scivis-datasets/dns/dns_10240x7680x1536_float64.raw",
825
+ "filename": "dns_10240x7680x1536_float64.raw"
826
+ }
827
+ ]
datasets_list.md ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Open SciVis Datasets Information
2
+
3
+ ## Datasets under 512MB (will be downloaded)
4
+
5
+ | Name | Description | Dimensions | Data Type | Size | Spacing |
6
+ |------|-------------|------------|-----------|------|----------|
7
+ | Fuel | Simulation of fuel injection into a combustion chamber. The higher the density value, the less presence of air. | 64x64x64 | uint8 | 64x64x64 (256.0 kB) | 1x1x1 |
8
+ | Marschner-Lobb | High frequencies where 99% of the sinusoids are right below the Nyquist frequency. | 41x41x41 | uint8 | 41x41x41 (67.3 kB) | 1x1x1 |
9
+ | Neghip | Simulation of the spatial probability distribution of the electrons in a high potential protein molecule. | 64x64x64 | uint8 | 64x64x64 (256.0 kB) | 1x1x1 |
10
+ | Nucleon | Simulation of the two-body distribution probability of a nucleon in the atomic nucleus 16O if a second nucleon is known to be positioned at r'=(2 fm,0,0). | 41x41x41 | uint8 | 41x41x41 (67.3 kB) | 1x1x1 |
11
+ | Silicium | Simulation of a silicium grid. | 98x34x34 | uint8 | 98x34x34 (110.6 kB) | 1x1x1 |
12
+ | Tooth | | 103x94x161 | uint8 | 103x94x161 (1.5 MB) | 1x1x1 |
13
+ | Blunt Fin | | 256x128x64 | uint8 | 256x128x64 (2.0 MB) | 1x0.75x1 |
14
+ | Hydrogen Atom | Simulation of the spatial probability distribution of the electron in an hydrogen atom, residing in a strong magnetic field. | 128x128x128 | uint8 | 128x128x128 (2.0 MB) | 1x1x1 |
15
+ | Shockwave | Simulation of an unsteady interaction of a planar shockwave with a randomly-perturbed contact discontinuity. | 64x64x512 | uint8 | 64x64x512 (2.0 MB) | 1x1x1 |
16
+ | Frog | MRI scan of a frog as part of the Whole Frog Project. | 256x256x44 | uint8 | 256x256x44 (2.8 MB) | 0.5x0.5x1 |
17
+ | Lobster | CT scan of a lobster contained in a block of resin. | 301x324x56 | uint8 | 301x324x56 (5.2 MB) | 1x1x1.4 |
18
+ | Head MRI CISS | 1.5T MRT 3D CISS dataset of a human head that highlights the CSF (Cerebro-Spinal-Fluid) filled cavities of the head. | 256x256x124 | uint8 | 256x256x124 (7.8 MB) | 0.9x0.9x0.9 |
19
+ | Engine | CT scan of two cylinders of an engine block. | 256x256x128 | uint8 | 256x256x128 (8.0 MB) | 1x1x1 |
20
+ | Head (Visible Male) | Male head scan | 128x256x256 | uint8 | 128x256x256 (8.0 MB) | 1.57774x0.995861x1.00797 |
21
+ | Leg of Statue | CT scan of a leg of a bronze statue. | 341x341x93 | uint8 | 341x341x93 (10.3 MB) | 1x1x4 |
22
+ | Boston Teapot | CT scan of the SIGGRAPH 1989 teapot with a small version of the AVS lobster inside. | 256x256x178 | uint8 | 256x256x178 (11.1 MB) | 1x1x1 |
23
+ | MRI Woman | MRI scan of a woman's head | 256x256x109 | uint16 | 256x256x109 (13.6 MB) | 1x1x1.5 |
24
+ | Aneurism | Rotational C-arm x-ray scan of the arteries of the right half of a human head. A contrast agent was injected into the blood and an aneurism is present. | 256x256x256 | uint8 | 256x256x256 (16.0 MB) | 1x1x1 |
25
+ | Bonsai | CT scan of a bonsai tree. | 256x256x256 | uint8 | 256x256x256 (16.0 MB) | 1x1x1 |
26
+ | Foot | Rotational C-arm x-ray scan of a human foot. Tissue and bone are present in the dataset. | 256x256x256 | uint8 | 256x256x256 (16.0 MB) | 1x1x1 |
27
+ | Skull | Rotational C-arm x-ray scan of phantom of a human skull. | 256x256x256 | uint8 | 256x256x256 (16.0 MB) | 1x1x1 |
28
+ | CSAFE Heptane Gas | A single time step from a computational simulation of a jet of heptane gas undergoing combustion. | 302x302x302 | uint8 | 302x302x302 (26.3 MB) | 1x1x1 |
29
+ | Head MRT Angiography | 3T MRT Time-of-Flight Angiography dataset of a human head. The dataset has been resampled into an isotropic voxel grid (hence the peculiar slice size). | 416x512x112 | uint16 | 416x512x112 (45.5 MB) | 0.412x0.412x0.412 |
30
+ | Carp | CT scan of a carp fish | 256x256x512 | uint16 | 256x256x512 (64.0 MB) | 0.78125x0.390625x1 |
31
+ | Isotropic Turbulence | The dataset represents a time step from an isotropic turbulence simulation. A single variable, enstrophy, is represented on a Cartesian grid. | 256x256x256 | float32 | 256x256x256 (64.0 MB) | 1x1x1 |
32
+ | Stented Abdominal Aorta | CT Scan of the abdomen and pelvis. The dataset contains also a stent in the abdominal aorta. No contrast agent was used to enhance the blood vessels. | 512x512x174 | uint16 | 512x512x174 (87.0 MB) | 0.8398x0.8398x3.2 |
33
+ | Neocortical Layer 1 Axons | Axons in layer 1 of the mouse barrel cortex imaged in vivo. | 1464x1033x76 | uint8 | 1464x1033x76 (109.6 MB) | 1x1x3.4 |
34
+ | Pancreas | First scan. The National Institutes of Health Clinical Center performed 82 abdominal contrast enhanced 3D CT scans (~70 seconds after intravenous contrast injection in portal-venous) from 53 male and 27 female subjects. Seventeen of the subjects are healthy kidney donors scanned prior to nephrectomy. The remaining 65 patients were selected by a radiologist from patients who neither had major abdominal pathologies nor pancreatic cancer lesions. Subjects' ages range from 18 to 76 years with a mean age of 46.8 ± 16.7. The CT scans have resolutions of 512x512 pixels with varying pixel sizes and slice thickness between 1.5 - 2.5 mm, acquired on Philips and Siemens MDCT scanners (120 kVp tube voltage). A medical student manually performed slice-by-slice segmentations of the pancreas as ground-truth and these were verified/modified by an experienced radiologist. | 240x512x512 | int16 | 240x512x512 (120.0 MB) | 1.16x1.0x1.0 |
35
+ | Duct Flow | A wall-bounded flow in a duct. | 193x194x1000 | float32 | 193x194x1000 (142.8 MB) | 1x1x1 |
36
+ | Bunny | A CT scan of the Stanford Bunny. The greyscale units are Hounsfield units, denoting electron-density of the subject; the scale units are in millimeters. The scan was completed 28 January 2000. | 512x512x361 | uint16 | 512x512x361 (180.5 MB) | 0.337891x0.337891x0.5 |
37
+ | Backpack Scan | CT scan of a backpack filled with items. | 512x512x373 | uint16 | 512x512x373 (186.5 MB) | 0.9766x0.9766x1.25 |
38
+ | Christmas Present | An industrial CT scan of a christmas present. | 492x492x442 | uint16 | 492x492x442 (204.1 MB) | 1x1x1 |
39
+ | Colon Prone | CT scan of abdomen in prone orientation (back faces ceiling, belly faces table). | 512x512x463 | uint16 | 512x512x463 (231.5 MB) | 0.625x0.625x1.0 |
40
+ | Christmas Tree | The Christmas tree model was scanned with a Siemens Somatom Plus 4 Volume Zoom Multislice-CT scanner at the general hospital in Vienna. | 512x499x512 | uint16 | 512x499x512 (249.5 MB) | 1x1x1 |
41
+ | Head Aneurism | Rotational angiography scan of a head with an aneurysm. Only contrasted blood vessels are visible. | 512x512x512 | uint16 | 512x512x512 (256.0 MB) | 0.1953x0.1953x0.1953 |
42
+ | Zeiss | Car part reconstructed from projections. | 680x680x680 | uint8 | 680x680x680 (299.9 MB) | 1x1x1 |
43
+ | Neurons in Marmoset Visual Cortex | Pyramidal neurons in the marmoset primary visual cortex (V1) labeled with green fluorescent protein (GFP) after injection of a psuedotyped G-deleted rabies virus in area V2. The tissue was cleared using the Sca/e technique and imaged on a Olympus 2-photon microscope at 20x magnification. | 1024x1024x314 | uint8 | 1024x1024x314 (314.0 MB) | 0.497x0.497x1.5 |
44
+
45
+ ## Datasets over 512MB (not downloaded)
46
+
47
+ | Name | Description | Dimensions | Data Type | Size | Spacing |
48
+ |------|-------------|------------|-----------|------|----------|
49
+ | Magnetic Reconnection Simulation | A single time step from a computational simulation of magnetic reconnection. | 512x512x512 | float32 | 512x512x512 (512.0 MB) | 1x1x1 |
50
+ | Stag Beetle | The stag beetle from Georg Glaeser, Vienna University of Applied Arts, Austria, was scanned with an industrial CT by Johannes Kastner, Wels College of Engineering, Austria, and Meister Eduard Gröller, Vienna University of Technology, Austria. | 832x832x494 | uint16 | 832x832x494 (652.2 MB) | 1x1x1 |
51
+ | Homogeneous Charge Compression Ignition OH | The first timestep of direct numerical simulation of an autoignition phenomena in stratified dimethyl-ether/air turbulent mixtures. | 560x560x560 | float32 | 560x560x560 (669.9 MB) | 1x1x1 |
52
+ | Kingsnake | Scan of a Lampropeltis getula egg (captive bred by Travis LaDuc; laid on 7 July 2003, growth terminated on 29 August 2003, 54 days after oviposition) for Dr. Timothy Rowe of the Department of Geological Sciences, The University of Texas at Austin. | 1024x1024x795 | uint8 | 1024x1024x795 (795.0 MB) | 0.03174x0.03174x0.0688 |
53
+ | Pawpawsaurus Campbelli | This specimen, the holotype, was collected from the Paw Paw Formation, SMU Loc. No. 263, Tarrant County, Texas. The specimen was scanned along the coronal axis for a total of 1088 slices. Voxel size is 0.2275 mm. | 958x646x1088 | uint16 | 958x646x1088 (1.3 GB) | 0.2275x0.2275x0.2275 |
54
+ | Spathorhynchus Fossorium | This specimen, the holotype, was collected from the Middle Eocene Green River Formation of Sweetwater County, Wyoming on 27 July 1967 by Frank L. Pearce. The specimen was scanned along the coronal axis for a total of 750 slices. Each 1024x1024 pixel slice is 0.047 mm thick, with an interslice spacing of 0.047 mm and a field of reconstruction of 22 mm. | 1024x1024x750 | uint16 | 1024x1024x750 (1.5 GB) | 0.0215x0.0215x0.047 |
55
+ | Chameleon | CT scan of a chameleon. | 1024x1024x1080 | uint16 | 1024x1024x1080 (2.1 GB) | 0.09228515625x0.09228515625x0.105 |
56
+ | Beechnut | A microCT scan of a dried beechnut. | 1024x1024x1546 | uint16 | 1024x1024x1546 (3.0 GB) | 2e-05x2e-05x2e-05 |
57
+ | Rayleigh-Taylor Instability | A time step of a density field in a simulation of the mixing transition in Rayleigh-Taylor instability. | 1024x1024x1024 | float32 | 1024x1024x1024 (4.0 GB) | 1x1x1 |
58
+ | Jet In Crossflow | Q-criterion of a jet in crossflow created by a direct numerical simulation. | 1408x1080x1100 | float32 | 1408x1080x1100 (6.2 GB) | 1x1x1 |
59
+ | Synthetic Truss Scan | A simulated CT scan of a 8x8x8 octet truss with five defects on the front side of the object. The defects are bent strut, broken strut, missing strut, dross, and thin strut. | 1200x1200x1200 | float32 | 1200x1200x1200 (6.4 GB) | 1x1x1 |
60
+ | Richtmyer-Meshkov Instability | Entropy field (timestep 160) of Richtmyer-Meshkov instability simulation. | 2048x2048x1920 | uint8 | 2048x2048x1920 (7.5 GB) | 1x1x1 |
61
+ | 3DNeurons15Sept2016 | The neurons are macaque visual cortical neurons labeled with TdTomato fluorescent proteins. | 2048x2048x1718 | uint16 | 2048x2048x1718 (13.4 GB) | 0.267345x0.267345x0.5 |
62
+ | Wood Branch | A microCT scan of dried wood branch (hazelnut). | 2048x2048x2048 | uint16 | 2048x2048x2048 (16.0 GB) | 1.8e-05x1.8e-05x1.8e-05 |
63
+ | Cardiac Volume (Porcine) | Volumes were obtained by way of computed tomography (CT) imaging on excised, postmortem porcine hearts. Alginate curing agents were injected into ventricles to provide rigidity and radiopaque agents were injected into the coronary arteries to distinguish microvasculature from the rest of the tissue. | 2048x2048x2612 | int16 | 2048x2048x2612 (20.4 GB) | 0.03557x0.03557x0.03557 |
64
+ | Forced Isotropic Turbulence | Pressure field of a direct numerical simulation of forced isotropic turbulence. | 4096x4096x4096 | float32 | 4096x4096x4096 (256.0 GB) | 1x1x1 |
65
+ | Rotating Stratified Turbulence | Temperature field of a direct numerical simulation of rotating stratified turbulence. | 4096x4096x4096 | float32 | 4096x4096x4096 (256.0 GB) | 1x1x1 |
66
+ | Turbulent Channel Flow | A pressure field of a direct numerical simulation of fully developed flow at different Reynolds numbers in a plane channel have been performed with POONGBACK code which uses the spectral numerical method of Kim, Moin and Moser (J. Fluid Mech. vol 177, page 133). | 10240x7680x1536 | float64 | 10240x7680x1536 (900.0 GB) | 1x1x1 |
download_and_organize.py ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import json
2
+ import os
3
+ import subprocess
4
+ import time
5
+ import zipfile
6
+
7
+ # Load dataset information
8
+ with open('datasets_info.json', 'r') as f:
9
+ datasets = json.load(f)
10
+
11
+ # Filter datasets under 512MB, excluding existing ones
12
+ existing_datasets = []
13
+ datasets_to_download = [d for d in datasets if d['size_mb'] < 512 and d['id'] not in existing_datasets]
14
+
15
+ print(f"Will download and organize {len(datasets_to_download)} datasets")
16
+
17
+ # Process each dataset
18
+ for i, dataset in enumerate(datasets_to_download):
19
+ dataset_id = dataset['id']
20
+ print(f"\n[{i+1}/{len(datasets_to_download)}] Processing {dataset_id}...")
21
+
22
+ # Create directory structure
23
+ os.makedirs(f"sci_volume_data/{dataset_id}/data", exist_ok=True)
24
+
25
+ # Download the dataset
26
+ url = dataset['download_url']
27
+ output_file = f"sci_volume_data/{dataset_id}/data/{dataset['filename']}"
28
+
29
+ if not os.path.exists(output_file):
30
+ print(f" Downloading {dataset['filename']} ({dataset['size_str']})...")
31
+ result = subprocess.run(['curl', '-o', output_file, url], capture_output=True)
32
+ if result.returncode != 0:
33
+ print(f" ERROR downloading {dataset_id}")
34
+ continue
35
+ time.sleep(0.5) # Be nice to the server
36
+ else:
37
+ print(f" File already exists, skipping download")
38
+
39
+ # Create metadata file
40
+ metadata_file = f"sci_volume_data/{dataset_id}/data/{dataset_id}.txt"
41
+ with open(metadata_file, 'w') as f:
42
+ f.write(f"{dataset['name']}\n")
43
+ f.write(f"Description: {dataset['description']}\n")
44
+ f.write(f"Data Type: {dataset['data_type']}\n")
45
+ f.write(f"Data Byte Order: little Endian\n")
46
+ f.write(f"Data Spacing: {dataset['spacing']}\n")
47
+ f.write(f"Data Extent: {dataset['dimensions']}\n")
48
+
49
+ print(f" Created directory structure and metadata")
50
+
51
+ print(f"\nCompleted processing {len(datasets_to_download)} datasets")
52
+
53
+ # Download BBBC012 dataset for napari_mcp_evals
54
+ print(f"\nDownloading BBBC012 dataset for napari_mcp_evals...")
55
+
56
+ # Create the napari_mcp_evals/data directory
57
+ napari_data_dir = "napari_mcp_evals/data"
58
+ os.makedirs(napari_data_dir, exist_ok=True)
59
+
60
+ # Download the BBBC012 dataset
61
+ bbbc_url = "https://data.broadinstitute.org/bbbc/BBBC012/BBBC012_v1_images.zip"
62
+ bbbc_zip_file = os.path.join(napari_data_dir, "BBBC012_v1_images.zip")
63
+
64
+ if not os.path.exists(os.path.join(napari_data_dir, "BBBC012_v1_images")):
65
+ print(f" Downloading BBBC012_v1_images.zip...")
66
+ result = subprocess.run(['curl', '-o', bbbc_zip_file, bbbc_url], capture_output=True)
67
+
68
+ if result.returncode == 0:
69
+ print(f" Download completed successfully")
70
+
71
+ # Unzip the file
72
+ print(f" Extracting BBBC012_v1_images.zip...")
73
+ try:
74
+ with zipfile.ZipFile(bbbc_zip_file, 'r') as zip_ref:
75
+ zip_ref.extractall(napari_data_dir)
76
+ print(f" Extraction completed")
77
+
78
+ # Delete the zip file
79
+ os.remove(bbbc_zip_file)
80
+ print(f" Cleaned up zip file")
81
+
82
+ except zipfile.BadZipFile:
83
+ print(f" ERROR: Downloaded file is not a valid zip archive")
84
+ except Exception as e:
85
+ print(f" ERROR during extraction: {e}")
86
+ else:
87
+ print(f" ERROR downloading BBBC012 dataset")
88
+ else:
89
+ print(f" BBBC012 dataset already exists, skipping download")
90
+
91
+ print(f"\nAll processing completed!")
main/bonsai/.DS_Store ADDED
Binary file (6.15 kB). View file
 
main/bonsai/GS/.DS_Store ADDED
Binary file (6.15 kB). View file
 
main/bonsai/GS/bonsai_gs.pvsm ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa03b91b2e71ffbfef15c26dce85b93887ee4ffd1461759c11a46f640f604ac0
3
+ size 235372
main/bonsai/GS/bonsai_gs.py ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env pvpython
2
+
3
+ import os
4
+ from paraview.simple import *
5
+
6
+ def create_bonsai_visualization():
7
+ # — Paths & setup —
8
+ base = os.path.abspath(os.path.join(__file__, '..', '..'))
9
+ raw_file = os.path.join(base, 'data', 'bonsai_256x256x256_uint8.raw')
10
+ state_dir = os.path.join(base, 'results', 'pvpython_state')
11
+ state = os.path.join(state_dir, 'bonsai.pvsm')
12
+ os.makedirs(state_dir, exist_ok=True)
13
+ if not os.path.isfile(raw_file):
14
+ raise FileNotFoundError(f"Missing raw: {raw_file}")
15
+
16
+ # — 1) Load the RAW image —
17
+ reader = ImageReader(FileNames=[raw_file])
18
+ reader.DataScalarType = 'unsigned char'
19
+ reader.DataByteOrder = 'LittleEndian'
20
+ reader.DataExtent = [0, 255, 0, 255, 0, 255]
21
+ reader.DataSpacing = [1.0, 1.0, 1.0]
22
+ reader.FileDimensionality = 3
23
+ reader.UpdatePipeline()
24
+
25
+ # — 2) Volume render setup —
26
+ view = GetActiveViewOrCreate('RenderView')
27
+ view.BackgroundColorMode = 'Single Color'
28
+ view.Background = [1, 1, 1]
29
+
30
+ disp = Show(reader, view)
31
+ disp.SetRepresentationType('Volume')
32
+ disp.ColorArrayName = ['POINTS', 'ImageFile']
33
+ view.ResetCamera()
34
+
35
+ # — 3) Transfer functions from extracted GS state —
36
+ ctf = GetColorTransferFunction('ImageFile')
37
+ ctf.ColorSpace = 'RGB'
38
+ ctf.NumberOfTableValues = 1024
39
+ ctf.RGBPoints = [
40
+ 0.000, 0.780, 0.522, 0.000,
41
+ 37.564, 0.847, 0.565, 0.000,
42
+ 61.402, 0.796, 0.757, 0.722,
43
+ 88.853, 0.753, 0.753, 0.753,
44
+ 118.470, 0.804, 0.737, 0.694,
45
+ 129.306, 0.686, 0.357, 0.047,
46
+ 156.756, 0.678, 0.345, 0.024,
47
+ 239.108, 0.667, 0.333, 0.000,
48
+ 255.000, 0.706, 0.016, 0.149
49
+ ]
50
+
51
+ otf = GetOpacityTransferFunction('ImageFile')
52
+ otf.Points = [
53
+ 0.000, 0.000, 0.5, 0.0,
54
+ 32.507, 0.000, 0.5, 0.0,
55
+ 32.507, 0.360, 0.5, 0.0,
56
+ 39.731, 0.455, 0.5, 0.0,
57
+ 41.176, 0.000, 0.5, 0.0,
58
+ 63.569, 0.000, 0.5, 0.0,
59
+ 63.569, 0.511, 0.5, 0.0,
60
+ 89.575, 0.412, 0.5, 0.0,
61
+ 100.411, 0.000, 0.5, 0.0,
62
+ 163.980, 0.002, 0.5, 0.0,
63
+ 163.980, 0.567, 0.5, 0.0,
64
+ 231.161, 0.649, 0.5, 0.0,
65
+ 241.275, 0.433, 0.5, 0.0,
66
+ 255.000, 1.000, 0.5, 0.0
67
+ ]
68
+
69
+ disp.LookupTable = ctf
70
+ disp.ScalarOpacityFunction = otf
71
+
72
+ # — 4) Camera & save —
73
+ cam = view.GetActiveCamera()
74
+ cam.SetPosition(400, 350, 450)
75
+ cam.SetFocalPoint(128, 128, 128)
76
+ cam.SetViewUp(1, 0, 0)
77
+ view.ResetCamera()
78
+ cam.Elevation(15)
79
+ cam.Azimuth(30)
80
+ cam.Zoom(1.0)
81
+
82
+ view.StillRender()
83
+ SaveState(state)
84
+ print(f"[✔] Saved gold‑standard PVSM:\n {state}")
85
+
86
+ if __name__ == '__main__':
87
+ create_bonsai_visualization()
main/bonsai/GS/gs_diagonal_view.png ADDED

Git LFS Details

  • SHA256: f5deab399f55098d4f79d2ca799513e730e0d80cd5954c6d4b36bcdb1553fd3a
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
main/bonsai/GS/gs_front_view.png ADDED

Git LFS Details

  • SHA256: 205de6ffecfe0ac97b9a05cb4e0e48b542e05a622d8e31766fe929617ad39097
  • Pointer size: 131 Bytes
  • Size of remote file: 351 kB
main/bonsai/GS/gs_side_view.png ADDED

Git LFS Details

  • SHA256: ba458a49d0e1bba5fa6267b5582e314be755a633892a18d9d61bcec781c4dbaf
  • Pointer size: 131 Bytes
  • Size of remote file: 477 kB
main/bonsai/data/bonsai.txt ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ Bonsai (Scalar)
2
+ Data Scalar Type: unsigned char
3
+ Data Byte Order: little Endian
4
+ Data Spacing: 1x1x1
5
+ Data Extent: 256x256x256
main/bonsai/data/bonsai_256x256x256_uint8.raw ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:288d2818cffb50d2e2c9e3b5b0a2520d09b0f5051bb63cca315f3fc7a894af80
3
+ size 16777216
main/bonsai/task_description.txt ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Task:
2
+
3
+ Load the bonsai dataset from "bonsai/data/bonsai_256x256x256_uint8.raw", the information about this dataset:
4
+ Bonsai (Scalar)
5
+ Data Scalar Type: unsigned char
6
+ Data Byte Order: little Endian
7
+ Data Spacing: 1x1x1
8
+ Data Extent: 256x256x256
9
+
10
+ Then visualize it with volume rendering, modify the transfer function and reach the visualization goal as: "A potted tree with brown pot silver branch and golden leaves."
11
+
12
+ Please think step by step and make sure to fulfill all the visualization goals mentioned above.
13
+
14
+ Finally, save the paraview state as "bonsai/results/{agent_mode}/bonsai.pvsm"
main/bonsai/visualization_goals.txt ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ 1. Overall Visualization Goal: How well does the result achieve the overall goal of showing a potted tree with the specified colors?
2
+
3
+ 2. Brown Pot Visualization: Does the result show the pot portion in brown color?
4
+
5
+ 3. Silver Branch Visualization: Does the result show the branch/trunk portion in silver color?
6
+
7
+ 4. Golden Leaves Visualization: Does the result show the leaves portion in golden color?
main/carp/GS/answers.txt ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Q1: How many distinct fins are visible in the carp skeleton? List their anatomical names and corresponding counts.
2
+
3
+ A1: There are 7 distinct fins in total. They are:
4
+ 1 Dorsal fin (on the top, mid-back region)
5
+ 2 Pectoral fins (one on each side, near the skull)
6
+ 2 Pelvic fins (smaller, paired fins on the underside, behind pectorals)
7
+ 1 Anal fin (on the underside, near the tail)
8
+ 1 Caudal fin (tail fin, fan-shaped)
9
+
10
+
11
+ Q2: Estimate the ratio of skull length to overall body length, based on the visualization.
12
+
13
+ A2: Skull length ≈ 20-22% of overall body length. The ratio of skull length to overall body length is approximately 1:4.5
main/carp/GS/carp_gs.pvsm ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b6b1f8ef7f14cc0939313dece7a3f73725efa29f0b3242827a3205ee27d5d55
3
+ size 234004
main/carp/GS/gs_diagonal_view.png ADDED

Git LFS Details

  • SHA256: e3187f1a9c69d4d603694861a2182d0a41bbf516675d535a0c460e5b6375ee20
  • Pointer size: 131 Bytes
  • Size of remote file: 106 kB
main/carp/GS/gs_front_view.png ADDED

Git LFS Details

  • SHA256: 196703c0863f4ed986398f2f66d71ed9c21fa2f55915f400a483cbb8cfb3e3b3
  • Pointer size: 130 Bytes
  • Size of remote file: 39.1 kB
main/carp/GS/gs_side_view.png ADDED

Git LFS Details

  • SHA256: 3c2abebbde4f8a5188b3350afd0c219ad503ae9a01af4b39ce7f90ff1041ca97
  • Pointer size: 130 Bytes
  • Size of remote file: 90.3 kB
main/carp/data/carp.txt ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ Carp (Scalar)
2
+ Data Scalar Type: unsigned short
3
+ Data Byte Order: little Endian
4
+ Data Spacing: 0.78125x0.390625x1
5
+ Data Extent: 256x256x512
main/carp/data/carp_256x256x512_uint16.raw ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0744e565584393e8e2e561af60d128d68426832faade48d70c2a49df23907f38
3
+ size 67108864
main/carp/task_description.txt ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Task:
2
+
3
+ Load the carp dataset from "carp/data/carp_256x256x512_uint16.raw", the information about this dataset:
4
+ Carp (Scalar)
5
+ Data Scalar Type: unsigned short
6
+ Data Byte Order: little Endian
7
+ Data Spacing: 0.78125x0.390625x1
8
+ Data Extent: 256x256x512
9
+
10
+ Instructions:
11
+
12
+ 1. Load the dataset into ParaView.
13
+
14
+ 2. Apply volume rendering to visualize the carp skeleton.
15
+
16
+ 3. Adjust the transfer function to highlight only the bony structures in an X-ray style (suppressing soft tissue).
17
+
18
+ 4. Optimize the viewpoint to display the full skeleton, ensuring the head, spine, and fins are all clearly visible in a single frame.
19
+
20
+ 5. Analyze the visualization and answer the following questions:
21
+ Q1: How many distinct fins are visible in the carp skeleton? List their anatomical names and corresponding counts.
22
+ Q2: Estimate the ratio of skull length to overall body length, based on the visualization.
23
+
24
+ 6. Save your work:
25
+ Save the ParaView state as "carp/results/{agent_mode}/carp.pvsm".
26
+ Save the answers to the analysis questions in plain text as "carp/results/{agent_mode}/answers.txt".
main/carp/visualization_goals.txt ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ 1. Bone Isolation: Are the bones clearly visible while soft tissue and background are suppressed? Thin fin rays should be distinguishable without major loss.
2
+
3
+ 2. Viewpoint Selection: Does the chosen viewpoint display the entire carp skeleton (head, spine, ribs, fins, tail) without critical occlusion?
4
+
5
+ 3. X-ray Appearance: Does the visualization resemble an X-ray (monochrome or grayscale, transparent look, consistent lighting)?
6
+
7
+ 4. Correct Data Setup: Was the dataset loaded with proper spacing (0.78125 × 0.390625 × 1.0)? The carp skeleton should appear in its correct proportions without distortion (i.e., the fish shape looks anatomically normal).
main/chameleon/GS/chameleon.pvsm ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9f19cabc7c0a6fd449d07b11fd99e45838aeacdc11ce082d010fd522b3151a4d
3
+ size 248359
main/chameleon/GS/gs_diagonal_view.png ADDED

Git LFS Details

  • SHA256: 5a501d057b7ebc55758d2c9cd235fd9612c616ac349ddf4353c5acddcf794dad
  • Pointer size: 131 Bytes
  • Size of remote file: 239 kB
main/chameleon/GS/gs_front_view.png ADDED

Git LFS Details

  • SHA256: ce6b385fe4af6f0377168bbd4569753f7cff98edbf936f41f35efe40115ecd5d
  • Pointer size: 131 Bytes
  • Size of remote file: 301 kB
main/chameleon/GS/gs_side_view.png ADDED

Git LFS Details

  • SHA256: 1b51228a266cf780126c91afd5de6f8990e442503a2d78d884f23d8a7c63acd0
  • Pointer size: 131 Bytes
  • Size of remote file: 132 kB
main/chameleon/data/chameleon.txt ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ chameleon (Scalar)
2
+ Data Scalar Type: float
3
+ Data Byte Order: little Endian
4
+ Data Extent: 256x256x270
5
+ Number of Scalar Components: 1
main/chameleon/data/chameleon_256x256x270_float32.raw ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bff2380bd60471fedc7e67d016387d08073dbe119733944b9cbb8c6196201cc4
3
+ size 70778880
main/chameleon/task_description.txt ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Task:
2
+
3
+ Load the chameleon dataset from "chameleon/data/chameleon_256x256x270_float32.raw", the information about this dataset:
4
+ chameleon (Scalar)
5
+ Data Scalar Type: float
6
+ Data Byte Order: little Endian
7
+ Data Extent: 256x256x270
8
+ Number of Scalar Components: 1
9
+ Data loading is very important, make sure you correctly load the dataset according to their features.
10
+
11
+ Apply the volume rendering to visualize the chameleon dataset
12
+
13
+ Adjust the transfer function to highlight the bony structures and skin in an X-ray style.
14
+
15
+ Adjust the camera position and focus on the head part of the chameleon
16
+
17
+ Please think step by step and make sure to fulfill all the visualization goals mentioned above.
18
+
19
+ Finally, save the paraview state as "chameleon/results/{agent_mode}/chameleon.pvsm"
main/chameleon/visualization_goals.txt ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ 1. Overall Visualization Goal: Does the result present a clean, X-ray–style volume rendering where the chameleon’s bony structures are clearly emphasized and soft tissue is faint but discernible?
2
+
3
+ 2. Data Loading Correctness: Is the RAW volume loaded with the specified metadata (float32, little-endian, 256×256×270, 1 component) so that the histogram looks reasonable and the anatomy is not flipped or distorted?
4
+
5
+ 3. Transfer Function Quality: Does the grayscale transfer function make low-intensity tissue mostly transparent while assigning higher opacity to bones/skin ridges, yielding good depth cues without over-saturation or banding?
6
+
7
+ 4. Camera & Framing: Is the camera positioned and zoomed to focus on the chameleon’s head, keeping it sharply framed (no clipping), with a stable viewpoint that highlights key anatomical details?
main/engine/GS/engine.pvsm ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:57d77bac59a328eb14ed6e2eed84a20ad93582462278d4e30301b8a342dc7045
3
+ size 259002
main/engine/GS/gs_diagonal_view.png ADDED

Git LFS Details

  • SHA256: 9f6faa5b25cb0ab6f6e7fc6c56758477e735ef21319ef893d9a603009117d2b0
  • Pointer size: 131 Bytes
  • Size of remote file: 696 kB
main/engine/GS/gs_front_view.png ADDED

Git LFS Details

  • SHA256: 5d1d9d3a7bfa0800461a7ac286c40f76cc381c2a62972657e27dd301087cb7c7
  • Pointer size: 131 Bytes
  • Size of remote file: 605 kB
main/engine/GS/gs_side_view.png ADDED

Git LFS Details

  • SHA256: 94e7b786710075226251199644ba8555fcffda7ad9c31786bf40ea795dd222fa
  • Pointer size: 131 Bytes
  • Size of remote file: 803 kB
main/engine/data/engine.txt ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ engine (Scalar)
2
+ Data Scalar Type: float
3
+ Data Byte Order: little Endian
4
+ Data Extent: 256x256x128
5
+ Number of Scalar Components: 1
main/engine/data/engine_256x256x128_uint8.raw ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15cf29cdde69cd6c8b5ab9eeef4d1bb21f276056da4111cb5069ebfbe5b6ff90
3
+ size 8388608
main/engine/task_description.txt ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Task:
2
+
3
+ Load the vortex dataset from "engine/data/engine_256x256x128_uint8.raw", the information about this dataset:
4
+ engine (Scalar)
5
+ Data Scalar Type: float
6
+ Data Byte Order: little Endian
7
+ Data Extent: 256x256x128
8
+ Number of Scalar Components: 1
9
+
10
+ Instructions:
11
+
12
+ 1. Load the dataset into ParaView.
13
+
14
+ 2. Apply the volume rendering to visualize the engine dataset
15
+
16
+ 3. Adjust the transfer function, let the outer part more transparent and the inner part more solid. Use light blue for the outer part and orange for the inner part.
17
+
18
+ 4. Save your work:
19
+ Save the ParaView state as "engine/results/{agent_mode}/engine.pvsm".
main/engine/visualization_goals.txt ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ 1. Overall Visualization Goal: How well does the result use volume rendering to clearly present the internal and external structures of the engine dataset?
2
+
3
+ 2. Structural Clarity: Does the visualization emphasize depth so that the outer layers do not obscure the inner structures?
4
+
5
+ 3. Transfer Function Transparency: Is the outer region rendered with higher transparency and the inner region more solid, achieving a clear layering effect?
6
+
7
+ 4. Transfer Function Color Mapping: Are colors correctly assigned so that the outer part is light blue and the inner part is orange, enhancing structural contrast?
main/foot/GS/foot_gs.pvsm ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f75a4a23f18a31173f1dbeca7f27cd6c4e384e533c4c3f14f190f5577c394b2
3
+ size 211051
main/foot/data/foot.txt ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ Foot
2
+ Description: Rotational C-arm x-ray scan of a human foot. Tissue and bone are present in the dataset.
3
+ Data Type: uint8
4
+ Data Byte Order: little Endian
5
+ Data Spacing: 1x1x1
6
+ Data Extent: 256x256x256
main/foot/data/foot_256x256x256_uint8.raw ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5b296aa009eb1e84316bc8694dd4ec196f0ad9e1442fb4f08cf44c70e3b7dc4
3
+ size 16777216
main/foot/task_description.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Task:
2
+
3
+ Load the Foot dataset from "foot/data/foot_256x256x256_uint8.raw", the information about this dataset:
4
+ Foot
5
+ Description: Rotational C-arm x-ray scan of a human foot. Tissue and bone are present in the dataset.
6
+ Data Type: uint8
7
+ Data Byte Order: little Endian
8
+ Data Spacing: 1x1x1
9
+ Data Extent: 256x256x256
10
+ Data loading is very important, make sure you correctly load the dataset according to their features.
11
+
12
+ Visualize the anatomical structures:
13
+ 1. Apply volume rendering with an X-ray transfer function that distinguishes soft tissues and bones. Bones with darker color, and soft tissue with lighter color.
14
+
15
+ 2. Analyze the visualization and answer the following questions:
16
+ Q1: In the visualization, which structures are fully visible: the phalanges, the metatarsals, or both?
17
+
18
+ 3. Save your work:
19
+ Save the ParaView state as "foot/results/{agent_mode}/foot.pvsm".
20
+ Save the answers to the analysis questions in plain text as "foot/results/{agent_mode}/answers.txt".
main/foot/visualization_goals.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ 1. Overall Goal: Does the visualization effectively distinguish between different tissue types in the foot dataset?
2
+
3
+ 2. QA: The phalanges (toe bones) are clearly visible in full, but the metatarsals are only partially visible.
main/get_tf_from_gs.py ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env pvpython
2
+
3
+ from paraview.simple import *
4
+ import os
5
+
6
+ def load_state_and_inspect_transfer_functions(state_path):
7
+ if not os.path.isfile(state_path):
8
+ raise FileNotFoundError(f"State file not found: {state_path}")
9
+
10
+ # Load the ParaView state file
11
+ LoadState(state_path)
12
+ print(f"[✔] Loaded state from: {state_path}")
13
+
14
+ # Access the active view
15
+ view = GetActiveViewOrCreate('RenderView')
16
+
17
+ # Iterate through all sources to find volume display
18
+ for source in GetSources().values():
19
+ display = GetDisplayProperties(source, view=view)
20
+ if hasattr(display, 'LookupTable') and display.LookupTable:
21
+ lut = display.LookupTable
22
+ otf = display.ScalarOpacityFunction
23
+
24
+ print("\n🎨 Color Transfer Function (LUT) — RGBPoints:")
25
+ for i in range(0, len(lut.RGBPoints), 4):
26
+ val = lut.RGBPoints[i]
27
+ r, g, b = lut.RGBPoints[i+1:i+4]
28
+ print(f" {val:.3f}: R={r:.3f}, G={g:.3f}, B={b:.3f}")
29
+
30
+ print("\n🌫️ Opacity Transfer Function (OTF) — Points:")
31
+ for i in range(0, len(otf.Points), 4):
32
+ val = otf.Points[i]
33
+ alpha = otf.Points[i+1]
34
+ print(f" {val:.3f}: α={alpha:.3f}")
35
+
36
+ return lut, otf
37
+
38
+ print("❌ No volume rendering transfer function found.")
39
+ return None, None
40
+
41
+ if __name__ == '__main__':
42
+ base_path = os.path.abspath(os.path.join(__file__, '..'))
43
+ state_file = os.path.join(base_path, 'bonsai_gs.pvsm')
44
+ load_state_and_inspect_transfer_functions(state_file)
main/lobster/GS/lobster_gs.pvsm ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4850853e90dc12c5b72c08a48dde7972da869ed6a1ffca9b43fae04e85618057
3
+ size 378290