Skip to content

Commit 01baf38

Browse files
authored
docs: edit ohif poly seg docs
1 parent 7aa5399 commit 01baf38

4 files changed

Lines changed: 38 additions & 2 deletions

File tree

β€ŽPW38_2023_GranCanaria/Projects/OHIF_PolySeg/README.mdβ€Ž

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Back to [Projects List](../../README.md#ProjectsList)
55
## Key Investigators
66

77
- Alireza Sedghi (OHIF, Accolade Imaging)
8-
-
98

109
# Project Description
1110

@@ -24,8 +23,45 @@ The aim of the project is to continue on the effort of adding polySeg representa
2423

2524
## Progress and Next Steps
2625

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+
![geometry](./geometryLoader.png)
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+
![contour](./contour.png)
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+
![surface](./surface.png)
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
2862

2963
# Background and References
3064

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.
66+
3167
https://github.com/SlicerRt/SlicerRT/tree/master/DicomRtImportExport/ConversionRules
405 KB
Loading
109 KB
Loading
391 KB
Loading

0 commit comments

Comments
 (0)