larvitar 0.18.2 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (229) hide show
  1. package/.github/workflows/deploy.yml +3 -12
  2. package/MIGRATION.md +25 -0
  3. package/README.md +28 -27
  4. package/docs/documentation/Mixins.polygonSegmentationMixin%20-%20segmentation%20operations%20for%20polyline.html +171 -0
  5. package/docs/documentation/Tools.Annotation.ContoursTool.html +218 -0
  6. package/docs/documentation/Tools.Annotation.DiameterTool.html +219 -0
  7. package/docs/documentation/Tools.Annotation.SeedsTool.html +214 -0
  8. package/docs/documentation/Tools.Brush.BrushTool.html +218 -0
  9. package/docs/documentation/Tools.Brush.ThresholdsBrushTool.html +218 -0
  10. package/docs/documentation/Tools.PolylineScissorsTool.html +218 -0
  11. package/docs/documentation/fonts/Montserrat/Montserrat-Bold.eot +0 -0
  12. package/docs/documentation/fonts/Montserrat/Montserrat-Bold.ttf +0 -0
  13. package/docs/documentation/fonts/Montserrat/Montserrat-Bold.woff +0 -0
  14. package/docs/documentation/fonts/Montserrat/Montserrat-Bold.woff2 +0 -0
  15. package/docs/documentation/fonts/Montserrat/Montserrat-Regular.eot +0 -0
  16. package/docs/documentation/fonts/Montserrat/Montserrat-Regular.ttf +0 -0
  17. package/docs/documentation/fonts/Montserrat/Montserrat-Regular.woff +0 -0
  18. package/docs/documentation/fonts/Montserrat/Montserrat-Regular.woff2 +0 -0
  19. package/docs/documentation/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.eot +0 -0
  20. package/docs/documentation/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.svg +978 -0
  21. package/docs/documentation/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.ttf +0 -0
  22. package/docs/documentation/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff +0 -0
  23. package/docs/documentation/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff2 +0 -0
  24. package/docs/documentation/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.eot +0 -0
  25. package/docs/documentation/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.svg +1049 -0
  26. package/docs/documentation/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.ttf +0 -0
  27. package/docs/documentation/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff +0 -0
  28. package/docs/documentation/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff2 +0 -0
  29. package/docs/documentation/global.html +1303 -0
  30. package/docs/documentation/imageAnonymization.js.html +245 -0
  31. package/docs/documentation/imageColormaps.js.html +283 -0
  32. package/docs/documentation/imageContours.js.html +278 -0
  33. package/docs/documentation/imageIo.js.html +291 -0
  34. package/docs/documentation/imageLayers.js.html +188 -0
  35. package/docs/documentation/imageLoading.js.html +297 -0
  36. package/docs/documentation/imageParsing.js.html +385 -0
  37. package/docs/documentation/imagePresets.js.html +207 -0
  38. package/docs/documentation/imageRendering.js.html +849 -0
  39. package/docs/documentation/imageReslice.js.html +162 -0
  40. package/docs/documentation/imageStore.js.html +360 -0
  41. package/docs/documentation/imageTools.js.html +784 -0
  42. package/docs/documentation/imageUtils.js.html +1609 -0
  43. package/docs/documentation/image_colormaps.js.html +283 -0
  44. package/docs/documentation/image_contours.js.html +279 -0
  45. package/docs/documentation/image_io.js.html +288 -0
  46. package/docs/documentation/image_layers.js.html +188 -0
  47. package/docs/documentation/image_loading.js.html +294 -0
  48. package/docs/documentation/image_parsing.js.html +391 -0
  49. package/docs/documentation/image_presets.js.html +207 -0
  50. package/docs/documentation/image_rendering.js.html +845 -0
  51. package/docs/documentation/image_reslice.js.html +164 -0
  52. package/docs/documentation/image_store.js.html +359 -0
  53. package/docs/documentation/image_tools.js.html +792 -0
  54. package/docs/documentation/image_utils.js.html +1609 -0
  55. package/docs/documentation/index.html +175 -0
  56. package/docs/documentation/loaders_commonLoader.js.html +306 -0
  57. package/docs/documentation/loaders_dicomLoader.js.html +130 -0
  58. package/docs/documentation/loaders_fileLoader.js.html +155 -0
  59. package/docs/documentation/loaders_multiframeLoader.js.html +443 -0
  60. package/docs/documentation/loaders_niftiLoader.js.html +150 -0
  61. package/docs/documentation/loaders_nrrdLoader.js.html +545 -0
  62. package/docs/documentation/loaders_resliceLoader.js.html +258 -0
  63. package/docs/documentation/module-imaging_contours.html +954 -0
  64. package/docs/documentation/module-imaging_imageAnonymization.html +544 -0
  65. package/docs/documentation/module-imaging_imageColormaps.html +1012 -0
  66. package/docs/documentation/module-imaging_imageContours.html +954 -0
  67. package/docs/documentation/module-imaging_imageIo.html +1057 -0
  68. package/docs/documentation/module-imaging_imageLayers.html +904 -0
  69. package/docs/documentation/module-imaging_imageLoading.html +1301 -0
  70. package/docs/documentation/module-imaging_imageParsing.html +1356 -0
  71. package/docs/documentation/module-imaging_imagePresets.html +679 -0
  72. package/docs/documentation/module-imaging_imageRendering.html +3223 -0
  73. package/docs/documentation/module-imaging_imageReslice.html +413 -0
  74. package/docs/documentation/module-imaging_imageStore-Larvitar_Store.html +284 -0
  75. package/docs/documentation/module-imaging_imageStore.html +1560 -0
  76. package/docs/documentation/module-imaging_imageTools.html +3617 -0
  77. package/docs/documentation/module-imaging_imageUtils.html +7253 -0
  78. package/docs/documentation/module-imaging_io.html +1057 -0
  79. package/docs/documentation/module-imaging_layers.html +904 -0
  80. package/docs/documentation/module-imaging_loading.html +1301 -0
  81. package/docs/documentation/module-imaging_parsing.html +1375 -0
  82. package/docs/documentation/module-imaging_presets.html +679 -0
  83. package/docs/documentation/module-imaging_rendering.html +8094 -0
  84. package/docs/documentation/module-imaging_reslice.html +411 -0
  85. package/docs/documentation/module-imaging_store-Larvitar_Store.html +284 -0
  86. package/docs/documentation/module-imaging_store.html +1537 -0
  87. package/docs/documentation/module-imaging_strategies_eraseFreehand.html +708 -0
  88. package/docs/documentation/module-imaging_strategies_fillFreehand.html +708 -0
  89. package/docs/documentation/module-imaging_tools.html +3617 -0
  90. package/docs/documentation/module-imaging_tools_custom_contourTool.html +207 -0
  91. package/docs/documentation/module-imaging_tools_custom_diameterTool.html +205 -0
  92. package/docs/documentation/module-imaging_tools_custom_editMaskTool.html +205 -0
  93. package/docs/documentation/module-imaging_tools_custom_polygonScissorsTool.html +203 -0
  94. package/docs/documentation/module-imaging_tools_custom_thresholdBrushTool.html +684 -0
  95. package/docs/documentation/module-imaging_tools_default.html +205 -0
  96. package/docs/documentation/module-imaging_tools_interaction.html +530 -0
  97. package/docs/documentation/module-imaging_tools_io.html +832 -0
  98. package/docs/documentation/module-imaging_tools_main.html +2028 -0
  99. package/docs/documentation/module-imaging_tools_polygonSegmentationMixin.html +567 -0
  100. package/docs/documentation/module-imaging_tools_segmentation.html +3586 -0
  101. package/docs/documentation/module-imaging_tools_state.html +494 -0
  102. package/docs/documentation/module-imaging_utils.html +7253 -0
  103. package/docs/documentation/module-loaders_commonLoader.html +1313 -0
  104. package/docs/documentation/module-loaders_dicomLoader.html +522 -0
  105. package/docs/documentation/module-loaders_fileLoader.html +593 -0
  106. package/docs/documentation/module-loaders_multiframeLoader.html +1169 -0
  107. package/docs/documentation/module-loaders_niftiLoader.html +565 -0
  108. package/docs/documentation/module-loaders_nrrdLoader.html +1459 -0
  109. package/docs/documentation/module-loaders_resliceLoader.html +590 -0
  110. package/docs/documentation/module-monitors_memory.html +980 -0
  111. package/docs/documentation/module-tools_default.html +740 -0
  112. package/docs/documentation/module.exports_module.exports.html +203 -0
  113. package/docs/documentation/monitors_memory.js.html +189 -0
  114. package/docs/documentation/parsers_nrrd.js.html +569 -0
  115. package/docs/documentation/scripts/collapse.js +20 -0
  116. package/docs/documentation/scripts/linenumber.js +25 -0
  117. package/docs/documentation/scripts/nav.js +12 -0
  118. package/docs/documentation/scripts/polyfill.js +4 -0
  119. package/docs/documentation/scripts/prettify/Apache-License-2.0.txt +202 -0
  120. package/docs/documentation/scripts/prettify/lang-css.js +2 -0
  121. package/docs/documentation/scripts/prettify/prettify.js +28 -0
  122. package/docs/documentation/scripts/search.js +83 -0
  123. package/docs/documentation/styles/jsdoc.css +765 -0
  124. package/docs/documentation/styles/prettify.css +80 -0
  125. package/docs/documentation/tools_contourTool.js.html +1963 -0
  126. package/docs/documentation/tools_custom_contourTool.js.html +1968 -0
  127. package/docs/documentation/tools_custom_diameterTool.js.html +225 -0
  128. package/docs/documentation/tools_custom_editMaskTool.js.html +225 -0
  129. package/docs/documentation/tools_custom_polylineScissorsTool.js.html +143 -0
  130. package/docs/documentation/tools_custom_thresholdsBrushTool.js.html +245 -0
  131. package/docs/documentation/tools_default.js.html +576 -0
  132. package/docs/documentation/tools_diameterTool.js.html +219 -0
  133. package/docs/documentation/tools_editMaskTool.js.html +219 -0
  134. package/docs/documentation/tools_interaction.js.html +258 -0
  135. package/docs/documentation/tools_io.js.html +297 -0
  136. package/docs/documentation/tools_main.js.html +443 -0
  137. package/docs/documentation/tools_polygonSegmentationMixin.js.html +329 -0
  138. package/docs/documentation/tools_polylineScissorsTool.js.html +136 -0
  139. package/docs/documentation/tools_seedTool.js.html +423 -0
  140. package/docs/documentation/tools_segmentation.js.html +558 -0
  141. package/docs/documentation/tools_state.js.html +163 -0
  142. package/docs/documentation/tools_strategies_eraseFreehand.js.html +160 -0
  143. package/docs/documentation/tools_strategies_fillFreehand.js.html +163 -0
  144. package/docs/documentation/tools_thresholdsBrushTool.js.html +239 -0
  145. package/docs/documentation/tools_tools.default.js.html +569 -0
  146. package/docs/documentation/tools_tools.interaction.js.html +251 -0
  147. package/docs/documentation/tools_tools.io.js.html +288 -0
  148. package/docs/documentation/tools_tools.main.js.html +442 -0
  149. package/docs/documentation/tools_tools.segmentation.js.html +445 -0
  150. package/docs/documentation/tools_tools.state.js.html +157 -0
  151. package/docs/examples/base.html +170 -0
  152. package/docs/examples/colorMaps.html +181 -0
  153. package/docs/examples/defaultTools.html +246 -0
  154. package/docs/examples/demo/anon1 +0 -0
  155. package/docs/examples/demo/anon10 +0 -0
  156. package/docs/examples/demo/anon11 +0 -0
  157. package/docs/examples/demo/anon12 +0 -0
  158. package/docs/examples/demo/anon13 +0 -0
  159. package/docs/examples/demo/anon14 +0 -0
  160. package/docs/examples/demo/anon15 +0 -0
  161. package/docs/examples/demo/anon16 +0 -0
  162. package/docs/examples/demo/anon17 +0 -0
  163. package/docs/examples/demo/anon18 +0 -0
  164. package/docs/examples/demo/anon19 +0 -0
  165. package/docs/examples/demo/anon2 +0 -0
  166. package/docs/examples/demo/anon20 +0 -0
  167. package/docs/examples/demo/anon21 +0 -0
  168. package/docs/examples/demo/anon22 +0 -0
  169. package/docs/examples/demo/anon23 +0 -0
  170. package/docs/examples/demo/anon24 +0 -0
  171. package/docs/examples/demo/anon3 +0 -0
  172. package/docs/examples/demo/anon4 +0 -0
  173. package/docs/examples/demo/anon5 +0 -0
  174. package/docs/examples/demo/anon6 +0 -0
  175. package/docs/examples/demo/anon7 +0 -0
  176. package/docs/examples/demo/anon8 +0 -0
  177. package/docs/examples/demo/anon9 +0 -0
  178. package/docs/examples/demo/example.nrrd +0 -0
  179. package/docs/examples/demo/segmentation.nrrd +0 -0
  180. package/docs/examples/demo/xa_integris.dcm +0 -0
  181. package/docs/examples/index.html +129 -0
  182. package/docs/examples/larvitar.js +108623 -0
  183. package/docs/examples/layers.html +250 -0
  184. package/docs/examples/masks.html +273 -0
  185. package/docs/examples/multiframe.html +200 -0
  186. package/docs/examples/nrrd.html +96 -0
  187. package/docs/examples/reslice.html +174 -0
  188. package/docs/index.html +92 -0
  189. package/imaging/dataDictionary.json +21865 -21865
  190. package/imaging/imageAnonymization.js +161 -0
  191. package/imaging/{image_colormaps.js → imageColormaps.js} +2 -2
  192. package/imaging/{image_contours.js → imageContours.js} +1 -2
  193. package/imaging/{image_io.js → imageIo.js} +18 -15
  194. package/imaging/{image_layers.js → imageLayers.js} +2 -2
  195. package/imaging/{image_loading.js → imageLoading.js} +9 -6
  196. package/imaging/imageParsing.js +301 -0
  197. package/imaging/{image_presets.js → imagePresets.js} +2 -2
  198. package/imaging/{image_rendering.js → imageRendering.js} +36 -32
  199. package/imaging/imageReslice.js +78 -0
  200. package/imaging/{image_store.js → imageStore.js} +8 -7
  201. package/imaging/{image_tools.js → imageTools.js} +15 -23
  202. package/imaging/{image_utils.js → imageUtils.js} +1 -1
  203. package/imaging/loaders/commonLoader.js +1 -1
  204. package/imaging/loaders/dicomLoader.js +1 -1
  205. package/imaging/loaders/fileLoader.js +2 -2
  206. package/imaging/loaders/multiframeLoader.js +6 -2
  207. package/imaging/loaders/nrrdLoader.js +11 -7
  208. package/imaging/tools/{contourTool.js → custom/contourTool.js} +25 -20
  209. package/imaging/tools/{diameterTool.js → custom/diameterTool.js} +9 -3
  210. package/imaging/tools/{editMaskTool.js → custom/editMaskTool.js} +7 -1
  211. package/imaging/tools/{polylineScissorsTool.js → custom/polylineScissorsTool.js} +12 -5
  212. package/imaging/tools/{seedTool.js → custom/seedTool.js} +3 -3
  213. package/imaging/tools/{thresholdsBrushTool.js → custom/thresholdsBrushTool.js} +7 -1
  214. package/imaging/tools/{tools.default.js → default.js} +10 -3
  215. package/imaging/tools/{tools.interaction.js → interaction.js} +13 -6
  216. package/imaging/tools/{tools.io.js → io.js} +15 -6
  217. package/imaging/tools/{tools.main.js → main.js} +16 -14
  218. package/imaging/tools/polygonSegmentationMixin.js +8 -4
  219. package/imaging/tools/{tools.segmentation.js → segmentation.js} +171 -58
  220. package/imaging/tools/segmentations.md +38 -0
  221. package/imaging/tools/setLabelMap3D.js +248 -0
  222. package/imaging/tools/{tools.state.js → state.js} +7 -1
  223. package/imaging/tools/strategies/eraseFreehand.js +8 -9
  224. package/imaging/tools/strategies/fillFreehand.js +8 -9
  225. package/index.js +44 -39
  226. package/modules/vuex/larvitar.js +13 -3
  227. package/package.json +13 -10
  228. package/imaging/image_parsing.js +0 -307
  229. package/imaging/image_reslice.js +0 -80
