You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: PW38_2023_GranCanaria/Projects/OHIF_PolySeg/README.md
+38-2Lines changed: 38 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,6 @@ Back to [Projects List](../../README.md#ProjectsList)
5
5
## Key Investigators
6
6
7
7
- Alireza Sedghi (OHIF, Accolade Imaging)
8
-
-
9
8
10
9
# Project Description
11
10
@@ -24,8 +23,45 @@ The aim of the project is to continue on the effort of adding polySeg representa
24
23
25
24
## Progress and Next Steps
26
25
27
-
# Illustrations
26
+
### Added new geometry loader to Cornerstone3D
27
+
28
+
Aiming towards polySeg representations require support for loading a geometry. As part of this task a geometry loader were added to the cornerstone3D which can support loading and caching two geometries:
29
+
30
+
- ContourSet: A set of 3D contours (list of contours each with a list of points)
31
+
- Surface: A 3D surface (points and polygons)
32
+
33
+

34
+
35
+
### Implemented the contour segmentation representation in Cornerstone3D
36
+
37
+
The contour representation is the simplest representation of a polySEG segmentation. It is a set of 3D contours (list of contours each with a list of points). The representation
38
+
utilizes the geometry loader to load the contours and render them in the cornerstone3D viewport using the vtkActors
39
+
40
+

41
+
42
+
Try it out in our contour demo [here](https://www.cornerstonejs.org/live-examples/contoursegmentationrepresentation)
43
+
44
+
### Implemented the surface segmentation in Cornerstone3D
45
+
46
+
The surface representation is a 3D surface (points and polygons). The representation utilizes the geometry loader to load the surface and render them in the cornerstone3D viewport using the vtkActors
47
+
48
+

49
+
50
+
Try it out in our contour demo [here](https://deploy-preview-418--cornerstone-3d-docs.netlify.app/live-examples/surfacesegmentationrepresentation)
51
+
52
+
### Debugged the build for the WASM file to make it smaller
53
+
54
+
The WASM file was too big to be used in the browser. The build was debugged to make it smaller. Tried the following with no success:
55
+
56
+
- Making the biuld optimize for size instead of speed
57
+
58
+
## Next Steps
59
+
60
+
- Implement the OHIF side of the polySeg representation
61
+
- Make the WASM file smaller to be used in the browser
28
62
29
63
# Background and References
30
64
65
+
[ICRPolySeg-WASM](https://bitbucket.org/icrimaginginformatics/polyseg-wasm/src/master/), a wrapper package that implements PolySeg for the Web written by ICR team. This work is sponsored by NCITA, a flagship multi-institutional collaboration between leading UK universities, funded by Cancer Research UK - ncita.org.uk. The functionality has now been integrated into the XNAT OHIF Viewer v3.5.0-RC1.
0 commit comments