@@ -0,0 +1,3586 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+
5
+ <meta charset="utf-8">
6
+ <title>imaging/tools/segmentation - Larvitar</title>
7
+
8
+ <meta name="description" content="Dicom Image Toolkit for CornestoneJS" />
9
+
10
+ <meta name="keywords" content="imaging, dataviz, medical, cornerstone" />
11
+ <meta name="keyword" content="imaging, dataviz, medical, cornerstone" />
12
+
13
+
14
+
15
+ <script src="scripts/prettify/prettify.js"></script>
16
+ <script src="scripts/prettify/lang-css.js"></script>
17
+ <!--[if lt IE 9]>
18
+ <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
19
+ <![endif]-->
20
+ <link type="text/css" rel="stylesheet" href="styles/prettify.css">
21
+ <link type="text/css" rel="stylesheet" href="styles/jsdoc.css">
22
+ <script src="scripts/nav.js" defer></script>
23
+
24
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
25
+ </head>
26
+ <body>
27
+
28
+ <input type="checkbox" id="nav-trigger" class="nav-trigger" />
29
+ <label for="nav-trigger" class="navicon-button x">
30
+ <div class="navicon"></div>
31
+ </label>
32
+
33
+ <label for="nav-trigger" class="overlay"></label>
34
+
35
+ <nav >
36
+
37
+ <input type="text" id="nav-search" placeholder="Search" />
38
+
39
+
40
+ <h2><a href="index.html">Home</a></h2><h2><a href="https://github.com/dvisionlab/Larvitar" target="_blank" class="menu-item" id="repository" >Github repo</a></h2><h3>Classes</h3><ul><li><a href="module-imaging_imageStore-Larvitar_Store.html">imaging/imageStore~Larvitar_Store</a></li><li><a href="module-imaging_tools_custom_polygonScissorsTool.html">imaging/tools/custom/polygonScissorsTool</a></li><li><a href="Tools.Annotation.ContoursTool.html">Tools.Annotation.ContoursTool</a></li><li><a href="Tools.Annotation.DiameterTool.html">Tools.Annotation.DiameterTool</a></li><li><a href="Tools.Brush.BrushTool.html">Tools.Brush.BrushTool</a></li><li><a href="Tools.Brush.ThresholdsBrushTool.html">Tools.Brush.ThresholdsBrushTool</a></li><li><a href="Tools.PolylineScissorsTool.html">Tools.PolylineScissorsTool</a></li></ul><h3>Modules</h3><ul><li><a href="module-imaging_imageAnonymization.html">imaging/imageAnonymization</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_imageAnonymization.html#anonymize#~anonymize">anonymize</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageAnonymization.html#encrypt#~encrypt">encrypt</a></li></ul></li><li><a href="module-imaging_imageColormaps.html">imaging/imageColormaps</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_imageColormaps.html#HSVToRGB#.HSVToRGB">HSVToRGB</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageColormaps.html#addColorMap#addColorMap">addColorMap</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageColormaps.html#applyColorMap#applyColorMap">applyColorMap</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageColormaps.html#fillPixelData#fillPixelData">fillPixelData</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageColormaps.html#getColormapsList#getColormapsList">getColormapsList</a></li></ul></li><li><a href="module-imaging_imageContours.html">imaging/imageContours</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_imageContours.html#extractSlicePoints#extractSlicePoints">extractSlicePoints</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageContours.html#populateContoursObject#populateContoursObject">populateContoursObject</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageContours.html#parseContours#~parseContours">parseContours</a></li></ul></li><li><a href="module-imaging_imageIo.html">imaging/imageIo</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_imageIo.html#buildData#~buildData">buildData</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageIo.html#buildDataAsync#~buildDataAsync">buildDataAsync</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageIo.html#buildHeader#~buildHeader">buildHeader</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageIo.html#getCachedPixelData#~getCachedPixelData">getCachedPixelData</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageIo.html#importNRRDImage#~importNRRDImage">importNRRDImage</a></li></ul></li><li><a href="module-imaging_imageLayers.html">imaging/imageLayers</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_imageLayers.html#getActiveLayer#getActiveLayer">getActiveLayer</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageLayers.html#setActiveLayer#setActiveLayer">setActiveLayer</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageLayers.html#updateLayer#updateLayer">updateLayer</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageLayers.html#buildLayers#~buildLayers">buildLayers</a></li></ul></li><li><a href="module-imaging_imageLoading.html">imaging/imageLoading</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_imageLoading.html#initializeFileImageLoader#initializeFileImageLoader">initializeFileImageLoader</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageLoading.html#initializeImageLoader#initializeImageLoader">initializeImageLoader</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageLoading.html#initializeWebImageLoader#initializeWebImageLoader">initializeWebImageLoader</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageLoading.html#registerMultiFrameImageLoader#registerMultiFrameImageLoader">registerMultiFrameImageLoader</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageLoading.html#registerNRRDImageLoader#registerNRRDImageLoader">registerNRRDImageLoader</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageLoading.html#registerResliceLoader#registerResliceLoader">registerResliceLoader</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageLoading.html#updateLoadedStack#updateLoadedStack">updateLoadedStack</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageLoading.html#isNewInstance#~isNewInstance">isNewInstance</a></li></ul></li><li><a href="module-imaging_imageParsing.html">imaging/imageParsing</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_imageParsing.html#clearImageParsing#clearImageParsing">clearImageParsing</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageParsing.html#parseDataSet#parseDataSet">parseDataSet</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageParsing.html#readFile#readFile">readFile</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageParsing.html#readFiles#readFiles">readFiles</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageParsing.html#parseFile#~parseFile">parseFile</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageParsing.html#parseFiles#~parseFiles">parseFiles</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageParsing.html#parseNextFile#~parseNextFile">parseNextFile</a></li></ul></li><li><a href="module-imaging_imagePresets.html">imaging/imagePresets</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_imagePresets.html#getImagePresets#getImagePresets">getImagePresets</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imagePresets.html#setImageCustomPreset#setImageCustomPreset">setImageCustomPreset</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imagePresets.html#setImagePreset#setImagePreset">setImagePreset</a></li></ul></li><li><a href="module-imaging_imageRendering.html">imaging/imageRendering</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_imageRendering.html#clearImageCache#clearImageCache">clearImageCache</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageRendering.html#disableViewport#disableViewport">disableViewport</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageRendering.html#flipImageHorizontal#flipImageHorizontal">flipImageHorizontal</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageRendering.html#flipImageVertical#flipImageVertical">flipImageVertical</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageRendering.html#getSeriesData#getSeriesData">getSeriesData</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageRendering.html#invertImage#invertImage">invertImage</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageRendering.html#loadAndCacheImages#loadAndCacheImages">loadAndCacheImages</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageRendering.html#renderImage#renderImage">renderImage</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageRendering.html#renderWebImage#renderWebImage">renderWebImage</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageRendering.html#renderWebImage#renderWebImage">renderWebImage</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageRendering.html#resetViewports#resetViewports">resetViewports</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageRendering.html#resizeViewport#resizeViewport">resizeViewport</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageRendering.html#rotateImageLeft#rotateImageLeft">rotateImageLeft</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageRendering.html#rotateImageRight#rotateImageRight">rotateImageRight</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageRendering.html#storeViewportData#storeViewportData">storeViewportData</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageRendering.html#unloadViewport#unloadViewport">unloadViewport</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageRendering.html#updateImage#updateImage">updateImage</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageRendering.html#updateViewportData#updateViewportData">updateViewportData</a></li></ul></li><li><a href="module-imaging_imageReslice.html">imaging/imageReslice</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_imageReslice.html#resliceSeries#resliceSeries">resliceSeries</a></li></ul></li><li><a href="module-imaging_imageStore.html">imaging/imageStore</a><ul class='members'><li data-type='member' style='display: none;'><a href="module-imaging_imageStore.html#.larvitar_store">larvitar_store</a></li></ul><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_imageStore.html#initLarvitarStore#.initLarvitarStore">initLarvitarStore</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageStore.html#addSeriesIds#~addSeriesIds">addSeriesIds</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageStore.html#addViewport#~addViewport">addViewport</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageStore.html#deleteViewport#~deleteViewport">deleteViewport</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageStore.html#disableVuex#~disableVuex">disableVuex</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageStore.html#enableVuex#~enableVuex">enableVuex</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageStore.html#get#~get">get</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageStore.html#removeSeriesIds#~removeSeriesIds">removeSeriesIds</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageStore.html#set#~set">set</a></li></ul></li><li><a href="module-imaging_imageTools.html">imaging/imageTools</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#addContoursTool#~addContoursTool">addContoursTool</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#addDefaultTools#~addDefaultTools">addDefaultTools</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#addDiameterTool#~addDiameterTool">addDiameterTool</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#addMaskEditingTool#~addMaskEditingTool">addMaskEditingTool</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#addSeedsTool#~addSeedsTool">addSeedsTool</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#addStackStateToElement#~addStackStateToElement">addStackStateToElement</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#addToolStateSingleSlice#~addToolStateSingleSlice">addToolStateSingleSlice</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#clearCornerstoneElements#~clearCornerstoneElements">clearCornerstoneElements</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#clearMeasurements#~clearMeasurements">clearMeasurements</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#clearToolStateByName#~clearToolStateByName">clearToolStateByName</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#getCurrentMaskData#~getCurrentMaskData">getCurrentMaskData</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#getToolState#~getToolState">getToolState</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#isToolMissing#~isToolMissing">isToolMissing</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#setSegmentationConfig#~setSegmentationConfig">setSegmentationConfig</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#setToolActive#~setToolActive">setToolActive</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#setToolActive#~setToolActive">setToolActive</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#setToolEnabled#~setToolEnabled">setToolEnabled</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#setToolPassive#~setToolPassive">setToolPassive</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#syncToolStack#~syncToolStack">syncToolStack</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#updateDiameterTool#~updateDiameterTool">updateDiameterTool</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#updateStackToolState#~updateStackToolState">updateStackToolState</a></li></ul></li><li><a href="module-imaging_imageUtils.html">imaging/imageUtils</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#formatDate#formatDate">formatDate</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#formatDateTime#formatDateTime">formatDateTime</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#getCmprMetadata#getCmprMetadata">getCmprMetadata</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#getDICOMTag#getDICOMTag">getDICOMTag</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#getDICOMTagCode#getDICOMTagCode">getDICOMTagCode</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#getDistanceBetweenSlices#getDistanceBetweenSlices">getDistanceBetweenSlices</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#getMaxPixelValue#getMaxPixelValue">getMaxPixelValue</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#getMeanValue#getMeanValue">getMeanValue</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#getMinPixelValue#getMinPixelValue">getMinPixelValue</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#getNormalOrientation#getNormalOrientation">getNormalOrientation</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#getPixelRepresentation#getPixelRepresentation">getPixelRepresentation</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#getPixelTypedArray#getPixelTypedArray">getPixelTypedArray</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#getReslicedIOP#getReslicedIOP">getReslicedIOP</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#getReslicedIPP#getReslicedIPP">getReslicedIPP</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#getReslicedMetadata#getReslicedMetadata">getReslicedMetadata</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#getReslicedPixeldata#getReslicedPixeldata">getReslicedPixeldata</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#getReslicedSliceLocation#getReslicedSliceLocation">getReslicedSliceLocation</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#getSortedStack#getSortedStack">getSortedStack</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#getSortedUIDs#getSortedUIDs">getSortedUIDs</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#getTagValue#getTagValue">getTagValue</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#getTypedArray#getTypedArray">getTypedArray</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#getTypedArrayFromDataType#getTypedArrayFromDataType">getTypedArrayFromDataType</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#isElement#isElement">isElement</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#isNegativeSign#isNegativeSign">isNegativeSign</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#isStringVr#isStringVr">isStringVr</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#isValidDate#isValidDate">isValidDate</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#parseAgeTag#parseAgeTag">parseAgeTag</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#parseDateTag#parseDateTag">parseDateTag</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#parseDateTimeTag#parseDateTimeTag">parseDateTimeTag</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#parseDICOMFileIDTag#parseDICOMFileIDTag">parseDICOMFileIDTag</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#parsePatientNameTag#parsePatientNameTag">parsePatientNameTag</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#parseTag#parseTag">parseTag</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#parseTimeTag#parseTimeTag">parseTimeTag</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#permuteSignedArrays#permuteSignedArrays">permuteSignedArrays</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#permuteValues#permuteValues">permuteValues</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#rand#rand">rand</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#randomId#randomId">randomId</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#sortStackCallback#sortStackCallback">sortStackCallback</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#spacingArray#spacingArray">spacingArray</a></li></ul></li><li><a href="module-imaging_strategies_eraseFreehand.html">imaging/strategies/eraseFreehand</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_strategies_eraseFreehand.html#eraseInsideFreehand#.eraseInsideFreehand">eraseInsideFreehand</a></li><li data-type='method' style='display: none;'><a href="module-imaging_strategies_eraseFreehand.html#eraseOutsideFreehand#.eraseOutsideFreehand">eraseOutsideFreehand</a></li><li data-type='method' style='display: none;'><a href="module-imaging_strategies_eraseFreehand.html#eraseFreehand#~eraseFreehand">eraseFreehand</a></li></ul></li><li><a href="module-imaging_strategies_fillFreehand.html">imaging/strategies/fillFreehand</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_strategies_fillFreehand.html#fillInsideFreehand#.fillInsideFreehand">fillInsideFreehand</a></li><li data-type='method' style='display: none;'><a href="module-imaging_strategies_fillFreehand.html#fillOutsideFreehand#.fillOutsideFreehand">fillOutsideFreehand</a></li><li data-type='method' style='display: none;'><a href="module-imaging_strategies_fillFreehand.html#fillFreehand#~fillFreehand">fillFreehand</a></li></ul></li><li><a href="module-imaging_tools_custom_contourTool.html">imaging/tools/custom/contourTool</a></li><li><a href="module-imaging_tools_custom_diameterTool.html">imaging/tools/custom/diameterTool</a></li><li><a href="module-imaging_tools_custom_editMaskTool.html">imaging/tools/custom/editMaskTool</a></li><li><a href="module-imaging_tools_custom_polygonScissorsTool.html">imaging/tools/custom/polygonScissorsTool</a></li><li><a href="module-imaging_tools_custom_thresholdBrushTool.html">imaging/tools/custom/thresholdBrushTool</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_tools_custom_thresholdBrushTool.html#_paint#_paint">_paint</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_custom_thresholdBrushTool.html#getCircleWithThreshold#~getCircleWithThreshold">getCircleWithThreshold</a></li></ul></li><li><a href="module-imaging_tools_default.html">imaging/tools/default</a></li><li><a href="module-imaging_tools_interaction.html">imaging/tools/interaction</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_tools_interaction.html#addMouseKeyHandlers#.addMouseKeyHandlers">addMouseKeyHandlers</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_interaction.html#toggleMouseHandlers#toggleMouseHandlers">toggleMouseHandlers</a></li></ul></li><li><a href="module-imaging_tools_io.html">imaging/tools/io</a><ul class='members'><li data-type='member' style='display: none;'><a href="module-imaging_tools_io.html#.exportAnnotations">exportAnnotations</a></li><li data-type='member' style='display: none;'><a href="module-imaging_tools_io.html#.loadAnnotations">loadAnnotations</a></li><li data-type='member' style='display: none;'><a href="module-imaging_tools_io.html#.saveAnnotations">saveAnnotations</a></li></ul><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_tools_io.html#generateCSV#.generateCSV">generateCSV</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_io.html#download#~download">download</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_io.html#extractToolInfo#~extractToolInfo">extractToolInfo</a></li></ul></li><li><a href="module-imaging_tools_main.html">imaging/tools/main</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_tools_main.html#csToolsUpdateImageIndex#.csToolsUpdateImageIndex">csToolsUpdateImageIndex</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_main.html#addDefaultTools#~addDefaultTools">addDefaultTools</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_main.html#addTool#~addTool">addTool</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_main.html#csToolsCreateStack#~csToolsCreateStack">csToolsCreateStack</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_main.html#initializeCSTools#~initializeCSTools">initializeCSTools</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_main.html#isToolMissing#~isToolMissing">isToolMissing</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_main.html#setToolActive#~setToolActive">setToolActive</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_main.html#setToolDisabled#~setToolDisabled">setToolDisabled</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_main.html#setToolEnabled#~setToolEnabled">setToolEnabled</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_main.html#setToolPassive#~setToolPassive">setToolPassive</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_main.html#setToolsStyle#~setToolsStyle">setToolsStyle</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_main.html#tryUpdateImage#~tryUpdateImage">tryUpdateImage</a></li></ul></li><li><a href="module-imaging_tools_polygonSegmentationMixin.html">imaging/tools/polygonSegmentationMixin</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_tools_polygonSegmentationMixin.html#_checkIfDrawing#~_checkIfDrawing">_checkIfDrawing</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_polygonSegmentationMixin.html#renderToolData#~renderToolData">renderToolData</a></li></ul></li><li><a href="module-imaging_tools_segmentation.html">imaging/tools/segmentation</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#addSegmentationMask#.addSegmentationMask">addSegmentationMask</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#clearSegmentationState#.clearSegmentationState">clearSegmentationState</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#deleteMask#.deleteMask">deleteMask</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#disableBrushTool#.disableBrushTool">disableBrushTool</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#enableBrushTool#.enableBrushTool">enableBrushTool</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#forceRender#.forceRender">forceRender</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#getActiveLabelmapBuffer#.getActiveLabelmapBuffer">getActiveLabelmapBuffer</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#getLabelColor#.getLabelColor">getLabelColor</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#initSegmentationModule#.initSegmentationModule">initSegmentationModule</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#loadMaskSlice#.loadMaskSlice">loadMaskSlice</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#redoLastStroke#.redoLastStroke">redoLastStroke</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#setActiveLabelmap#.setActiveLabelmap">setActiveLabelmap</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#setActiveLabelOpacity#.setActiveLabelOpacity">setActiveLabelOpacity</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#setActiveSegment#.setActiveSegment">setActiveSegment</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#setBrushProps#.setBrushProps">setBrushProps</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#setInactiveLabelOpacity#.setInactiveLabelOpacity">setInactiveLabelOpacity</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#setLabelColor#.setLabelColor">setLabelColor</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#setMaskProps#.setMaskProps">setMaskProps</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#toggleContourMode#.toggleContourMode">toggleContourMode</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#toggleVisibility#.toggleVisibility">toggleVisibility</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#undoLastStroke#.undoLastStroke">undoLastStroke</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#generateLUT#~generateLUT">generateLUT</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#generateUniformLUT#~generateUniformLUT">generateUniformLUT</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#HSVtoRGB#~HSVtoRGB">HSVtoRGB</a></li></ul></li><li><a href="module-imaging_tools_state.html">imaging/tools/state</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_tools_state.html#restoreToolState#~restoreToolState">restoreToolState</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_state.html#saveToolState#~saveToolState">saveToolState</a></li></ul></li><li><a href="module-loaders_commonLoader.html">loaders/commonLoader</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-loaders_commonLoader.html#getImageFrame#getImageFrame">getImageFrame</a></li><li data-type='method' style='display: none;'><a href="module-loaders_commonLoader.html#getLarvitarImageTracker#getLarvitarImageTracker">getLarvitarImageTracker</a></li><li data-type='method' style='display: none;'><a href="module-loaders_commonLoader.html#getLarvitarManager#getLarvitarManager">getLarvitarManager</a></li><li data-type='method' style='display: none;'><a href="module-loaders_commonLoader.html#getSeriesDataFromLarvitarManager#getSeriesDataFromLarvitarManager">getSeriesDataFromLarvitarManager</a></li><li data-type='method' style='display: none;'><a href="module-loaders_commonLoader.html#populateLarvitarManager#populateLarvitarManager">populateLarvitarManager</a></li><li data-type='method' style='display: none;'><a href="module-loaders_commonLoader.html#removeSeriesFromLarvitarManager#removeSeriesFromLarvitarManager">removeSeriesFromLarvitarManager</a></li><li data-type='method' style='display: none;'><a href="module-loaders_commonLoader.html#resetLarvitarManager#resetLarvitarManager">resetLarvitarManager</a></li><li data-type='method' style='display: none;'><a href="module-loaders_commonLoader.html#updateLarvitarManager#updateLarvitarManager">updateLarvitarManager</a></li></ul></li><li><a href="module-loaders_dicomLoader.html">loaders/dicomLoader</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-loaders_dicomLoader.html#cacheImages#cacheImages">cacheImages</a></li><li data-type='method' style='display: none;'><a href="module-loaders_dicomLoader.html#getDicomImageId#getDicomImageId">getDicomImageId</a></li></ul></li><li><a href="module-loaders_fileLoader.html">loaders/fileLoader</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-loaders_fileLoader.html#getFileImageId#getFileImageId">getFileImageId</a></li><li data-type='method' style='display: none;'><a href="module-loaders_fileLoader.html#populateFileManager#populateFileManager">populateFileManager</a></li><li data-type='method' style='display: none;'><a href="module-loaders_fileLoader.html#resetFileLoader#resetFileLoader">resetFileLoader</a></li><li data-type='method' style='display: none;'><a href="module-loaders_fileLoader.html#resetFileManager#resetFileManager">resetFileManager</a></li></ul></li><li><a href="module-loaders_multiframeLoader.html">loaders/multiframeLoader</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-loaders_multiframeLoader.html#clearMultiFrameCache#clearMultiFrameCache">clearMultiFrameCache</a></li><li data-type='method' style='display: none;'><a href="module-loaders_multiframeLoader.html#createCustomImage#createCustomImage">createCustomImage</a></li><li data-type='method' style='display: none;'><a href="module-loaders_multiframeLoader.html#getMultiFrameImageId#getMultiFrameImageId">getMultiFrameImageId</a></li><li data-type='method' style='display: none;'><a href="module-loaders_multiframeLoader.html#setPixelDataType#setPixelDataType">setPixelDataType</a></li><li data-type='method' style='display: none;'><a href="module-loaders_multiframeLoader.html#buildMultiFrameImage#~buildMultiFrameImage">buildMultiFrameImage</a></li><li data-type='method' style='display: none;'><a href="module-loaders_multiframeLoader.html#loadMultiFrameImage#~loadMultiFrameImage">loadMultiFrameImage</a></li></ul></li><li><a href="module-loaders_nrrdLoader.html">loaders/nrrdLoader</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-loaders_nrrdLoader.html#buildNrrdImage#buildNrrdImage">buildNrrdImage</a></li><li data-type='method' style='display: none;'><a href="module-loaders_nrrdLoader.html#createCustomImage#createCustomImage">createCustomImage</a></li><li data-type='method' style='display: none;'><a href="module-loaders_nrrdLoader.html#getImageIdFromSlice#getImageIdFromSlice">getImageIdFromSlice</a></li><li data-type='method' style='display: none;'><a href="module-loaders_nrrdLoader.html#getNrrdImageId#getNrrdImageId">getNrrdImageId</a></li><li data-type='method' style='display: none;'><a href="module-loaders_nrrdLoader.html#getNrrdSerieDimensions#getNrrdSerieDimensions">getNrrdSerieDimensions</a></li><li data-type='method' style='display: none;'><a href="module-loaders_nrrdLoader.html#getSliceNumberFromImageId#getSliceNumberFromImageId">getSliceNumberFromImageId</a></li><li data-type='method' style='display: none;'><a href="module-loaders_nrrdLoader.html#loadNrrdImage#loadNrrdImage">loadNrrdImage</a></li></ul></li><li><a href="module-loaders_resliceLoader.html">loaders/resliceLoader</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-loaders_resliceLoader.html#createCustomImage#createCustomImage">createCustomImage</a></li><li data-type='method' style='display: none;'><a href="module-loaders_resliceLoader.html#loadReslicedImage#loadReslicedImage">loadReslicedImage</a></li></ul></li><li><a href="module-monitors_memory.html">monitors/memory</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-monitors_memory.html#checkMemoryAllocation#checkMemoryAllocation">checkMemoryAllocation</a></li><li data-type='method' style='display: none;'><a href="module-monitors_memory.html#checkMemorySupport#checkMemorySupport">checkMemorySupport</a></li><li data-type='method' style='display: none;'><a href="module-monitors_memory.html#getAvailableMemory#getAvailableMemory">getAvailableMemory</a></li><li data-type='method' style='display: none;'><a href="module-monitors_memory.html#getMB#getMB">getMB</a></li><li data-type='method' style='display: none;'><a href="module-monitors_memory.html#getUsedMemory#getUsedMemory">getUsedMemory</a></li><li data-type='method' style='display: none;'><a href="module-monitors_memory.html#setAvailableMemory#setAvailableMemory">setAvailableMemory</a></li></ul></li><li><a href="module-tools_default.html">tools/default</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-tools_default.html#getDefaultToolsByType#~getDefaultToolsByType">getDefaultToolsByType</a></li><li data-type='method' style='display: none;'><a href="module-tools_default.html#setDefaultToolsProps#~setDefaultToolsProps">setDefaultToolsProps</a></li></ul></li></ul><h3>Events</h3><ul><li><a href="module-imaging_tools_custom_contourTool.ContoursTool.html#event:_drawingDoubleTapClickCallback">imaging/tools/custom/contourTool.ContoursTool#_drawingDoubleTapClickCallback</a></li><li><a href="module-imaging_tools_custom_contourTool.ContoursTool.html#event:_drawingMouseDoubleClickCallback">imaging/tools/custom/contourTool.ContoursTool#_drawingMouseDoubleClickCallback</a></li><li><a href="module-imaging_tools_custom_contourTool.ContoursTool.html#event:_drawingMouseDownCallback">imaging/tools/custom/contourTool.ContoursTool#_drawingMouseDownCallback</a></li><li><a href="module-imaging_tools_custom_contourTool.ContoursTool.html#event:_drawingMouseDragCallback">imaging/tools/custom/contourTool.ContoursTool#_drawingMouseDragCallback</a></li><li><a href="module-imaging_tools_custom_contourTool.ContoursTool.html#event:_drawingMouseMoveCallback">imaging/tools/custom/contourTool.ContoursTool#_drawingMouseMoveCallback</a></li><li><a href="module-imaging_tools_custom_contourTool.ContoursTool.html#event:_drawingMouseUpCallback">imaging/tools/custom/contourTool.ContoursTool#_drawingMouseUpCallback</a></li><li><a href="module-imaging_tools_custom_contourTool.ContoursTool.html#event:_drawingTouchDragCallback">imaging/tools/custom/contourTool.ContoursTool#_drawingTouchDragCallback</a></li><li><a href="module-imaging_tools_custom_contourTool.ContoursTool.html#event:_drawingTouchStartCallback">imaging/tools/custom/contourTool.ContoursTool#_drawingTouchStartCallback</a></li><li><a href="module-imaging_tools_custom_contourTool.ContoursTool.html#event:_editMouseDragCallback">imaging/tools/custom/contourTool.ContoursTool#_editMouseDragCallback</a></li><li><a href="module-imaging_tools_custom_contourTool.ContoursTool.html#event:_editTouchDragCallback">imaging/tools/custom/contourTool.ContoursTool#_editTouchDragCallback</a></li></ul><h3>Mixins</h3><ul><li><a href="Mixins.polygonSegmentationMixin%2520-%2520segmentation%2520operations%2520for%2520polyline.html">Mixins.polygonSegmentationMixin - segmentation operations for polyline</a></li></ul><h3>Global</h3><ul><li><a href="global.html#getSegmentsOnPixelData">getSegmentsOnPixelData</a></li><li><a href="global.html#NRRD_TYPES_TO_TYPEDARRAY">NRRD_TYPES_TO_TYPEDARRAY</a></li><li><a href="global.html">parse</a></li><li><a href="global.html#setLabelmap3DByFirstImageId">setLabelmap3DByFirstImageId</a></li><li><a href="global.html#setLabelmap3DForElement">setLabelmap3DForElement</a></li></ul>
41
+
42
+ </nav>
43
+
44
+ <div id="main">
45
+
46
+ <h1 class="page-title">imaging/tools/segmentation</h1>
47
+
48
+
49
+
50
+
51
+
52
+
53
+
54
+ <section>
55
+
56
+ <header>
57
+
58
+
59
+
60
+
61
+
62
+ </header>
63
+
64
+ <article>
65
+
66
+ <div class="container-overview">
67
+
68
+
69
+ <div class="description usertext"><p>This file provides functionalities<br>
70
+ for handling masks and luts</p></div>
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+ <dl class="details">
80
+
81
+ <dt class="tag-description">Description:</dt>
82
+ <dd class="tag-description"><ul class="dummy"><li><p>This file provides functionalities<br>
83
+ for handling masks and luts</p></li></ul></dd>
84
+
85
+
86
+
87
+ <dt class="tag-source">Source:</dt>
88
+ <dd class="tag-source"><ul class="dummy"><li>
89
+ <a href="tools_segmentation.js.html">tools/segmentation.js</a>, <a href="tools_segmentation.js.html#line1">line 1</a>
90
+ </li></ul></dd>
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
+
117
+
118
+
119
+
120
+
121
+
122
+ </dl>
123
+
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+
135
+
136
+
137
+
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+
147
+
148
+
149
+
150
+
151
+
152
+
153
+
154
+
155
+ </div>
156
+
157
+
158
+
159
+
160
+
161
+
162
+
163
+
164
+
165
+
166
+
167
+
168
+
169
+
170
+
171
+
172
+
173
+ <h3 class="subsection-title">Methods</h3>
174
+
175
+
176
+
177
+
178
+
179
+
180
+ <h4 class="name" id=".addSegmentationMask"><span class="type-signature">(static) </span>addSegmentationMask<span class="signature">(maskProps, data, elementId)</span><span class="type-signature"> &rarr; {Promise}</span></h4>
181
+
182
+
183
+
184
+
185
+
186
+
187
+ <dl class="details">
188
+
189
+ <dt class="tag-description">Description:</dt>
190
+ <dd class="tag-description"><ul class="dummy"><li><p>Add segmentation mask to segmentation module</p></li></ul></dd>
191
+
192
+
193
+
194
+ <dt class="tag-source">Source:</dt>
195
+ <dd class="tag-source"><ul class="dummy"><li>
196
+ <a href="tools_segmentation.js.html">tools/segmentation.js</a>, <a href="tools_segmentation.js.html#line179">line 179</a>
197
+ </li></ul></dd>
198
+
199
+
200
+
201
+
202
+
203
+
204
+
205
+
206
+
207
+
208
+
209
+
210
+
211
+
212
+
213
+
214
+
215
+
216
+
217
+
218
+
219
+
220
+
221
+
222
+
223
+
224
+
225
+
226
+
227
+
228
+
229
+ </dl>
230
+
231
+
232
+
233
+
234
+
235
+
236
+
237
+
238
+
239
+
240
+
241
+
242
+
243
+ <h5>Parameters:</h5>
244
+
245
+
246
+ <table class="params">
247
+ <thead>
248
+ <tr>
249
+
250
+ <th>Name</th>
251
+
252
+
253
+ <th>Type</th>
254
+
255
+
256
+
257
+
258
+
259
+ <th class="last">Description</th>
260
+ </tr>
261
+ </thead>
262
+
263
+ <tbody>
264
+
265
+
266
+ <tr>
267
+
268
+ <td class="name"><code>maskProps</code></td>
269
+
270
+
271
+ <td class="type">
272
+
273
+
274
+ <span class="param-type">Object</span>
275
+
276
+
277
+
278
+ </td>
279
+
280
+
281
+
282
+
283
+
284
+ <td class="description last"><p>The mask properties (labelId, color and opacity)</p></td>
285
+ </tr>
286
+
287
+
288
+
289
+ <tr>
290
+
291
+ <td class="name"><code>data</code></td>
292
+
293
+
294
+ <td class="type">
295
+
296
+
297
+ <span class="param-type">TypedArray</span>
298
+
299
+
300
+
301
+ </td>
302
+
303
+
304
+
305
+
306
+
307
+ <td class="description last"><p>The mask data array</p></td>
308
+ </tr>
309
+
310
+
311
+
312
+ <tr>
313
+
314
+ <td class="name"><code>elementId</code></td>
315
+
316
+
317
+ <td class="type">
318
+
319
+
320
+ <span class="param-type">String</span>
321
+
322
+
323
+
324
+ </td>
325
+
326
+
327
+
328
+
329
+
330
+ <td class="description last"><p>The target html element Id or its DOM HTMLElement</p></td>
331
+ </tr>
332
+
333
+
334
+ </tbody>
335
+ </table>
336
+
337
+
338
+
339
+
340
+
341
+
342
+
343
+
344
+
345
+
346
+
347
+
348
+
349
+
350
+
351
+
352
+ <h5>Returns:</h5>
353
+
354
+
355
+ <div class="param-desc">
356
+ <ul>
357
+ <li>Return a promise which will resolve when segmentation mask is added</li>
358
+ </ul>
359
+ </div>
360
+
361
+
362
+
363
+ <dl class="param-type">
364
+ <dt>
365
+ Type
366
+ </dt>
367
+ <dd>
368
+
369
+ <span class="param-type">Promise</span>
370
+
371
+
372
+ </dd>
373
+ </dl>
374
+
375
+
376
+
377
+
378
+
379
+
380
+
381
+
382
+
383
+
384
+ <h4 class="name" id=".clearSegmentationState"><span class="type-signature">(static) </span>clearSegmentationState<span class="signature">()</span><span class="type-signature"></span></h4>
385
+
386
+
387
+
388
+
389
+
390
+
391
+ <dl class="details">
392
+
393
+ <dt class="tag-description">Description:</dt>
394
+ <dd class="tag-description"><ul class="dummy"><li><p>Clear state for segmentation module</p></li></ul></dd>
395
+
396
+
397
+
398
+ <dt class="tag-source">Source:</dt>
399
+ <dd class="tag-source"><ul class="dummy"><li>
400
+ <a href="tools_segmentation.js.html">tools/segmentation.js</a>, <a href="tools_segmentation.js.html#line401">line 401</a>
401
+ </li></ul></dd>
402
+
403
+
404
+
405
+
406
+
407
+
408
+
409
+
410
+
411
+
412
+
413
+
414
+
415
+
416
+
417
+
418
+
419
+
420
+
421
+
422
+
423
+
424
+
425
+
426
+
427
+
428
+
429
+
430
+
431
+
432
+
433
+ </dl>
434
+
435
+
436
+
437
+
438
+
439
+
440
+
441
+
442
+
443
+
444
+
445
+
446
+
447
+
448
+
449
+
450
+
451
+
452
+
453
+
454
+
455
+
456
+
457
+
458
+
459
+
460
+
461
+
462
+
463
+
464
+
465
+
466
+
467
+
468
+
469
+ <h4 class="name" id=".deleteMask"><span class="type-signature">(static) </span>deleteMask<span class="signature">(labelId)</span><span class="type-signature"></span></h4>
470
+
471
+
472
+
473
+
474
+
475
+
476
+ <dl class="details">
477
+
478
+ <dt class="tag-description">Description:</dt>
479
+ <dd class="tag-description"><ul class="dummy"><li><p>Delete mask from state</p></li></ul></dd>
480
+
481
+
482
+
483
+ <dt class="tag-source">Source:</dt>
484
+ <dd class="tag-source"><ul class="dummy"><li>
485
+ <a href="tools_segmentation.js.html">tools/segmentation.js</a>, <a href="tools_segmentation.js.html#line470">line 470</a>
486
+ </li></ul></dd>
487
+
488
+
489
+
490
+
491
+
492
+
493
+
494
+
495
+
496
+
497
+
498
+
499
+
500
+
501
+
502
+
503
+
504
+
505
+
506
+
507
+
508
+
509
+
510
+
511
+
512
+
513
+
514
+
515
+
516
+
517
+
518
+ </dl>
519
+
520
+
521
+
522
+
523
+
524
+
525
+
526
+
527
+
528
+
529
+
530
+
531
+
532
+ <h5>Parameters:</h5>
533
+
534
+
535
+ <table class="params">
536
+ <thead>
537
+ <tr>
538
+
539
+ <th>Name</th>
540
+
541
+
542
+ <th>Type</th>
543
+
544
+
545
+
546
+
547
+
548
+ <th class="last">Description</th>
549
+ </tr>
550
+ </thead>
551
+
552
+ <tbody>
553
+
554
+
555
+ <tr>
556
+
557
+ <td class="name"><code>labelId</code></td>
558
+
559
+
560
+ <td class="type">
561
+
562
+
563
+ <span class="param-type">Number</span>
564
+
565
+
566
+
567
+ </td>
568
+
569
+
570
+
571
+
572
+
573
+ <td class="description last"><p>The labelmap id to activate</p></td>
574
+ </tr>
575
+
576
+
577
+ </tbody>
578
+ </table>
579
+
580
+
581
+
582
+
583
+
584
+
585
+
586
+
587
+
588
+
589
+
590
+
591
+
592
+
593
+
594
+
595
+
596
+
597
+
598
+
599
+
600
+
601
+
602
+
603
+ <h4 class="name" id=".disableBrushTool"><span class="type-signature">(static) </span>disableBrushTool<span class="signature">(toolToActivate)</span><span class="type-signature"></span></h4>
604
+
605
+
606
+
607
+
608
+
609
+
610
+ <dl class="details">
611
+
612
+ <dt class="tag-description">Description:</dt>
613
+ <dd class="tag-description"><ul class="dummy"><li><p>Disable brushing</p></li></ul></dd>
614
+
615
+
616
+
617
+ <dt class="tag-source">Source:</dt>
618
+ <dd class="tag-source"><ul class="dummy"><li>
619
+ <a href="tools_segmentation.js.html">tools/segmentation.js</a>, <a href="tools_segmentation.js.html#line420">line 420</a>
620
+ </li></ul></dd>
621
+
622
+
623
+
624
+
625
+
626
+
627
+
628
+
629
+
630
+
631
+
632
+
633
+
634
+
635
+
636
+
637
+
638
+
639
+
640
+
641
+
642
+
643
+
644
+
645
+
646
+
647
+
648
+
649
+
650
+
651
+
652
+ </dl>
653
+
654
+
655
+
656
+
657
+
658
+
659
+
660
+
661
+
662
+
663
+
664
+
665
+
666
+ <h5>Parameters:</h5>
667
+
668
+
669
+ <table class="params">
670
+ <thead>
671
+ <tr>
672
+
673
+ <th>Name</th>
674
+
675
+
676
+ <th>Type</th>
677
+
678
+
679
+
680
+
681
+
682
+ <th class="last">Description</th>
683
+ </tr>
684
+ </thead>
685
+
686
+ <tbody>
687
+
688
+
689
+ <tr>
690
+
691
+ <td class="name"><code>toolToActivate</code></td>
692
+
693
+
694
+ <td class="type">
695
+
696
+
697
+ <span class="param-type">String</span>
698
+
699
+
700
+
701
+ </td>
702
+
703
+
704
+
705
+
706
+
707
+ <td class="description last"><p>The name of the tool to activate after removing the brush</p></td>
708
+ </tr>
709
+
710
+
711
+ </tbody>
712
+ </table>
713
+
714
+
715
+
716
+
717
+
718
+
719
+
720
+
721
+
722
+
723
+
724
+
725
+
726
+
727
+
728
+
729
+
730
+
731
+
732
+
733
+
734
+
735
+
736
+
737
+ <h4 class="name" id=".enableBrushTool"><span class="type-signature">(static) </span>enableBrushTool<span class="signature">(dimension, thresholds)</span><span class="type-signature"></span></h4>
738
+
739
+
740
+
741
+
742
+
743
+
744
+ <dl class="details">
745
+
746
+ <dt class="tag-description">Description:</dt>
747
+ <dd class="tag-description"><ul class="dummy"><li><p>Enable brushing</p></li></ul></dd>
748
+
749
+
750
+
751
+ <dt class="tag-source">Source:</dt>
752
+ <dd class="tag-source"><ul class="dummy"><li>
753
+ <a href="tools_segmentation.js.html">tools/segmentation.js</a>, <a href="tools_segmentation.js.html#line410">line 410</a>
754
+ </li></ul></dd>
755
+
756
+
757
+
758
+
759
+
760
+
761
+
762
+
763
+
764
+
765
+
766
+
767
+
768
+
769
+
770
+
771
+
772
+
773
+
774
+
775
+
776
+
777
+
778
+
779
+
780
+
781
+
782
+
783
+
784
+
785
+
786
+ </dl>
787
+
788
+
789
+
790
+
791
+
792
+
793
+
794
+
795
+
796
+
797
+
798
+
799
+
800
+ <h5>Parameters:</h5>
801
+
802
+
803
+ <table class="params">
804
+ <thead>
805
+ <tr>
806
+
807
+ <th>Name</th>
808
+
809
+
810
+ <th>Type</th>
811
+
812
+
813
+
814
+
815
+
816
+ <th class="last">Description</th>
817
+ </tr>
818
+ </thead>
819
+
820
+ <tbody>
821
+
822
+
823
+ <tr>
824
+
825
+ <td class="name"><code>dimension</code></td>
826
+
827
+
828
+ <td class="type">
829
+
830
+
831
+ <span class="param-type">Number</span>
832
+
833
+
834
+
835
+ </td>
836
+
837
+
838
+
839
+
840
+
841
+ <td class="description last"><p>The initial brush radius</p></td>
842
+ </tr>
843
+
844
+
845
+
846
+ <tr>
847
+
848
+ <td class="name"><code>thresholds</code></td>
849
+
850
+
851
+ <td class="type">
852
+
853
+
854
+ <span class="param-type">Array</span>
855
+
856
+
857
+
858
+ </td>
859
+
860
+
861
+
862
+
863
+
864
+ <td class="description last"><p>The threshold values (min and max)</p></td>
865
+ </tr>
866
+
867
+
868
+ </tbody>
869
+ </table>
870
+
871
+
872
+
873
+
874
+
875
+
876
+
877
+
878
+
879
+
880
+
881
+
882
+
883
+
884
+
885
+
886
+
887
+
888
+
889
+
890
+
891
+
892
+
893
+
894
+ <h4 class="name" id=".forceRender"><span class="type-signature">(static) </span>forceRender<span class="signature">()</span><span class="type-signature"></span></h4>
895
+
896
+
897
+
898
+
899
+
900
+
901
+ <dl class="details">
902
+
903
+ <dt class="tag-description">Description:</dt>
904
+ <dd class="tag-description"><ul class="dummy"><li><p>Force cs tools refresh on all enabled images</p></li></ul></dd>
905
+
906
+
907
+
908
+ <dt class="tag-source">Source:</dt>
909
+ <dd class="tag-source"><ul class="dummy"><li>
910
+ <a href="tools_segmentation.js.html">tools/segmentation.js</a>, <a href="tools_segmentation.js.html#line105">line 105</a>
911
+ </li></ul></dd>
912
+
913
+
914
+
915
+
916
+
917
+
918
+
919
+
920
+
921
+
922
+
923
+
924
+
925
+
926
+
927
+
928
+
929
+
930
+
931
+
932
+
933
+
934
+
935
+
936
+
937
+
938
+
939
+
940
+
941
+
942
+
943
+ </dl>
944
+
945
+
946
+
947
+
948
+
949
+
950
+
951
+
952
+
953
+
954
+
955
+
956
+
957
+
958
+
959
+
960
+
961
+
962
+
963
+
964
+
965
+
966
+
967
+
968
+
969
+
970
+
971
+
972
+
973
+
974
+
975
+
976
+
977
+
978
+
979
+ <h4 class="name" id=".getActiveLabelmapBuffer"><span class="type-signature">(static) </span>getActiveLabelmapBuffer<span class="signature">(elementId)</span><span class="type-signature"> &rarr; {Object}</span></h4>
980
+
981
+
982
+
983
+
984
+
985
+
986
+ <dl class="details">
987
+
988
+ <dt class="tag-description">Description:</dt>
989
+ <dd class="tag-description"><ul class="dummy"><li><p>Get active labelmap for target element</p></li></ul></dd>
990
+
991
+
992
+
993
+ <dt class="tag-source">Source:</dt>
994
+ <dd class="tag-source"><ul class="dummy"><li>
995
+ <a href="tools_segmentation.js.html">tools/segmentation.js</a>, <a href="tools_segmentation.js.html#line261">line 261</a>
996
+ </li></ul></dd>
997
+
998
+
999
+
1000
+
1001
+
1002
+
1003
+
1004
+
1005
+
1006
+
1007
+
1008
+
1009
+
1010
+
1011
+
1012
+
1013
+
1014
+
1015
+
1016
+
1017
+
1018
+
1019
+
1020
+
1021
+
1022
+
1023
+
1024
+
1025
+
1026
+
1027
+
1028
+ </dl>
1029
+
1030
+
1031
+
1032
+
1033
+
1034
+
1035
+
1036
+
1037
+
1038
+
1039
+
1040
+
1041
+
1042
+ <h5>Parameters:</h5>
1043
+
1044
+
1045
+ <table class="params">
1046
+ <thead>
1047
+ <tr>
1048
+
1049
+ <th>Name</th>
1050
+
1051
+
1052
+ <th>Type</th>
1053
+
1054
+
1055
+
1056
+
1057
+
1058
+ <th class="last">Description</th>
1059
+ </tr>
1060
+ </thead>
1061
+
1062
+ <tbody>
1063
+
1064
+
1065
+ <tr>
1066
+
1067
+ <td class="name"><code>elementId</code></td>
1068
+
1069
+
1070
+ <td class="type">
1071
+
1072
+
1073
+ <span class="param-type">String</span>
1074
+
1075
+
1076
+
1077
+ </td>
1078
+
1079
+
1080
+
1081
+
1082
+
1083
+ <td class="description last"><p>The target html element Id or its DOM HTMLElement</p></td>
1084
+ </tr>
1085
+
1086
+
1087
+ </tbody>
1088
+ </table>
1089
+
1090
+
1091
+
1092
+
1093
+
1094
+
1095
+
1096
+
1097
+
1098
+
1099
+
1100
+
1101
+
1102
+
1103
+
1104
+
1105
+ <h5>Returns:</h5>
1106
+
1107
+
1108
+ <div class="param-desc">
1109
+ <p>The active labelmap object that contains the buffer</p>
1110
+ </div>
1111
+
1112
+
1113
+
1114
+ <dl class="param-type">
1115
+ <dt>
1116
+ Type
1117
+ </dt>
1118
+ <dd>
1119
+
1120
+ <span class="param-type">Object</span>
1121
+
1122
+
1123
+ </dd>
1124
+ </dl>
1125
+
1126
+
1127
+
1128
+
1129
+
1130
+
1131
+
1132
+
1133
+
1134
+
1135
+ <h4 class="name" id=".getLabelColor"><span class="type-signature">(static) </span>getLabelColor<span class="signature">(labelId)</span><span class="type-signature"> &rarr; {String}</span></h4>
1136
+
1137
+
1138
+
1139
+
1140
+
1141
+
1142
+ <dl class="details">
1143
+
1144
+ <dt class="tag-description">Description:</dt>
1145
+ <dd class="tag-description"><ul class="dummy"><li><p>Get color from label</p></li></ul></dd>
1146
+
1147
+
1148
+
1149
+ <dt class="tag-source">Source:</dt>
1150
+ <dd class="tag-source"><ul class="dummy"><li>
1151
+ <a href="tools_segmentation.js.html">tools/segmentation.js</a>, <a href="tools_segmentation.js.html#line156">line 156</a>
1152
+ </li></ul></dd>
1153
+
1154
+
1155
+
1156
+
1157
+
1158
+
1159
+
1160
+
1161
+
1162
+
1163
+
1164
+
1165
+
1166
+
1167
+
1168
+
1169
+
1170
+
1171
+
1172
+
1173
+
1174
+
1175
+
1176
+
1177
+
1178
+
1179
+
1180
+
1181
+
1182
+
1183
+
1184
+ </dl>
1185
+
1186
+
1187
+
1188
+
1189
+
1190
+
1191
+
1192
+
1193
+
1194
+
1195
+
1196
+
1197
+
1198
+ <h5>Parameters:</h5>
1199
+
1200
+
1201
+ <table class="params">
1202
+ <thead>
1203
+ <tr>
1204
+
1205
+ <th>Name</th>
1206
+
1207
+
1208
+ <th>Type</th>
1209
+
1210
+
1211
+
1212
+
1213
+
1214
+ <th class="last">Description</th>
1215
+ </tr>
1216
+ </thead>
1217
+
1218
+ <tbody>
1219
+
1220
+
1221
+ <tr>
1222
+
1223
+ <td class="name"><code>labelId</code></td>
1224
+
1225
+
1226
+ <td class="type">
1227
+
1228
+
1229
+ <span class="param-type">Number</span>
1230
+
1231
+
1232
+
1233
+ </td>
1234
+
1235
+
1236
+
1237
+
1238
+
1239
+ <td class="description last"></td>
1240
+ </tr>
1241
+
1242
+
1243
+ </tbody>
1244
+ </table>
1245
+
1246
+
1247
+
1248
+
1249
+
1250
+
1251
+
1252
+
1253
+
1254
+
1255
+
1256
+
1257
+
1258
+
1259
+
1260
+
1261
+ <h5>Returns:</h5>
1262
+
1263
+
1264
+ <div class="param-desc">
1265
+ <p>Color in hex format</p>
1266
+ </div>
1267
+
1268
+
1269
+
1270
+ <dl class="param-type">
1271
+ <dt>
1272
+ Type
1273
+ </dt>
1274
+ <dd>
1275
+
1276
+ <span class="param-type">String</span>
1277
+
1278
+
1279
+ </dd>
1280
+ </dl>
1281
+
1282
+
1283
+
1284
+
1285
+
1286
+
1287
+
1288
+
1289
+
1290
+
1291
+ <h4 class="name" id=".initSegmentationModule"><span class="type-signature">(static) </span>initSegmentationModule<span class="signature">(customConfig)</span><span class="type-signature"></span></h4>
1292
+
1293
+
1294
+
1295
+
1296
+
1297
+
1298
+ <dl class="details">
1299
+
1300
+ <dt class="tag-description">Description:</dt>
1301
+ <dd class="tag-description"><ul class="dummy"><li><p>A function to group all settings to load before masks</p></li></ul></dd>
1302
+
1303
+
1304
+
1305
+ <dt class="tag-source">Source:</dt>
1306
+ <dd class="tag-source"><ul class="dummy"><li>
1307
+ <a href="tools_segmentation.js.html">tools/segmentation.js</a>, <a href="tools_segmentation.js.html#line166">line 166</a>
1308
+ </li></ul></dd>
1309
+
1310
+
1311
+
1312
+
1313
+
1314
+
1315
+
1316
+
1317
+
1318
+
1319
+
1320
+
1321
+
1322
+
1323
+
1324
+
1325
+
1326
+
1327
+
1328
+
1329
+
1330
+
1331
+
1332
+
1333
+
1334
+
1335
+
1336
+
1337
+
1338
+
1339
+
1340
+ </dl>
1341
+
1342
+
1343
+
1344
+
1345
+
1346
+
1347
+
1348
+
1349
+
1350
+
1351
+
1352
+
1353
+
1354
+ <h5>Parameters:</h5>
1355
+
1356
+
1357
+ <table class="params">
1358
+ <thead>
1359
+ <tr>
1360
+
1361
+ <th>Name</th>
1362
+
1363
+
1364
+ <th>Type</th>
1365
+
1366
+
1367
+
1368
+
1369
+
1370
+ <th class="last">Description</th>
1371
+ </tr>
1372
+ </thead>
1373
+
1374
+ <tbody>
1375
+
1376
+
1377
+ <tr>
1378
+
1379
+ <td class="name"><code>customConfig</code></td>
1380
+
1381
+
1382
+ <td class="type">
1383
+
1384
+
1385
+ <span class="param-type">Object</span>
1386
+
1387
+
1388
+
1389
+ </td>
1390
+
1391
+
1392
+
1393
+
1394
+
1395
+ <td class="description last"><p>Object containing override values for segmentation module config</p></td>
1396
+ </tr>
1397
+
1398
+
1399
+ </tbody>
1400
+ </table>
1401
+
1402
+
1403
+
1404
+
1405
+
1406
+
1407
+
1408
+
1409
+
1410
+
1411
+
1412
+
1413
+
1414
+
1415
+
1416
+
1417
+
1418
+
1419
+
1420
+
1421
+
1422
+
1423
+
1424
+
1425
+ <h4 class="name" id=".loadMaskSlice"><span class="type-signature">(static) </span>loadMaskSlice<span class="signature">(elementId, sliceIndex, pixelData)</span><span class="type-signature"></span></h4>
1426
+
1427
+
1428
+
1429
+
1430
+
1431
+
1432
+ <dl class="details">
1433
+
1434
+ <dt class="tag-description">Description:</dt>
1435
+ <dd class="tag-description"><ul class="dummy"><li><p>Set a new mask slice into the labelmap buffer</p></li></ul></dd>
1436
+
1437
+
1438
+
1439
+ <dt class="tag-source">Source:</dt>
1440
+ <dd class="tag-source"><ul class="dummy"><li>
1441
+ <a href="tools_segmentation.js.html">tools/segmentation.js</a>, <a href="tools_segmentation.js.html#line213">line 213</a>
1442
+ </li></ul></dd>
1443
+
1444
+
1445
+
1446
+
1447
+
1448
+
1449
+
1450
+
1451
+
1452
+
1453
+
1454
+
1455
+
1456
+
1457
+
1458
+
1459
+
1460
+
1461
+
1462
+
1463
+
1464
+
1465
+
1466
+
1467
+
1468
+
1469
+
1470
+
1471
+
1472
+
1473
+
1474
+ </dl>
1475
+
1476
+
1477
+
1478
+
1479
+
1480
+
1481
+
1482
+
1483
+
1484
+
1485
+
1486
+
1487
+
1488
+ <h5>Parameters:</h5>
1489
+
1490
+
1491
+ <table class="params">
1492
+ <thead>
1493
+ <tr>
1494
+
1495
+ <th>Name</th>
1496
+
1497
+
1498
+ <th>Type</th>
1499
+
1500
+
1501
+
1502
+
1503
+
1504
+ <th class="last">Description</th>
1505
+ </tr>
1506
+ </thead>
1507
+
1508
+ <tbody>
1509
+
1510
+
1511
+ <tr>
1512
+
1513
+ <td class="name"><code>elementId</code></td>
1514
+
1515
+
1516
+ <td class="type">
1517
+
1518
+
1519
+ <span class="param-type">String</span>
1520
+
1521
+
1522
+
1523
+ </td>
1524
+
1525
+
1526
+
1527
+
1528
+
1529
+ <td class="description last"><p>The target html element Id or its DOM HTMLElement</p></td>
1530
+ </tr>
1531
+
1532
+
1533
+
1534
+ <tr>
1535
+
1536
+ <td class="name"><code>sliceIndex</code></td>
1537
+
1538
+
1539
+ <td class="type">
1540
+
1541
+
1542
+ <span class="param-type">Number</span>
1543
+
1544
+
1545
+
1546
+ </td>
1547
+
1548
+
1549
+
1550
+
1551
+
1552
+ <td class="description last"><p>the index of the new mask slice</p></td>
1553
+ </tr>
1554
+
1555
+
1556
+
1557
+ <tr>
1558
+
1559
+ <td class="name"><code>pixelData</code></td>
1560
+
1561
+
1562
+ <td class="type">
1563
+
1564
+
1565
+ <span class="param-type">ArrayBuffer</span>
1566
+
1567
+
1568
+
1569
+ </td>
1570
+
1571
+
1572
+
1573
+
1574
+
1575
+ <td class="description last"><p>the pixelData array</p></td>
1576
+ </tr>
1577
+
1578
+
1579
+ </tbody>
1580
+ </table>
1581
+
1582
+
1583
+
1584
+
1585
+
1586
+
1587
+
1588
+
1589
+
1590
+
1591
+
1592
+
1593
+
1594
+
1595
+
1596
+
1597
+
1598
+
1599
+
1600
+
1601
+
1602
+
1603
+
1604
+
1605
+ <h4 class="name" id=".redoLastStroke"><span class="type-signature">(static) </span>redoLastStroke<span class="signature">(elementId)</span><span class="type-signature"></span></h4>
1606
+
1607
+
1608
+
1609
+
1610
+
1611
+
1612
+ <dl class="details">
1613
+
1614
+ <dt class="tag-description">Description:</dt>
1615
+ <dd class="tag-description"><ul class="dummy"><li><p>Redo last brush operation (stroke)</p></li></ul></dd>
1616
+
1617
+
1618
+
1619
+ <dt class="tag-source">Source:</dt>
1620
+ <dd class="tag-source"><ul class="dummy"><li>
1621
+ <a href="tools_segmentation.js.html">tools/segmentation.js</a>, <a href="tools_segmentation.js.html#line454">line 454</a>
1622
+ </li></ul></dd>
1623
+
1624
+
1625
+
1626
+
1627
+
1628
+
1629
+
1630
+
1631
+
1632
+
1633
+
1634
+
1635
+
1636
+
1637
+
1638
+
1639
+
1640
+
1641
+
1642
+
1643
+
1644
+
1645
+
1646
+
1647
+
1648
+
1649
+
1650
+
1651
+
1652
+
1653
+
1654
+ </dl>
1655
+
1656
+
1657
+
1658
+
1659
+
1660
+
1661
+
1662
+
1663
+
1664
+
1665
+
1666
+
1667
+
1668
+ <h5>Parameters:</h5>
1669
+
1670
+
1671
+ <table class="params">
1672
+ <thead>
1673
+ <tr>
1674
+
1675
+ <th>Name</th>
1676
+
1677
+
1678
+ <th>Type</th>
1679
+
1680
+
1681
+
1682
+
1683
+
1684
+ <th class="last">Description</th>
1685
+ </tr>
1686
+ </thead>
1687
+
1688
+ <tbody>
1689
+
1690
+
1691
+ <tr>
1692
+
1693
+ <td class="name"><code>elementId</code></td>
1694
+
1695
+
1696
+ <td class="type">
1697
+
1698
+
1699
+ <span class="param-type">String</span>
1700
+
1701
+
1702
+
1703
+ </td>
1704
+
1705
+
1706
+
1707
+
1708
+
1709
+ <td class="description last"><p>The target html element Id or its DOM HTMLElement</p></td>
1710
+ </tr>
1711
+
1712
+
1713
+ </tbody>
1714
+ </table>
1715
+
1716
+
1717
+
1718
+
1719
+
1720
+
1721
+
1722
+
1723
+
1724
+
1725
+
1726
+
1727
+
1728
+
1729
+
1730
+
1731
+
1732
+
1733
+
1734
+
1735
+
1736
+
1737
+
1738
+
1739
+ <h4 class="name" id=".setActiveLabelmap"><span class="type-signature">(static) </span>setActiveLabelmap<span class="signature">(labelId, elementId)</span><span class="type-signature"></span></h4>
1740
+
1741
+
1742
+
1743
+
1744
+
1745
+
1746
+ <dl class="details">
1747
+
1748
+ <dt class="tag-description">Description:</dt>
1749
+ <dd class="tag-description"><ul class="dummy"><li><p>Activate a specific labelmap through its labelId</p></li></ul></dd>
1750
+
1751
+
1752
+
1753
+ <dt class="tag-source">Source:</dt>
1754
+ <dd class="tag-source"><ul class="dummy"><li>
1755
+ <a href="tools_segmentation.js.html">tools/segmentation.js</a>, <a href="tools_segmentation.js.html#line245">line 245</a>
1756
+ </li></ul></dd>
1757
+
1758
+
1759
+
1760
+
1761
+
1762
+
1763
+
1764
+
1765
+
1766
+
1767
+
1768
+
1769
+
1770
+
1771
+
1772
+
1773
+
1774
+
1775
+
1776
+
1777
+
1778
+
1779
+
1780
+
1781
+
1782
+
1783
+
1784
+
1785
+
1786
+
1787
+
1788
+ </dl>
1789
+
1790
+
1791
+
1792
+
1793
+
1794
+
1795
+
1796
+
1797
+
1798
+
1799
+
1800
+
1801
+
1802
+ <h5>Parameters:</h5>
1803
+
1804
+
1805
+ <table class="params">
1806
+ <thead>
1807
+ <tr>
1808
+
1809
+ <th>Name</th>
1810
+
1811
+
1812
+ <th>Type</th>
1813
+
1814
+
1815
+
1816
+
1817
+
1818
+ <th class="last">Description</th>
1819
+ </tr>
1820
+ </thead>
1821
+
1822
+ <tbody>
1823
+
1824
+
1825
+ <tr>
1826
+
1827
+ <td class="name"><code>labelId</code></td>
1828
+
1829
+
1830
+ <td class="type">
1831
+
1832
+
1833
+ <span class="param-type">Number</span>
1834
+
1835
+
1836
+
1837
+ </td>
1838
+
1839
+
1840
+
1841
+
1842
+
1843
+ <td class="description last"><p>The labelmap id to activate</p></td>
1844
+ </tr>
1845
+
1846
+
1847
+
1848
+ <tr>
1849
+
1850
+ <td class="name"><code>elementId</code></td>
1851
+
1852
+
1853
+ <td class="type">
1854
+
1855
+
1856
+ <span class="param-type">String</span>
1857
+
1858
+
1859
+
1860
+ </td>
1861
+
1862
+
1863
+
1864
+
1865
+
1866
+ <td class="description last"><p>The target html element Id or its DOM HTMLElement</p></td>
1867
+ </tr>
1868
+
1869
+
1870
+ </tbody>
1871
+ </table>
1872
+
1873
+
1874
+
1875
+
1876
+
1877
+
1878
+
1879
+
1880
+
1881
+
1882
+
1883
+
1884
+
1885
+
1886
+
1887
+
1888
+
1889
+
1890
+
1891
+
1892
+
1893
+
1894
+
1895
+
1896
+ <h4 class="name" id=".setActiveLabelOpacity"><span class="type-signature">(static) </span>setActiveLabelOpacity<span class="signature">(opacity)</span><span class="type-signature"></span></h4>
1897
+
1898
+
1899
+
1900
+
1901
+
1902
+
1903
+ <dl class="details">
1904
+
1905
+ <dt class="tag-description">Description:</dt>
1906
+ <dd class="tag-description"><ul class="dummy"><li><p>Change opacity for active label</p></li></ul></dd>
1907
+
1908
+
1909
+
1910
+ <dt class="tag-source">Source:</dt>
1911
+ <dd class="tag-source"><ul class="dummy"><li>
1912
+ <a href="tools_segmentation.js.html">tools/segmentation.js</a>, <a href="tools_segmentation.js.html#line292">line 292</a>
1913
+ </li></ul></dd>
1914
+
1915
+
1916
+
1917
+
1918
+
1919
+
1920
+
1921
+
1922
+
1923
+
1924
+
1925
+
1926
+
1927
+
1928
+
1929
+
1930
+
1931
+
1932
+
1933
+
1934
+
1935
+
1936
+
1937
+
1938
+
1939
+
1940
+
1941
+
1942
+
1943
+
1944
+
1945
+ </dl>
1946
+
1947
+
1948
+
1949
+
1950
+
1951
+
1952
+
1953
+
1954
+
1955
+
1956
+
1957
+
1958
+
1959
+ <h5>Parameters:</h5>
1960
+
1961
+
1962
+ <table class="params">
1963
+ <thead>
1964
+ <tr>
1965
+
1966
+ <th>Name</th>
1967
+
1968
+
1969
+ <th>Type</th>
1970
+
1971
+
1972
+
1973
+
1974
+
1975
+ <th class="last">Description</th>
1976
+ </tr>
1977
+ </thead>
1978
+
1979
+ <tbody>
1980
+
1981
+
1982
+ <tr>
1983
+
1984
+ <td class="name"><code>opacity</code></td>
1985
+
1986
+
1987
+ <td class="type">
1988
+
1989
+
1990
+ <span class="param-type">Number</span>
1991
+
1992
+
1993
+
1994
+ </td>
1995
+
1996
+
1997
+
1998
+
1999
+
2000
+ <td class="description last"><p>The desired opacity value</p></td>
2001
+ </tr>
2002
+
2003
+
2004
+ </tbody>
2005
+ </table>
2006
+
2007
+
2008
+
2009
+
2010
+
2011
+
2012
+
2013
+
2014
+
2015
+
2016
+
2017
+
2018
+
2019
+
2020
+
2021
+
2022
+
2023
+
2024
+
2025
+
2026
+
2027
+
2028
+
2029
+
2030
+ <h4 class="name" id=".setActiveSegment"><span class="type-signature">(static) </span>setActiveSegment<span class="signature">(segmentIndex, elementId)</span><span class="type-signature"></span></h4>
2031
+
2032
+
2033
+
2034
+
2035
+
2036
+
2037
+ <dl class="details">
2038
+
2039
+ <dt class="tag-description">Description:</dt>
2040
+ <dd class="tag-description"><ul class="dummy"><li><p>Activate a specific segment through its index</p></li></ul></dd>
2041
+
2042
+
2043
+
2044
+ <dt class="tag-source">Source:</dt>
2045
+ <dd class="tag-source"><ul class="dummy"><li>
2046
+ <a href="tools_segmentation.js.html">tools/segmentation.js</a>, <a href="tools_segmentation.js.html#line277">line 277</a>
2047
+ </li></ul></dd>
2048
+
2049
+
2050
+
2051
+
2052
+
2053
+
2054
+
2055
+
2056
+
2057
+
2058
+
2059
+
2060
+
2061
+
2062
+
2063
+
2064
+
2065
+
2066
+
2067
+
2068
+
2069
+
2070
+
2071
+
2072
+
2073
+
2074
+
2075
+
2076
+
2077
+
2078
+
2079
+ </dl>
2080
+
2081
+
2082
+
2083
+
2084
+
2085
+
2086
+
2087
+
2088
+
2089
+
2090
+
2091
+
2092
+
2093
+ <h5>Parameters:</h5>
2094
+
2095
+
2096
+ <table class="params">
2097
+ <thead>
2098
+ <tr>
2099
+
2100
+ <th>Name</th>
2101
+
2102
+
2103
+ <th>Type</th>
2104
+
2105
+
2106
+
2107
+
2108
+
2109
+ <th class="last">Description</th>
2110
+ </tr>
2111
+ </thead>
2112
+
2113
+ <tbody>
2114
+
2115
+
2116
+ <tr>
2117
+
2118
+ <td class="name"><code>segmentIndex</code></td>
2119
+
2120
+
2121
+ <td class="type">
2122
+
2123
+
2124
+ <span class="param-type">Number</span>
2125
+
2126
+
2127
+
2128
+ </td>
2129
+
2130
+
2131
+
2132
+
2133
+
2134
+ <td class="description last"><p>The segment index to activate</p></td>
2135
+ </tr>
2136
+
2137
+
2138
+
2139
+ <tr>
2140
+
2141
+ <td class="name"><code>elementId</code></td>
2142
+
2143
+
2144
+ <td class="type">
2145
+
2146
+
2147
+ <span class="param-type">String</span>
2148
+
2149
+
2150
+
2151
+ </td>
2152
+
2153
+
2154
+
2155
+
2156
+
2157
+ <td class="description last"><p>The target html element Id or its DOM HTMLElement</p></td>
2158
+ </tr>
2159
+
2160
+
2161
+ </tbody>
2162
+ </table>
2163
+
2164
+
2165
+
2166
+
2167
+
2168
+
2169
+
2170
+
2171
+
2172
+
2173
+
2174
+
2175
+
2176
+
2177
+
2178
+
2179
+
2180
+
2181
+
2182
+
2183
+
2184
+
2185
+
2186
+
2187
+ <h4 class="name" id=".setBrushProps"><span class="type-signature">(static) </span>setBrushProps<span class="signature">(props)</span><span class="type-signature"></span></h4>
2188
+
2189
+
2190
+
2191
+
2192
+
2193
+
2194
+ <dl class="details">
2195
+
2196
+ <dt class="tag-description">Description:</dt>
2197
+ <dd class="tag-description"><ul class="dummy"><li><p>Change the brush props</p></li></ul></dd>
2198
+
2199
+
2200
+
2201
+ <dt class="tag-source">Source:</dt>
2202
+ <dd class="tag-source"><ul class="dummy"><li>
2203
+ <a href="tools_segmentation.js.html">tools/segmentation.js</a>, <a href="tools_segmentation.js.html#line429">line 429</a>
2204
+ </li></ul></dd>
2205
+
2206
+
2207
+
2208
+
2209
+
2210
+
2211
+
2212
+
2213
+
2214
+
2215
+
2216
+
2217
+
2218
+
2219
+
2220
+
2221
+
2222
+
2223
+
2224
+
2225
+
2226
+
2227
+
2228
+
2229
+
2230
+
2231
+
2232
+
2233
+
2234
+
2235
+
2236
+ </dl>
2237
+
2238
+
2239
+
2240
+
2241
+
2242
+
2243
+
2244
+
2245
+
2246
+
2247
+
2248
+
2249
+
2250
+ <h5>Parameters:</h5>
2251
+
2252
+
2253
+ <table class="params">
2254
+ <thead>
2255
+ <tr>
2256
+
2257
+ <th>Name</th>
2258
+
2259
+
2260
+ <th>Type</th>
2261
+
2262
+
2263
+
2264
+
2265
+
2266
+ <th class="last">Description</th>
2267
+ </tr>
2268
+ </thead>
2269
+
2270
+ <tbody>
2271
+
2272
+
2273
+ <tr>
2274
+
2275
+ <td class="name"><code>props</code></td>
2276
+
2277
+
2278
+ <td class="type">
2279
+
2280
+
2281
+ <span class="param-type">Object</span>
2282
+
2283
+
2284
+
2285
+ </td>
2286
+
2287
+
2288
+
2289
+
2290
+
2291
+ <td class="description last"><p>The new brush props {radius: number[px], thresholds: array[min,max]}</p></td>
2292
+ </tr>
2293
+
2294
+
2295
+ </tbody>
2296
+ </table>
2297
+
2298
+
2299
+
2300
+
2301
+
2302
+
2303
+
2304
+
2305
+
2306
+
2307
+
2308
+
2309
+
2310
+
2311
+
2312
+
2313
+
2314
+
2315
+
2316
+
2317
+
2318
+
2319
+
2320
+
2321
+ <h4 class="name" id=".setInactiveLabelOpacity"><span class="type-signature">(static) </span>setInactiveLabelOpacity<span class="signature">(opacity)</span><span class="type-signature"></span></h4>
2322
+
2323
+
2324
+
2325
+
2326
+
2327
+
2328
+ <dl class="details">
2329
+
2330
+ <dt class="tag-description">Description:</dt>
2331
+ <dd class="tag-description"><ul class="dummy"><li><p>Change opacity for inactive labels</p></li></ul></dd>
2332
+
2333
+
2334
+
2335
+ <dt class="tag-source">Source:</dt>
2336
+ <dd class="tag-source"><ul class="dummy"><li>
2337
+ <a href="tools_segmentation.js.html">tools/segmentation.js</a>, <a href="tools_segmentation.js.html#line301">line 301</a>
2338
+ </li></ul></dd>
2339
+
2340
+
2341
+
2342
+
2343
+
2344
+
2345
+
2346
+
2347
+
2348
+
2349
+
2350
+
2351
+
2352
+
2353
+
2354
+
2355
+
2356
+
2357
+
2358
+
2359
+
2360
+
2361
+
2362
+
2363
+
2364
+
2365
+
2366
+
2367
+
2368
+
2369
+
2370
+ </dl>
2371
+
2372
+
2373
+
2374
+
2375
+
2376
+
2377
+
2378
+
2379
+
2380
+
2381
+
2382
+
2383
+
2384
+ <h5>Parameters:</h5>
2385
+
2386
+
2387
+ <table class="params">
2388
+ <thead>
2389
+ <tr>
2390
+
2391
+ <th>Name</th>
2392
+
2393
+
2394
+ <th>Type</th>
2395
+
2396
+
2397
+
2398
+
2399
+
2400
+ <th class="last">Description</th>
2401
+ </tr>
2402
+ </thead>
2403
+
2404
+ <tbody>
2405
+
2406
+
2407
+ <tr>
2408
+
2409
+ <td class="name"><code>opacity</code></td>
2410
+
2411
+
2412
+ <td class="type">
2413
+
2414
+
2415
+ <span class="param-type">Number</span>
2416
+
2417
+
2418
+
2419
+ </td>
2420
+
2421
+
2422
+
2423
+
2424
+
2425
+ <td class="description last"><p>The desired opacity value</p></td>
2426
+ </tr>
2427
+
2428
+
2429
+ </tbody>
2430
+ </table>
2431
+
2432
+
2433
+
2434
+
2435
+
2436
+
2437
+
2438
+
2439
+
2440
+
2441
+
2442
+
2443
+
2444
+
2445
+
2446
+
2447
+
2448
+
2449
+
2450
+
2451
+
2452
+
2453
+
2454
+
2455
+ <h4 class="name" id=".setLabelColor"><span class="type-signature">(static) </span>setLabelColor<span class="signature">(labelId, color)</span><span class="type-signature"></span></h4>
2456
+
2457
+
2458
+
2459
+
2460
+
2461
+
2462
+ <dl class="details">
2463
+
2464
+ <dt class="tag-description">Description:</dt>
2465
+ <dd class="tag-description"><ul class="dummy"><li><p>Set color for label</p></li></ul></dd>
2466
+
2467
+
2468
+
2469
+ <dt class="tag-source">Source:</dt>
2470
+ <dd class="tag-source"><ul class="dummy"><li>
2471
+ <a href="tools_segmentation.js.html">tools/segmentation.js</a>, <a href="tools_segmentation.js.html#line143">line 143</a>
2472
+ </li></ul></dd>
2473
+
2474
+
2475
+
2476
+
2477
+
2478
+
2479
+
2480
+
2481
+
2482
+
2483
+
2484
+
2485
+
2486
+
2487
+
2488
+
2489
+
2490
+
2491
+
2492
+
2493
+
2494
+
2495
+
2496
+
2497
+
2498
+
2499
+
2500
+
2501
+
2502
+
2503
+
2504
+ </dl>
2505
+
2506
+
2507
+
2508
+
2509
+
2510
+
2511
+
2512
+
2513
+
2514
+
2515
+
2516
+
2517
+
2518
+ <h5>Parameters:</h5>
2519
+
2520
+
2521
+ <table class="params">
2522
+ <thead>
2523
+ <tr>
2524
+
2525
+ <th>Name</th>
2526
+
2527
+
2528
+ <th>Type</th>
2529
+
2530
+
2531
+
2532
+
2533
+
2534
+ <th class="last">Description</th>
2535
+ </tr>
2536
+ </thead>
2537
+
2538
+ <tbody>
2539
+
2540
+
2541
+ <tr>
2542
+
2543
+ <td class="name"><code>labelId</code></td>
2544
+
2545
+
2546
+ <td class="type">
2547
+
2548
+
2549
+ <span class="param-type">Number</span>
2550
+
2551
+
2552
+
2553
+ </td>
2554
+
2555
+
2556
+
2557
+
2558
+
2559
+ <td class="description last"></td>
2560
+ </tr>
2561
+
2562
+
2563
+
2564
+ <tr>
2565
+
2566
+ <td class="name"><code>color</code></td>
2567
+
2568
+
2569
+ <td class="type">
2570
+
2571
+
2572
+ <span class="param-type">String</span>
2573
+
2574
+
2575
+
2576
+ </td>
2577
+
2578
+
2579
+
2580
+
2581
+
2582
+ <td class="description last"><p>in hex format</p></td>
2583
+ </tr>
2584
+
2585
+
2586
+ </tbody>
2587
+ </table>
2588
+
2589
+
2590
+
2591
+
2592
+
2593
+
2594
+
2595
+
2596
+
2597
+
2598
+
2599
+
2600
+
2601
+
2602
+
2603
+
2604
+
2605
+
2606
+
2607
+
2608
+
2609
+
2610
+
2611
+
2612
+ <h4 class="name" id=".setMaskProps"><span class="type-signature">(static) </span>setMaskProps<span class="signature">(maskProps)</span><span class="type-signature"></span></h4>
2613
+
2614
+
2615
+
2616
+
2617
+
2618
+
2619
+ <dl class="details">
2620
+
2621
+ <dt class="tag-description">Description:</dt>
2622
+ <dd class="tag-description"><ul class="dummy"><li><p>Set mask appearance props</p></li></ul></dd>
2623
+
2624
+
2625
+
2626
+ <dt class="tag-source">Source:</dt>
2627
+ <dd class="tag-source"><ul class="dummy"><li>
2628
+ <a href="tools_segmentation.js.html">tools/segmentation.js</a>, <a href="tools_segmentation.js.html#line349">line 349</a>
2629
+ </li></ul></dd>
2630
+
2631
+
2632
+
2633
+
2634
+
2635
+
2636
+
2637
+
2638
+
2639
+
2640
+
2641
+
2642
+
2643
+
2644
+
2645
+
2646
+
2647
+
2648
+
2649
+
2650
+
2651
+
2652
+
2653
+
2654
+
2655
+
2656
+
2657
+
2658
+
2659
+
2660
+
2661
+ </dl>
2662
+
2663
+
2664
+
2665
+
2666
+
2667
+
2668
+
2669
+
2670
+
2671
+
2672
+
2673
+
2674
+
2675
+ <h5>Parameters:</h5>
2676
+
2677
+
2678
+ <table class="params">
2679
+ <thead>
2680
+ <tr>
2681
+
2682
+ <th>Name</th>
2683
+
2684
+
2685
+ <th>Type</th>
2686
+
2687
+
2688
+
2689
+
2690
+
2691
+ <th class="last">Description</th>
2692
+ </tr>
2693
+ </thead>
2694
+
2695
+ <tbody>
2696
+
2697
+
2698
+ <tr>
2699
+
2700
+ <td class="name"><code>maskProps</code></td>
2701
+
2702
+
2703
+ <td class="type">
2704
+
2705
+
2706
+ <span class="param-type">Object</span>
2707
+
2708
+
2709
+
2710
+ </td>
2711
+
2712
+
2713
+
2714
+
2715
+
2716
+ <td class="description last"><p>The mask appearance props (labelId, visualization [0=filled, 1=contour, 2=hidden], opacity (if mode=0), between 0 and 1)</p></td>
2717
+ </tr>
2718
+
2719
+
2720
+ </tbody>
2721
+ </table>
2722
+
2723
+
2724
+
2725
+
2726
+
2727
+
2728
+
2729
+
2730
+
2731
+
2732
+
2733
+
2734
+
2735
+
2736
+
2737
+
2738
+
2739
+
2740
+
2741
+
2742
+
2743
+
2744
+
2745
+
2746
+ <h4 class="name" id=".toggleContourMode"><span class="type-signature">(static) </span>toggleContourMode<span class="signature">(toggle)</span><span class="type-signature"></span></h4>
2747
+
2748
+
2749
+
2750
+
2751
+
2752
+
2753
+ <dl class="details">
2754
+
2755
+ <dt class="tag-description">Description:</dt>
2756
+ <dd class="tag-description"><ul class="dummy"><li><p>Toggle between 'contours mode' and 'filled mode'</p></li></ul></dd>
2757
+
2758
+
2759
+
2760
+ <dt class="tag-source">Source:</dt>
2761
+ <dd class="tag-source"><ul class="dummy"><li>
2762
+ <a href="tools_segmentation.js.html">tools/segmentation.js</a>, <a href="tools_segmentation.js.html#line328">line 328</a>
2763
+ </li></ul></dd>
2764
+
2765
+
2766
+
2767
+
2768
+
2769
+
2770
+
2771
+
2772
+
2773
+
2774
+
2775
+
2776
+
2777
+
2778
+
2779
+
2780
+
2781
+
2782
+
2783
+
2784
+
2785
+
2786
+
2787
+
2788
+
2789
+
2790
+
2791
+
2792
+
2793
+
2794
+
2795
+ </dl>
2796
+
2797
+
2798
+
2799
+
2800
+
2801
+
2802
+
2803
+
2804
+
2805
+
2806
+
2807
+
2808
+
2809
+ <h5>Parameters:</h5>
2810
+
2811
+
2812
+ <table class="params">
2813
+ <thead>
2814
+ <tr>
2815
+
2816
+ <th>Name</th>
2817
+
2818
+
2819
+ <th>Type</th>
2820
+
2821
+
2822
+
2823
+
2824
+
2825
+ <th class="last">Description</th>
2826
+ </tr>
2827
+ </thead>
2828
+
2829
+ <tbody>
2830
+
2831
+
2832
+ <tr>
2833
+
2834
+ <td class="name"><code>toggle</code></td>
2835
+
2836
+
2837
+ <td class="type">
2838
+
2839
+
2840
+ <span class="param-type">Bool</span>
2841
+
2842
+
2843
+
2844
+ </td>
2845
+
2846
+
2847
+
2848
+
2849
+
2850
+ <td class="description last"><p>Contour mode enabled if true</p></td>
2851
+ </tr>
2852
+
2853
+
2854
+ </tbody>
2855
+ </table>
2856
+
2857
+
2858
+
2859
+
2860
+
2861
+
2862
+
2863
+
2864
+
2865
+
2866
+
2867
+
2868
+
2869
+
2870
+
2871
+
2872
+
2873
+
2874
+
2875
+
2876
+
2877
+
2878
+
2879
+
2880
+ <h4 class="name" id=".toggleVisibility"><span class="type-signature">(static) </span>toggleVisibility<span class="signature">(elementId, labelId)</span><span class="type-signature"></span></h4>
2881
+
2882
+
2883
+
2884
+
2885
+
2886
+
2887
+ <dl class="details">
2888
+
2889
+ <dt class="tag-description">Description:</dt>
2890
+ <dd class="tag-description"><ul class="dummy"><li><p>Toggle mask visibility</p></li></ul></dd>
2891
+
2892
+
2893
+
2894
+ <dt class="tag-source">Source:</dt>
2895
+ <dd class="tag-source"><ul class="dummy"><li>
2896
+ <a href="tools_segmentation.js.html">tools/segmentation.js</a>, <a href="tools_segmentation.js.html#line311">line 311</a>
2897
+ </li></ul></dd>
2898
+
2899
+
2900
+
2901
+
2902
+
2903
+
2904
+
2905
+
2906
+
2907
+
2908
+
2909
+
2910
+
2911
+
2912
+
2913
+
2914
+
2915
+
2916
+
2917
+
2918
+
2919
+
2920
+
2921
+
2922
+
2923
+
2924
+
2925
+
2926
+
2927
+
2928
+
2929
+ </dl>
2930
+
2931
+
2932
+
2933
+
2934
+
2935
+
2936
+
2937
+
2938
+
2939
+
2940
+
2941
+
2942
+
2943
+ <h5>Parameters:</h5>
2944
+
2945
+
2946
+ <table class="params">
2947
+ <thead>
2948
+ <tr>
2949
+
2950
+ <th>Name</th>
2951
+
2952
+
2953
+ <th>Type</th>
2954
+
2955
+
2956
+
2957
+
2958
+
2959
+ <th class="last">Description</th>
2960
+ </tr>
2961
+ </thead>
2962
+
2963
+ <tbody>
2964
+
2965
+
2966
+ <tr>
2967
+
2968
+ <td class="name"><code>elementId</code></td>
2969
+
2970
+
2971
+ <td class="type">
2972
+
2973
+
2974
+ <span class="param-type">String</span>
2975
+
2976
+
2977
+
2978
+ </td>
2979
+
2980
+
2981
+
2982
+
2983
+
2984
+ <td class="description last"><p>The target html element Id or its DOM HTMLElement</p></td>
2985
+ </tr>
2986
+
2987
+
2988
+
2989
+ <tr>
2990
+
2991
+ <td class="name"><code>labelId</code></td>
2992
+
2993
+
2994
+ <td class="type">
2995
+
2996
+
2997
+ <span class="param-type">Number</span>
2998
+
2999
+
3000
+
3001
+ </td>
3002
+
3003
+
3004
+
3005
+
3006
+
3007
+ <td class="description last"><p>The id of the mask label</p></td>
3008
+ </tr>
3009
+
3010
+
3011
+ </tbody>
3012
+ </table>
3013
+
3014
+
3015
+
3016
+
3017
+
3018
+
3019
+
3020
+
3021
+
3022
+
3023
+
3024
+
3025
+
3026
+
3027
+
3028
+
3029
+
3030
+
3031
+
3032
+
3033
+
3034
+
3035
+
3036
+
3037
+ <h4 class="name" id=".undoLastStroke"><span class="type-signature">(static) </span>undoLastStroke<span class="signature">(elementId)</span><span class="type-signature"></span></h4>
3038
+
3039
+
3040
+
3041
+
3042
+
3043
+
3044
+ <dl class="details">
3045
+
3046
+ <dt class="tag-description">Description:</dt>
3047
+ <dd class="tag-description"><ul class="dummy"><li><p>Undo last brush operation (stroke)</p></li></ul></dd>
3048
+
3049
+
3050
+
3051
+ <dt class="tag-source">Source:</dt>
3052
+ <dd class="tag-source"><ul class="dummy"><li>
3053
+ <a href="tools_segmentation.js.html">tools/segmentation.js</a>, <a href="tools_segmentation.js.html#line438">line 438</a>
3054
+ </li></ul></dd>
3055
+
3056
+
3057
+
3058
+
3059
+
3060
+
3061
+
3062
+
3063
+
3064
+
3065
+
3066
+
3067
+
3068
+
3069
+
3070
+
3071
+
3072
+
3073
+
3074
+
3075
+
3076
+
3077
+
3078
+
3079
+
3080
+
3081
+
3082
+
3083
+
3084
+
3085
+
3086
+ </dl>
3087
+
3088
+
3089
+
3090
+
3091
+
3092
+
3093
+
3094
+
3095
+
3096
+
3097
+
3098
+
3099
+
3100
+ <h5>Parameters:</h5>
3101
+
3102
+
3103
+ <table class="params">
3104
+ <thead>
3105
+ <tr>
3106
+
3107
+ <th>Name</th>
3108
+
3109
+
3110
+ <th>Type</th>
3111
+
3112
+
3113
+
3114
+
3115
+
3116
+ <th class="last">Description</th>
3117
+ </tr>
3118
+ </thead>
3119
+
3120
+ <tbody>
3121
+
3122
+
3123
+ <tr>
3124
+
3125
+ <td class="name"><code>elementId</code></td>
3126
+
3127
+
3128
+ <td class="type">
3129
+
3130
+
3131
+ <span class="param-type">String</span>
3132
+
3133
+
3134
+
3135
+ </td>
3136
+
3137
+
3138
+
3139
+
3140
+
3141
+ <td class="description last"><p>The target html element Id or its DOM HTMLElement</p></td>
3142
+ </tr>
3143
+
3144
+
3145
+ </tbody>
3146
+ </table>
3147
+
3148
+
3149
+
3150
+
3151
+
3152
+
3153
+
3154
+
3155
+
3156
+
3157
+
3158
+
3159
+
3160
+
3161
+
3162
+
3163
+
3164
+
3165
+
3166
+
3167
+
3168
+
3169
+
3170
+
3171
+ <h4 class="name" id="~generateLUT"><span class="type-signature">(inner) </span>generateLUT<span class="signature">()</span><span class="type-signature"></span></h4>
3172
+
3173
+
3174
+
3175
+
3176
+
3177
+
3178
+ <dl class="details">
3179
+
3180
+ <dt class="tag-description">Description:</dt>
3181
+ <dd class="tag-description"><ul class="dummy"><li><p>Generate the custom LUT - single volume version</p></li></ul></dd>
3182
+
3183
+
3184
+
3185
+ <dt class="tag-source">Source:</dt>
3186
+ <dd class="tag-source"><ul class="dummy"><li>
3187
+ <a href="tools_segmentation.js.html">tools/segmentation.js</a>, <a href="tools_segmentation.js.html#line116">line 116</a>
3188
+ </li></ul></dd>
3189
+
3190
+
3191
+
3192
+
3193
+
3194
+
3195
+
3196
+
3197
+
3198
+
3199
+
3200
+
3201
+
3202
+
3203
+
3204
+
3205
+
3206
+
3207
+
3208
+
3209
+
3210
+
3211
+
3212
+
3213
+
3214
+
3215
+
3216
+
3217
+
3218
+
3219
+
3220
+ </dl>
3221
+
3222
+
3223
+
3224
+
3225
+
3226
+
3227
+
3228
+
3229
+
3230
+
3231
+
3232
+
3233
+
3234
+
3235
+
3236
+
3237
+
3238
+
3239
+
3240
+
3241
+
3242
+
3243
+
3244
+
3245
+
3246
+
3247
+
3248
+
3249
+
3250
+
3251
+
3252
+
3253
+
3254
+
3255
+
3256
+ <h4 class="name" id="~generateUniformLUT"><span class="type-signature">(inner) </span>generateUniformLUT<span class="signature">(hex_color, opacity)</span><span class="type-signature"></span></h4>
3257
+
3258
+
3259
+
3260
+
3261
+
3262
+
3263
+ <dl class="details">
3264
+
3265
+ <dt class="tag-description">Description:</dt>
3266
+ <dd class="tag-description"><ul class="dummy"><li><p>Generate the custom LUT - multiple volume version</p></li></ul></dd>
3267
+
3268
+
3269
+
3270
+ <dt class="tag-source">Source:</dt>
3271
+ <dd class="tag-source"><ul class="dummy"><li>
3272
+ <a href="tools_segmentation.js.html">tools/segmentation.js</a>, <a href="tools_segmentation.js.html#line130">line 130</a>
3273
+ </li></ul></dd>
3274
+
3275
+
3276
+
3277
+
3278
+
3279
+
3280
+
3281
+
3282
+
3283
+
3284
+
3285
+
3286
+
3287
+
3288
+
3289
+
3290
+
3291
+
3292
+
3293
+
3294
+
3295
+
3296
+
3297
+
3298
+
3299
+
3300
+
3301
+
3302
+
3303
+
3304
+
3305
+ </dl>
3306
+
3307
+
3308
+
3309
+
3310
+
3311
+
3312
+
3313
+
3314
+
3315
+
3316
+
3317
+
3318
+
3319
+ <h5>Parameters:</h5>
3320
+
3321
+
3322
+ <table class="params">
3323
+ <thead>
3324
+ <tr>
3325
+
3326
+ <th>Name</th>
3327
+
3328
+
3329
+ <th>Type</th>
3330
+
3331
+
3332
+
3333
+
3334
+
3335
+ <th class="last">Description</th>
3336
+ </tr>
3337
+ </thead>
3338
+
3339
+ <tbody>
3340
+
3341
+
3342
+ <tr>
3343
+
3344
+ <td class="name"><code>hex_color</code></td>
3345
+
3346
+
3347
+ <td class="type">
3348
+
3349
+
3350
+ <span class="param-type">String</span>
3351
+
3352
+
3353
+
3354
+ </td>
3355
+
3356
+
3357
+
3358
+
3359
+
3360
+ <td class="description last"><p>color for LUT in the #RRGGBB form</p></td>
3361
+ </tr>
3362
+
3363
+
3364
+
3365
+ <tr>
3366
+
3367
+ <td class="name"><code>opacity</code></td>
3368
+
3369
+
3370
+ <td class="type">
3371
+
3372
+
3373
+ <span class="param-type">NUmber</span>
3374
+
3375
+
3376
+
3377
+ </td>
3378
+
3379
+
3380
+
3381
+
3382
+
3383
+ <td class="description last"><p>number between 0 and 1</p></td>
3384
+ </tr>
3385
+
3386
+
3387
+ </tbody>
3388
+ </table>
3389
+
3390
+
3391
+
3392
+
3393
+
3394
+
3395
+
3396
+
3397
+
3398
+
3399
+
3400
+
3401
+
3402
+
3403
+
3404
+
3405
+
3406
+
3407
+
3408
+
3409
+
3410
+
3411
+
3412
+
3413
+ <h4 class="name" id="~HSVtoRGB"><span class="type-signature">(inner) </span>HSVtoRGB<span class="signature">(color)</span><span class="type-signature"></span></h4>
3414
+
3415
+
3416
+
3417
+
3418
+
3419
+
3420
+ <dl class="details">
3421
+
3422
+ <dt class="tag-description">Description:</dt>
3423
+ <dd class="tag-description"><ul class="dummy"><li><p>Convert color from hsv to rgb</p></li></ul></dd>
3424
+
3425
+
3426
+
3427
+ <dt class="tag-source">Source:</dt>
3428
+ <dd class="tag-source"><ul class="dummy"><li>
3429
+ <a href="tools_segmentation.js.html">tools/segmentation.js</a>, <a href="tools_segmentation.js.html#line72">line 72</a>
3430
+ </li></ul></dd>
3431
+
3432
+
3433
+
3434
+
3435
+
3436
+
3437
+
3438
+
3439
+
3440
+
3441
+
3442
+
3443
+
3444
+
3445
+
3446
+
3447
+
3448
+
3449
+
3450
+
3451
+
3452
+
3453
+
3454
+
3455
+
3456
+
3457
+
3458
+
3459
+
3460
+
3461
+
3462
+ </dl>
3463
+
3464
+
3465
+
3466
+
3467
+
3468
+
3469
+
3470
+
3471
+
3472
+
3473
+
3474
+
3475
+
3476
+ <h5>Parameters:</h5>
3477
+
3478
+
3479
+ <table class="params">
3480
+ <thead>
3481
+ <tr>
3482
+
3483
+ <th>Name</th>
3484
+
3485
+
3486
+ <th>Type</th>
3487
+
3488
+
3489
+
3490
+
3491
+
3492
+ <th class="last">Description</th>
3493
+ </tr>
3494
+ </thead>
3495
+
3496
+ <tbody>
3497
+
3498
+
3499
+ <tr>
3500
+
3501
+ <td class="name"><code>color</code></td>
3502
+
3503
+
3504
+ <td class="type">
3505
+
3506
+
3507
+ <span class="param-type">Array</span>
3508
+
3509
+
3510
+
3511
+ </td>
3512
+
3513
+
3514
+
3515
+
3516
+
3517
+ <td class="description last"><p>as [h,s,v] 0-1</p></td>
3518
+ </tr>
3519
+
3520
+
3521
+ </tbody>
3522
+ </table>
3523
+
3524
+
3525
+
3526
+
3527
+
3528
+
3529
+
3530
+
3531
+
3532
+
3533
+
3534
+
3535
+
3536
+
3537
+
3538
+
3539
+ <h5>Returns:</h5>
3540
+
3541
+
3542
+ <div class="param-desc">
3543
+ <p>color as [r,g,b] 0-255</p>
3544
+ </div>
3545
+
3546
+
3547
+
3548
+
3549
+
3550
+
3551
+
3552
+
3553
+
3554
+
3555
+
3556
+
3557
+
3558
+ </article>
3559
+
3560
+ </section>
3561
+
3562
+
3563
+
3564
+
3565
+
3566
+
3567
+ </div>
3568
+
3569
+ <br class="clear">
3570
+
3571
+ <footer>
3572
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
3573
+ </footer>
3574
+
3575
+ <script>prettyPrint();</script>
3576
+ <script src="scripts/polyfill.js"></script>
3577
+ <script src="scripts/linenumber.js"></script>
3578
+
3579
+ <script src="scripts/search.js" defer></script>
3580
+
3581
+
3582
+ <script src="scripts/collapse.js" defer></script>
3583
+
3584
+
3585
+ </body>
3586
+ </html>