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,3223 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+
5
+ <meta charset="utf-8">
6
+ <title>imaging/imageRendering - 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/imageRendering</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 for<br>
70
+ rendering images in html canvas using cornerstone</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 for<br>
83
+ rendering images in html canvas using cornerstone</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="imageRendering.js.html">imageRendering.js</a>, <a href="imageRendering.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="clearImageCache"><span class="type-signature"></span>clearImageCache<span class="signature">(seriesId)</span><span class="type-signature"></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>Purge the cornestone internal cache<br>
191
+ If seriesId is passed as argument only imageIds of the series are purged from internal cache</p></li></ul></dd>
192
+
193
+
194
+
195
+ <dt class="tag-source">Source:</dt>
196
+ <dd class="tag-source"><ul class="dummy"><li>
197
+ <a href="imageRendering.js.html">imageRendering.js</a>, <a href="imageRendering.js.html#line41">line 41</a>
198
+ </li></ul></dd>
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
+
230
+ </dl>
231
+
232
+
233
+
234
+
235
+
236
+
237
+
238
+
239
+
240
+
241
+
242
+
243
+
244
+ <h5>Parameters:</h5>
245
+
246
+
247
+ <table class="params">
248
+ <thead>
249
+ <tr>
250
+
251
+ <th>Name</th>
252
+
253
+
254
+ <th>Type</th>
255
+
256
+
257
+
258
+
259
+
260
+ <th class="last">Description</th>
261
+ </tr>
262
+ </thead>
263
+
264
+ <tbody>
265
+
266
+
267
+ <tr>
268
+
269
+ <td class="name"><code>seriesId</code></td>
270
+
271
+
272
+ <td class="type">
273
+
274
+
275
+ <span class="param-type">String</span>
276
+
277
+
278
+
279
+ </td>
280
+
281
+
282
+
283
+
284
+
285
+ <td class="description last"><p>The id of the serie</p></td>
286
+ </tr>
287
+
288
+
289
+ </tbody>
290
+ </table>
291
+
292
+
293
+
294
+
295
+
296
+
297
+
298
+
299
+
300
+
301
+
302
+
303
+
304
+
305
+
306
+
307
+
308
+
309
+
310
+
311
+
312
+
313
+
314
+
315
+ <h4 class="name" id="disableViewport"><span class="type-signature"></span>disableViewport<span class="signature">(elementId)</span><span class="type-signature"></span></h4>
316
+
317
+
318
+
319
+
320
+
321
+
322
+ <dl class="details">
323
+
324
+ <dt class="tag-description">Description:</dt>
325
+ <dd class="tag-description"><ul class="dummy"><li><p>Unrender an image on a html div using cornerstone</p></li></ul></dd>
326
+
327
+
328
+
329
+ <dt class="tag-source">Source:</dt>
330
+ <dd class="tag-source"><ul class="dummy"><li>
331
+ <a href="imageRendering.js.html">imageRendering.js</a>, <a href="imageRendering.js.html#line185">line 185</a>
332
+ </li></ul></dd>
333
+
334
+
335
+
336
+
337
+
338
+
339
+
340
+
341
+
342
+
343
+
344
+
345
+
346
+
347
+
348
+
349
+
350
+
351
+
352
+
353
+
354
+
355
+
356
+
357
+
358
+
359
+
360
+
361
+
362
+
363
+
364
+ </dl>
365
+
366
+
367
+
368
+
369
+
370
+
371
+
372
+
373
+
374
+
375
+
376
+
377
+
378
+ <h5>Parameters:</h5>
379
+
380
+
381
+ <table class="params">
382
+ <thead>
383
+ <tr>
384
+
385
+ <th>Name</th>
386
+
387
+
388
+ <th>Type</th>
389
+
390
+
391
+
392
+
393
+
394
+ <th class="last">Description</th>
395
+ </tr>
396
+ </thead>
397
+
398
+ <tbody>
399
+
400
+
401
+ <tr>
402
+
403
+ <td class="name"><code>elementId</code></td>
404
+
405
+
406
+ <td class="type">
407
+
408
+
409
+ <span class="param-type">String</span>
410
+
411
+
412
+
413
+ </td>
414
+
415
+
416
+
417
+
418
+
419
+ <td class="description last"><p>The html div id used for rendering or its DOM HTMLElement</p></td>
420
+ </tr>
421
+
422
+
423
+ </tbody>
424
+ </table>
425
+
426
+
427
+
428
+
429
+
430
+
431
+
432
+
433
+
434
+
435
+
436
+
437
+
438
+
439
+
440
+
441
+
442
+
443
+
444
+
445
+
446
+
447
+
448
+
449
+ <h4 class="name" id="flipImageHorizontal"><span class="type-signature"></span>flipImageHorizontal<span class="signature">(elementId)</span><span class="type-signature"></span></h4>
450
+
451
+
452
+
453
+
454
+
455
+
456
+ <dl class="details">
457
+
458
+ <dt class="tag-description">Description:</dt>
459
+ <dd class="tag-description"><ul class="dummy"><li><p>Flip image around horizontal axis</p></li></ul></dd>
460
+
461
+
462
+
463
+ <dt class="tag-source">Source:</dt>
464
+ <dd class="tag-source"><ul class="dummy"><li>
465
+ <a href="imageRendering.js.html">imageRendering.js</a>, <a href="imageRendering.js.html#line612">line 612</a>
466
+ </li></ul></dd>
467
+
468
+
469
+
470
+
471
+
472
+
473
+
474
+
475
+
476
+
477
+
478
+
479
+
480
+
481
+
482
+
483
+
484
+
485
+
486
+
487
+
488
+
489
+
490
+
491
+
492
+
493
+
494
+
495
+
496
+
497
+
498
+ </dl>
499
+
500
+
501
+
502
+
503
+
504
+
505
+
506
+
507
+
508
+
509
+
510
+
511
+
512
+ <h5>Parameters:</h5>
513
+
514
+
515
+ <table class="params">
516
+ <thead>
517
+ <tr>
518
+
519
+ <th>Name</th>
520
+
521
+
522
+ <th>Type</th>
523
+
524
+
525
+
526
+
527
+
528
+ <th class="last">Description</th>
529
+ </tr>
530
+ </thead>
531
+
532
+ <tbody>
533
+
534
+
535
+ <tr>
536
+
537
+ <td class="name"><code>elementId</code></td>
538
+
539
+
540
+ <td class="type">
541
+
542
+
543
+ <span class="param-type">Object</span>
544
+
545
+
546
+
547
+ </td>
548
+
549
+
550
+
551
+
552
+
553
+ <td class="description last"><p>The html div id used for rendering or its DOM HTMLElement</p></td>
554
+ </tr>
555
+
556
+
557
+ </tbody>
558
+ </table>
559
+
560
+
561
+
562
+
563
+
564
+
565
+
566
+
567
+
568
+
569
+
570
+
571
+
572
+
573
+
574
+
575
+
576
+
577
+
578
+
579
+
580
+
581
+
582
+
583
+ <h4 class="name" id="flipImageVertical"><span class="type-signature"></span>flipImageVertical<span class="signature">(elementId)</span><span class="type-signature"></span></h4>
584
+
585
+
586
+
587
+
588
+
589
+
590
+ <dl class="details">
591
+
592
+ <dt class="tag-description">Description:</dt>
593
+ <dd class="tag-description"><ul class="dummy"><li><p>Flip image around vertical axis</p></li></ul></dd>
594
+
595
+
596
+
597
+ <dt class="tag-source">Source:</dt>
598
+ <dd class="tag-source"><ul class="dummy"><li>
599
+ <a href="imageRendering.js.html">imageRendering.js</a>, <a href="imageRendering.js.html#line631">line 631</a>
600
+ </li></ul></dd>
601
+
602
+
603
+
604
+
605
+
606
+
607
+
608
+
609
+
610
+
611
+
612
+
613
+
614
+
615
+
616
+
617
+
618
+
619
+
620
+
621
+
622
+
623
+
624
+
625
+
626
+
627
+
628
+
629
+
630
+
631
+
632
+ </dl>
633
+
634
+
635
+
636
+
637
+
638
+
639
+
640
+
641
+
642
+
643
+
644
+
645
+
646
+ <h5>Parameters:</h5>
647
+
648
+
649
+ <table class="params">
650
+ <thead>
651
+ <tr>
652
+
653
+ <th>Name</th>
654
+
655
+
656
+ <th>Type</th>
657
+
658
+
659
+
660
+
661
+
662
+ <th class="last">Description</th>
663
+ </tr>
664
+ </thead>
665
+
666
+ <tbody>
667
+
668
+
669
+ <tr>
670
+
671
+ <td class="name"><code>elementId</code></td>
672
+
673
+
674
+ <td class="type">
675
+
676
+
677
+ <span class="param-type">Object</span>
678
+
679
+
680
+
681
+ </td>
682
+
683
+
684
+
685
+
686
+
687
+ <td class="description last"><p>The html div id used for rendering or its DOM HTMLElement</p></td>
688
+ </tr>
689
+
690
+
691
+ </tbody>
692
+ </table>
693
+
694
+
695
+
696
+
697
+
698
+
699
+
700
+
701
+
702
+
703
+
704
+
705
+
706
+
707
+
708
+
709
+
710
+
711
+
712
+
713
+
714
+
715
+
716
+
717
+ <h4 class="name" id="getSeriesData"><span class="type-signature"></span>getSeriesData<span class="signature">(series, defaultProps)</span><span class="type-signature"> &rarr; {Object}</span></h4>
718
+
719
+
720
+
721
+
722
+
723
+
724
+ <dl class="details">
725
+
726
+ <dt class="tag-description">Description:</dt>
727
+ <dd class="tag-description"><ul class="dummy"><li><p>Get series metadata from default props and series' metadata</p></li></ul></dd>
728
+
729
+
730
+
731
+ <dt class="tag-source">Source:</dt>
732
+ <dd class="tag-source"><ul class="dummy"><li>
733
+ <a href="imageRendering.js.html">imageRendering.js</a>, <a href="imageRendering.js.html#line690">line 690</a>
734
+ </li></ul></dd>
735
+
736
+
737
+
738
+
739
+
740
+
741
+
742
+
743
+
744
+
745
+
746
+
747
+
748
+
749
+
750
+
751
+
752
+
753
+
754
+
755
+
756
+
757
+
758
+
759
+
760
+
761
+
762
+
763
+
764
+
765
+
766
+ </dl>
767
+
768
+
769
+
770
+
771
+
772
+
773
+
774
+
775
+
776
+
777
+
778
+
779
+
780
+ <h5>Parameters:</h5>
781
+
782
+
783
+ <table class="params">
784
+ <thead>
785
+ <tr>
786
+
787
+ <th>Name</th>
788
+
789
+
790
+ <th>Type</th>
791
+
792
+
793
+
794
+
795
+
796
+ <th class="last">Description</th>
797
+ </tr>
798
+ </thead>
799
+
800
+ <tbody>
801
+
802
+
803
+ <tr>
804
+
805
+ <td class="name"><code>series</code></td>
806
+
807
+
808
+ <td class="type">
809
+
810
+
811
+ <span class="param-type">Object</span>
812
+
813
+
814
+
815
+ </td>
816
+
817
+
818
+
819
+
820
+
821
+ <td class="description last"><p>The parsed data series</p></td>
822
+ </tr>
823
+
824
+
825
+
826
+ <tr>
827
+
828
+ <td class="name"><code>defaultProps</code></td>
829
+
830
+
831
+ <td class="type">
832
+
833
+
834
+ <span class="param-type">Object</span>
835
+
836
+
837
+
838
+ </td>
839
+
840
+
841
+
842
+
843
+
844
+ <td class="description last"><p>Optional default properties</p></td>
845
+ </tr>
846
+
847
+
848
+ </tbody>
849
+ </table>
850
+
851
+
852
+
853
+
854
+
855
+
856
+
857
+
858
+
859
+
860
+
861
+
862
+
863
+
864
+
865
+
866
+ <h5>Returns:</h5>
867
+
868
+
869
+ <div class="param-desc">
870
+ <p>data - A data dictionary with parsed tags' values</p>
871
+ </div>
872
+
873
+
874
+
875
+ <dl class="param-type">
876
+ <dt>
877
+ Type
878
+ </dt>
879
+ <dd>
880
+
881
+ <span class="param-type">Object</span>
882
+
883
+
884
+ </dd>
885
+ </dl>
886
+
887
+
888
+
889
+
890
+
891
+
892
+
893
+
894
+
895
+
896
+ <h4 class="name" id="invertImage"><span class="type-signature"></span>invertImage<span class="signature">(elementId)</span><span class="type-signature"></span></h4>
897
+
898
+
899
+
900
+
901
+
902
+
903
+ <dl class="details">
904
+
905
+ <dt class="tag-description">Description:</dt>
906
+ <dd class="tag-description"><ul class="dummy"><li><p>Invert pixels of an image</p></li></ul></dd>
907
+
908
+
909
+
910
+ <dt class="tag-source">Source:</dt>
911
+ <dd class="tag-source"><ul class="dummy"><li>
912
+ <a href="imageRendering.js.html">imageRendering.js</a>, <a href="imageRendering.js.html#line593">line 593</a>
913
+ </li></ul></dd>
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
+
944
+
945
+ </dl>
946
+
947
+
948
+
949
+
950
+
951
+
952
+
953
+
954
+
955
+
956
+
957
+
958
+
959
+ <h5>Parameters:</h5>
960
+
961
+
962
+ <table class="params">
963
+ <thead>
964
+ <tr>
965
+
966
+ <th>Name</th>
967
+
968
+
969
+ <th>Type</th>
970
+
971
+
972
+
973
+
974
+
975
+ <th class="last">Description</th>
976
+ </tr>
977
+ </thead>
978
+
979
+ <tbody>
980
+
981
+
982
+ <tr>
983
+
984
+ <td class="name"><code>elementId</code></td>
985
+
986
+
987
+ <td class="type">
988
+
989
+
990
+ <span class="param-type">Object</span>
991
+
992
+
993
+
994
+ </td>
995
+
996
+
997
+
998
+
999
+
1000
+ <td class="description last"><p>The html div id used for rendering or its DOM HTMLElement</p></td>
1001
+ </tr>
1002
+
1003
+
1004
+ </tbody>
1005
+ </table>
1006
+
1007
+
1008
+
1009
+
1010
+
1011
+
1012
+
1013
+
1014
+
1015
+
1016
+
1017
+
1018
+
1019
+
1020
+
1021
+
1022
+
1023
+
1024
+
1025
+
1026
+
1027
+
1028
+
1029
+
1030
+ <h4 class="name" id="loadAndCacheImages"><span class="type-signature"></span>loadAndCacheImages<span class="signature">(series, callback)</span><span class="type-signature"></span></h4>
1031
+
1032
+
1033
+
1034
+
1035
+
1036
+
1037
+ <dl class="details">
1038
+
1039
+ <dt class="tag-description">Description:</dt>
1040
+ <dd class="tag-description"><ul class="dummy"><li><p>Load and cache all serie's images<br>
1041
+ Add series's imageIds into store</p></li></ul></dd>
1042
+
1043
+
1044
+
1045
+ <dt class="tag-source">Source:</dt>
1046
+ <dd class="tag-source"><ul class="dummy"><li>
1047
+ <a href="imageRendering.js.html">imageRendering.js</a>, <a href="imageRendering.js.html#line74">line 74</a>
1048
+ </li></ul></dd>
1049
+
1050
+
1051
+
1052
+
1053
+
1054
+
1055
+
1056
+
1057
+
1058
+
1059
+
1060
+
1061
+
1062
+
1063
+
1064
+
1065
+
1066
+
1067
+
1068
+
1069
+
1070
+
1071
+
1072
+
1073
+
1074
+
1075
+
1076
+
1077
+
1078
+
1079
+
1080
+ </dl>
1081
+
1082
+
1083
+
1084
+
1085
+
1086
+
1087
+
1088
+
1089
+
1090
+
1091
+
1092
+
1093
+
1094
+ <h5>Parameters:</h5>
1095
+
1096
+
1097
+ <table class="params">
1098
+ <thead>
1099
+ <tr>
1100
+
1101
+ <th>Name</th>
1102
+
1103
+
1104
+ <th>Type</th>
1105
+
1106
+
1107
+
1108
+
1109
+
1110
+ <th class="last">Description</th>
1111
+ </tr>
1112
+ </thead>
1113
+
1114
+ <tbody>
1115
+
1116
+
1117
+ <tr>
1118
+
1119
+ <td class="name"><code>series</code></td>
1120
+
1121
+
1122
+ <td class="type">
1123
+
1124
+
1125
+ <span class="param-type">Object</span>
1126
+
1127
+
1128
+
1129
+ </td>
1130
+
1131
+
1132
+
1133
+
1134
+
1135
+ <td class="description last"><p>the parsed series data</p></td>
1136
+ </tr>
1137
+
1138
+
1139
+
1140
+ <tr>
1141
+
1142
+ <td class="name"><code>callback</code></td>
1143
+
1144
+
1145
+ <td class="type">
1146
+
1147
+
1148
+ <span class="param-type">function</span>
1149
+
1150
+
1151
+
1152
+ </td>
1153
+
1154
+
1155
+
1156
+
1157
+
1158
+ <td class="description last"><p>a callback function</p></td>
1159
+ </tr>
1160
+
1161
+
1162
+ </tbody>
1163
+ </table>
1164
+
1165
+
1166
+
1167
+
1168
+
1169
+
1170
+
1171
+
1172
+
1173
+
1174
+
1175
+
1176
+
1177
+
1178
+
1179
+
1180
+
1181
+
1182
+
1183
+
1184
+
1185
+
1186
+
1187
+
1188
+ <h4 class="name" id="renderImage"><span class="type-signature"></span>renderImage<span class="signature">(seriesStack, elementId, defaultProps)</span><span class="type-signature"> &rarr; {Promise}</span></h4>
1189
+
1190
+
1191
+
1192
+
1193
+
1194
+
1195
+ <dl class="details">
1196
+
1197
+ <dt class="tag-description">Description:</dt>
1198
+ <dd class="tag-description"><ul class="dummy"><li><p>Cache image and render it in a html div using cornerstone</p></li></ul></dd>
1199
+
1200
+
1201
+
1202
+ <dt class="tag-source">Source:</dt>
1203
+ <dd class="tag-source"><ul class="dummy"><li>
1204
+ <a href="imageRendering.js.html">imageRendering.js</a>, <a href="imageRendering.js.html#line245">line 245</a>
1205
+ </li></ul></dd>
1206
+
1207
+
1208
+
1209
+
1210
+
1211
+
1212
+
1213
+
1214
+
1215
+
1216
+
1217
+
1218
+
1219
+
1220
+
1221
+
1222
+
1223
+
1224
+
1225
+
1226
+
1227
+
1228
+
1229
+
1230
+
1231
+
1232
+
1233
+
1234
+
1235
+
1236
+
1237
+ </dl>
1238
+
1239
+
1240
+
1241
+
1242
+
1243
+
1244
+
1245
+
1246
+
1247
+
1248
+
1249
+
1250
+
1251
+ <h5>Parameters:</h5>
1252
+
1253
+
1254
+ <table class="params">
1255
+ <thead>
1256
+ <tr>
1257
+
1258
+ <th>Name</th>
1259
+
1260
+
1261
+ <th>Type</th>
1262
+
1263
+
1264
+
1265
+
1266
+
1267
+ <th class="last">Description</th>
1268
+ </tr>
1269
+ </thead>
1270
+
1271
+ <tbody>
1272
+
1273
+
1274
+ <tr>
1275
+
1276
+ <td class="name"><code>seriesStack</code></td>
1277
+
1278
+
1279
+ <td class="type">
1280
+
1281
+
1282
+ <span class="param-type">Object</span>
1283
+
1284
+
1285
+
1286
+ </td>
1287
+
1288
+
1289
+
1290
+
1291
+
1292
+ <td class="description last"><p>The original series data object</p></td>
1293
+ </tr>
1294
+
1295
+
1296
+
1297
+ <tr>
1298
+
1299
+ <td class="name"><code>elementId</code></td>
1300
+
1301
+
1302
+ <td class="type">
1303
+
1304
+
1305
+ <span class="param-type">String</span>
1306
+
1307
+
1308
+
1309
+ </td>
1310
+
1311
+
1312
+
1313
+
1314
+
1315
+ <td class="description last"><p>The html div id used for rendering or its DOM HTMLElement</p></td>
1316
+ </tr>
1317
+
1318
+
1319
+
1320
+ <tr>
1321
+
1322
+ <td class="name"><code>defaultProps</code></td>
1323
+
1324
+
1325
+ <td class="type">
1326
+
1327
+
1328
+ <span class="param-type">Object</span>
1329
+
1330
+
1331
+
1332
+ </td>
1333
+
1334
+
1335
+
1336
+
1337
+
1338
+ <td class="description last"><p>Optional default props</p></td>
1339
+ </tr>
1340
+
1341
+
1342
+ </tbody>
1343
+ </table>
1344
+
1345
+
1346
+
1347
+
1348
+
1349
+
1350
+
1351
+
1352
+
1353
+
1354
+
1355
+
1356
+
1357
+
1358
+
1359
+
1360
+ <h5>Returns:</h5>
1361
+
1362
+
1363
+ <div class="param-desc">
1364
+ <p>Return a promise which will resolve when image is displayed</p>
1365
+ </div>
1366
+
1367
+
1368
+
1369
+ <dl class="param-type">
1370
+ <dt>
1371
+ Type
1372
+ </dt>
1373
+ <dd>
1374
+
1375
+ <span class="param-type">Promise</span>
1376
+
1377
+
1378
+ </dd>
1379
+ </dl>
1380
+
1381
+
1382
+
1383
+
1384
+
1385
+
1386
+
1387
+
1388
+
1389
+
1390
+ <h4 class="name" id="renderWebImage"><span class="type-signature"></span>renderWebImage<span class="signature">(file, elementId)</span><span class="type-signature"> &rarr; {Promise}</span></h4>
1391
+
1392
+
1393
+
1394
+
1395
+
1396
+
1397
+ <dl class="details">
1398
+
1399
+ <dt class="tag-description">Description:</dt>
1400
+ <dd class="tag-description"><ul class="dummy"><li><p>Render an image (png or jpg) from File on a html div using cornerstone</p></li></ul></dd>
1401
+
1402
+
1403
+
1404
+ <dt class="tag-source">Source:</dt>
1405
+ <dd class="tag-source"><ul class="dummy"><li>
1406
+ <a href="imageRendering.js.html">imageRendering.js</a>, <a href="imageRendering.js.html#line118">line 118</a>
1407
+ </li></ul></dd>
1408
+
1409
+
1410
+
1411
+
1412
+
1413
+
1414
+
1415
+
1416
+
1417
+
1418
+
1419
+
1420
+
1421
+
1422
+
1423
+
1424
+
1425
+
1426
+
1427
+
1428
+
1429
+
1430
+
1431
+
1432
+
1433
+
1434
+
1435
+
1436
+
1437
+
1438
+
1439
+ </dl>
1440
+
1441
+
1442
+
1443
+
1444
+
1445
+
1446
+
1447
+
1448
+
1449
+
1450
+
1451
+
1452
+
1453
+ <h5>Parameters:</h5>
1454
+
1455
+
1456
+ <table class="params">
1457
+ <thead>
1458
+ <tr>
1459
+
1460
+ <th>Name</th>
1461
+
1462
+
1463
+ <th>Type</th>
1464
+
1465
+
1466
+
1467
+
1468
+
1469
+ <th class="last">Description</th>
1470
+ </tr>
1471
+ </thead>
1472
+
1473
+ <tbody>
1474
+
1475
+
1476
+ <tr>
1477
+
1478
+ <td class="name"><code>file</code></td>
1479
+
1480
+
1481
+ <td class="type">
1482
+
1483
+
1484
+ <span class="param-type">Object</span>
1485
+
1486
+
1487
+
1488
+ </td>
1489
+
1490
+
1491
+
1492
+
1493
+
1494
+ <td class="description last"><p>The image File object</p></td>
1495
+ </tr>
1496
+
1497
+
1498
+
1499
+ <tr>
1500
+
1501
+ <td class="name"><code>elementId</code></td>
1502
+
1503
+
1504
+ <td class="type">
1505
+
1506
+
1507
+ <span class="param-type">String</span>
1508
+
1509
+
1510
+
1511
+ </td>
1512
+
1513
+
1514
+
1515
+
1516
+
1517
+ <td class="description last"><p>The html div id used for rendering or its DOM HTMLElement</p></td>
1518
+ </tr>
1519
+
1520
+
1521
+ </tbody>
1522
+ </table>
1523
+
1524
+
1525
+
1526
+
1527
+
1528
+
1529
+
1530
+
1531
+
1532
+
1533
+
1534
+
1535
+
1536
+
1537
+
1538
+
1539
+ <h5>Returns:</h5>
1540
+
1541
+
1542
+ <div class="param-desc">
1543
+ <ul>
1544
+ <li>Return a promise which will resolve when image is displayed</li>
1545
+ </ul>
1546
+ </div>
1547
+
1548
+
1549
+
1550
+ <dl class="param-type">
1551
+ <dt>
1552
+ Type
1553
+ </dt>
1554
+ <dd>
1555
+
1556
+ <span class="param-type">Promise</span>
1557
+
1558
+
1559
+ </dd>
1560
+ </dl>
1561
+
1562
+
1563
+
1564
+
1565
+
1566
+
1567
+
1568
+
1569
+
1570
+
1571
+ <h4 class="name" id="renderWebImage"><span class="type-signature"></span>renderWebImage<span class="signature">(url, elementId)</span><span class="type-signature"> &rarr; {Promise}</span></h4>
1572
+
1573
+
1574
+
1575
+
1576
+
1577
+
1578
+ <dl class="details">
1579
+
1580
+ <dt class="tag-description">Description:</dt>
1581
+ <dd class="tag-description"><ul class="dummy"><li><p>Render an image (png or jpg) from web url on a html div using cornerstone</p></li></ul></dd>
1582
+
1583
+
1584
+
1585
+ <dt class="tag-source">Source:</dt>
1586
+ <dd class="tag-source"><ul class="dummy"><li>
1587
+ <a href="imageRendering.js.html">imageRendering.js</a>, <a href="imageRendering.js.html#line158">line 158</a>
1588
+ </li></ul></dd>
1589
+
1590
+
1591
+
1592
+
1593
+
1594
+
1595
+
1596
+
1597
+
1598
+
1599
+
1600
+
1601
+
1602
+
1603
+
1604
+
1605
+
1606
+
1607
+
1608
+
1609
+
1610
+
1611
+
1612
+
1613
+
1614
+
1615
+
1616
+
1617
+
1618
+
1619
+
1620
+ </dl>
1621
+
1622
+
1623
+
1624
+
1625
+
1626
+
1627
+
1628
+
1629
+
1630
+
1631
+
1632
+
1633
+
1634
+ <h5>Parameters:</h5>
1635
+
1636
+
1637
+ <table class="params">
1638
+ <thead>
1639
+ <tr>
1640
+
1641
+ <th>Name</th>
1642
+
1643
+
1644
+ <th>Type</th>
1645
+
1646
+
1647
+
1648
+
1649
+
1650
+ <th class="last">Description</th>
1651
+ </tr>
1652
+ </thead>
1653
+
1654
+ <tbody>
1655
+
1656
+
1657
+ <tr>
1658
+
1659
+ <td class="name"><code>url</code></td>
1660
+
1661
+
1662
+ <td class="type">
1663
+
1664
+
1665
+ <span class="param-type">String</span>
1666
+
1667
+
1668
+
1669
+ </td>
1670
+
1671
+
1672
+
1673
+
1674
+
1675
+ <td class="description last"><p>The image data url</p></td>
1676
+ </tr>
1677
+
1678
+
1679
+
1680
+ <tr>
1681
+
1682
+ <td class="name"><code>elementId</code></td>
1683
+
1684
+
1685
+ <td class="type">
1686
+
1687
+
1688
+ <span class="param-type">String</span>
1689
+
1690
+
1691
+
1692
+ </td>
1693
+
1694
+
1695
+
1696
+
1697
+
1698
+ <td class="description last"><p>The html div id used for rendering or its DOM HTMLElement</p></td>
1699
+ </tr>
1700
+
1701
+
1702
+ </tbody>
1703
+ </table>
1704
+
1705
+
1706
+
1707
+
1708
+
1709
+
1710
+
1711
+
1712
+
1713
+
1714
+
1715
+
1716
+
1717
+
1718
+
1719
+
1720
+ <h5>Returns:</h5>
1721
+
1722
+
1723
+ <div class="param-desc">
1724
+ <ul>
1725
+ <li>Return a promise which will resolve when image is displayed</li>
1726
+ </ul>
1727
+ </div>
1728
+
1729
+
1730
+
1731
+ <dl class="param-type">
1732
+ <dt>
1733
+ Type
1734
+ </dt>
1735
+ <dd>
1736
+
1737
+ <span class="param-type">Promise</span>
1738
+
1739
+
1740
+ </dd>
1741
+ </dl>
1742
+
1743
+
1744
+
1745
+
1746
+
1747
+
1748
+
1749
+
1750
+
1751
+
1752
+ <h4 class="name" id="resetViewports"><span class="type-signature"></span>resetViewports<span class="signature">(elementIds)</span><span class="type-signature"></span></h4>
1753
+
1754
+
1755
+
1756
+
1757
+
1758
+
1759
+ <dl class="details">
1760
+
1761
+ <dt class="tag-description">Description:</dt>
1762
+ <dd class="tag-description"><ul class="dummy"><li><p>Reset viewport values (scale, translation and wwwc)</p></li></ul></dd>
1763
+
1764
+
1765
+
1766
+ <dt class="tag-source">Source:</dt>
1767
+ <dd class="tag-source"><ul class="dummy"><li>
1768
+ <a href="imageRendering.js.html">imageRendering.js</a>, <a href="imageRendering.js.html#line402">line 402</a>
1769
+ </li></ul></dd>
1770
+
1771
+
1772
+
1773
+
1774
+
1775
+
1776
+
1777
+
1778
+
1779
+
1780
+
1781
+
1782
+
1783
+
1784
+
1785
+
1786
+
1787
+
1788
+
1789
+
1790
+
1791
+
1792
+
1793
+
1794
+
1795
+
1796
+
1797
+
1798
+
1799
+
1800
+
1801
+ </dl>
1802
+
1803
+
1804
+
1805
+
1806
+
1807
+
1808
+
1809
+
1810
+
1811
+
1812
+
1813
+
1814
+
1815
+ <h5>Parameters:</h5>
1816
+
1817
+
1818
+ <table class="params">
1819
+ <thead>
1820
+ <tr>
1821
+
1822
+ <th>Name</th>
1823
+
1824
+
1825
+ <th>Type</th>
1826
+
1827
+
1828
+
1829
+
1830
+
1831
+ <th class="last">Description</th>
1832
+ </tr>
1833
+ </thead>
1834
+
1835
+ <tbody>
1836
+
1837
+
1838
+ <tr>
1839
+
1840
+ <td class="name"><code>elementIds</code></td>
1841
+
1842
+
1843
+ <td class="type">
1844
+
1845
+
1846
+ <span class="param-type">Array</span>
1847
+
1848
+
1849
+
1850
+ </td>
1851
+
1852
+
1853
+
1854
+
1855
+
1856
+ <td class="description last"><p>The array of hmtl div ids</p></td>
1857
+ </tr>
1858
+
1859
+
1860
+ </tbody>
1861
+ </table>
1862
+
1863
+
1864
+
1865
+
1866
+
1867
+
1868
+
1869
+
1870
+
1871
+
1872
+
1873
+
1874
+
1875
+
1876
+
1877
+
1878
+
1879
+
1880
+
1881
+
1882
+
1883
+
1884
+
1885
+
1886
+ <h4 class="name" id="resizeViewport"><span class="type-signature"></span>resizeViewport<span class="signature">(elementId)</span><span class="type-signature"></span></h4>
1887
+
1888
+
1889
+
1890
+
1891
+
1892
+
1893
+ <dl class="details">
1894
+
1895
+ <dt class="tag-description">Description:</dt>
1896
+ <dd class="tag-description"><ul class="dummy"><li><p>Resize a viewport using cornerstone resize<br>
1897
+ And forcing fit to window</p></li></ul></dd>
1898
+
1899
+
1900
+
1901
+ <dt class="tag-source">Source:</dt>
1902
+ <dd class="tag-source"><ul class="dummy"><li>
1903
+ <a href="imageRendering.js.html">imageRendering.js</a>, <a href="imageRendering.js.html#line227">line 227</a>
1904
+ </li></ul></dd>
1905
+
1906
+
1907
+
1908
+
1909
+
1910
+
1911
+
1912
+
1913
+
1914
+
1915
+
1916
+
1917
+
1918
+
1919
+
1920
+
1921
+
1922
+
1923
+
1924
+
1925
+
1926
+
1927
+
1928
+
1929
+
1930
+
1931
+
1932
+
1933
+
1934
+
1935
+
1936
+ </dl>
1937
+
1938
+
1939
+
1940
+
1941
+
1942
+
1943
+
1944
+
1945
+
1946
+
1947
+
1948
+
1949
+
1950
+ <h5>Parameters:</h5>
1951
+
1952
+
1953
+ <table class="params">
1954
+ <thead>
1955
+ <tr>
1956
+
1957
+ <th>Name</th>
1958
+
1959
+
1960
+ <th>Type</th>
1961
+
1962
+
1963
+
1964
+
1965
+
1966
+ <th class="last">Description</th>
1967
+ </tr>
1968
+ </thead>
1969
+
1970
+ <tbody>
1971
+
1972
+
1973
+ <tr>
1974
+
1975
+ <td class="name"><code>elementId</code></td>
1976
+
1977
+
1978
+ <td class="type">
1979
+
1980
+
1981
+ <span class="param-type">String</span>
1982
+
1983
+
1984
+
1985
+ </td>
1986
+
1987
+
1988
+
1989
+
1990
+
1991
+ <td class="description last"><p>The html div id used for rendering or its DOM HTMLElement</p></td>
1992
+ </tr>
1993
+
1994
+
1995
+ </tbody>
1996
+ </table>
1997
+
1998
+
1999
+
2000
+
2001
+
2002
+
2003
+
2004
+
2005
+
2006
+
2007
+
2008
+
2009
+
2010
+
2011
+
2012
+
2013
+
2014
+
2015
+
2016
+
2017
+
2018
+
2019
+
2020
+
2021
+ <h4 class="name" id="rotateImageLeft"><span class="type-signature"></span>rotateImageLeft<span class="signature">(elementId)</span><span class="type-signature"></span></h4>
2022
+
2023
+
2024
+
2025
+
2026
+
2027
+
2028
+ <dl class="details">
2029
+
2030
+ <dt class="tag-description">Description:</dt>
2031
+ <dd class="tag-description"><ul class="dummy"><li><p>Rotate image by 90° in left direction</p></li></ul></dd>
2032
+
2033
+
2034
+
2035
+ <dt class="tag-source">Source:</dt>
2036
+ <dd class="tag-source"><ul class="dummy"><li>
2037
+ <a href="imageRendering.js.html">imageRendering.js</a>, <a href="imageRendering.js.html#line650">line 650</a>
2038
+ </li></ul></dd>
2039
+
2040
+
2041
+
2042
+
2043
+
2044
+
2045
+
2046
+
2047
+
2048
+
2049
+
2050
+
2051
+
2052
+
2053
+
2054
+
2055
+
2056
+
2057
+
2058
+
2059
+
2060
+
2061
+
2062
+
2063
+
2064
+
2065
+
2066
+
2067
+
2068
+
2069
+
2070
+ </dl>
2071
+
2072
+
2073
+
2074
+
2075
+
2076
+
2077
+
2078
+
2079
+
2080
+
2081
+
2082
+
2083
+
2084
+ <h5>Parameters:</h5>
2085
+
2086
+
2087
+ <table class="params">
2088
+ <thead>
2089
+ <tr>
2090
+
2091
+ <th>Name</th>
2092
+
2093
+
2094
+ <th>Type</th>
2095
+
2096
+
2097
+
2098
+
2099
+
2100
+ <th class="last">Description</th>
2101
+ </tr>
2102
+ </thead>
2103
+
2104
+ <tbody>
2105
+
2106
+
2107
+ <tr>
2108
+
2109
+ <td class="name"><code>elementId</code></td>
2110
+
2111
+
2112
+ <td class="type">
2113
+
2114
+
2115
+ <span class="param-type">Object</span>
2116
+
2117
+
2118
+
2119
+ </td>
2120
+
2121
+
2122
+
2123
+
2124
+
2125
+ <td class="description last"><p>The html div id used for rendering or its DOM HTMLElement</p></td>
2126
+ </tr>
2127
+
2128
+
2129
+ </tbody>
2130
+ </table>
2131
+
2132
+
2133
+
2134
+
2135
+
2136
+
2137
+
2138
+
2139
+
2140
+
2141
+
2142
+
2143
+
2144
+
2145
+
2146
+
2147
+
2148
+
2149
+
2150
+
2151
+
2152
+
2153
+
2154
+
2155
+ <h4 class="name" id="rotateImageRight"><span class="type-signature"></span>rotateImageRight<span class="signature">(elementId)</span><span class="type-signature"></span></h4>
2156
+
2157
+
2158
+
2159
+
2160
+
2161
+
2162
+ <dl class="details">
2163
+
2164
+ <dt class="tag-description">Description:</dt>
2165
+ <dd class="tag-description"><ul class="dummy"><li><p>Rotate image by 90° in right direction</p></li></ul></dd>
2166
+
2167
+
2168
+
2169
+ <dt class="tag-source">Source:</dt>
2170
+ <dd class="tag-source"><ul class="dummy"><li>
2171
+ <a href="imageRendering.js.html">imageRendering.js</a>, <a href="imageRendering.js.html#line669">line 669</a>
2172
+ </li></ul></dd>
2173
+
2174
+
2175
+
2176
+
2177
+
2178
+
2179
+
2180
+
2181
+
2182
+
2183
+
2184
+
2185
+
2186
+
2187
+
2188
+
2189
+
2190
+
2191
+
2192
+
2193
+
2194
+
2195
+
2196
+
2197
+
2198
+
2199
+
2200
+
2201
+
2202
+
2203
+
2204
+ </dl>
2205
+
2206
+
2207
+
2208
+
2209
+
2210
+
2211
+
2212
+
2213
+
2214
+
2215
+
2216
+
2217
+
2218
+ <h5>Parameters:</h5>
2219
+
2220
+
2221
+ <table class="params">
2222
+ <thead>
2223
+ <tr>
2224
+
2225
+ <th>Name</th>
2226
+
2227
+
2228
+ <th>Type</th>
2229
+
2230
+
2231
+
2232
+
2233
+
2234
+ <th class="last">Description</th>
2235
+ </tr>
2236
+ </thead>
2237
+
2238
+ <tbody>
2239
+
2240
+
2241
+ <tr>
2242
+
2243
+ <td class="name"><code>elementId</code></td>
2244
+
2245
+
2246
+ <td class="type">
2247
+
2248
+
2249
+ <span class="param-type">Object</span>
2250
+
2251
+
2252
+
2253
+ </td>
2254
+
2255
+
2256
+
2257
+
2258
+
2259
+ <td class="description last"><p>The html div id used for rendering or its DOM HTMLElement</p></td>
2260
+ </tr>
2261
+
2262
+
2263
+ </tbody>
2264
+ </table>
2265
+
2266
+
2267
+
2268
+
2269
+
2270
+
2271
+
2272
+
2273
+
2274
+
2275
+
2276
+
2277
+
2278
+
2279
+
2280
+
2281
+
2282
+
2283
+
2284
+
2285
+
2286
+
2287
+
2288
+
2289
+ <h4 class="name" id="storeViewportData"><span class="type-signature"></span>storeViewportData<span class="signature">(image, elementId, imageIndex, numberOfSlices, rows, cols, spacing_x, spacing_y, thickness, viewport, defaultWW, defaultWC)</span><span class="type-signature"></span></h4>
2290
+
2291
+
2292
+
2293
+
2294
+
2295
+
2296
+ <dl class="details">
2297
+
2298
+ <dt class="tag-description">Description:</dt>
2299
+ <dd class="tag-description"><ul class="dummy"><li><p>Store the viewport data into internal storage</p></li></ul></dd>
2300
+
2301
+
2302
+
2303
+ <dt class="tag-source">Source:</dt>
2304
+ <dd class="tag-source"><ul class="dummy"><li>
2305
+ <a href="imageRendering.js.html">imageRendering.js</a>, <a href="imageRendering.js.html#line531">line 531</a>
2306
+ </li></ul></dd>
2307
+
2308
+
2309
+
2310
+
2311
+
2312
+
2313
+
2314
+
2315
+
2316
+
2317
+
2318
+
2319
+
2320
+
2321
+
2322
+
2323
+
2324
+
2325
+
2326
+
2327
+
2328
+
2329
+
2330
+
2331
+
2332
+
2333
+
2334
+
2335
+
2336
+
2337
+
2338
+ </dl>
2339
+
2340
+
2341
+
2342
+
2343
+
2344
+
2345
+
2346
+
2347
+
2348
+
2349
+
2350
+
2351
+
2352
+ <h5>Parameters:</h5>
2353
+
2354
+
2355
+ <table class="params">
2356
+ <thead>
2357
+ <tr>
2358
+
2359
+ <th>Name</th>
2360
+
2361
+
2362
+ <th>Type</th>
2363
+
2364
+
2365
+
2366
+
2367
+
2368
+ <th class="last">Description</th>
2369
+ </tr>
2370
+ </thead>
2371
+
2372
+ <tbody>
2373
+
2374
+
2375
+ <tr>
2376
+
2377
+ <td class="name"><code>image</code></td>
2378
+
2379
+
2380
+ <td class="type">
2381
+
2382
+
2383
+ <span class="param-type">Object</span>
2384
+
2385
+
2386
+
2387
+ </td>
2388
+
2389
+
2390
+
2391
+
2392
+
2393
+ <td class="description last"><p>The cornerstone image frame</p></td>
2394
+ </tr>
2395
+
2396
+
2397
+
2398
+ <tr>
2399
+
2400
+ <td class="name"><code>elementId</code></td>
2401
+
2402
+
2403
+ <td class="type">
2404
+
2405
+
2406
+ <span class="param-type">String</span>
2407
+
2408
+
2409
+
2410
+ </td>
2411
+
2412
+
2413
+
2414
+
2415
+
2416
+ <td class="description last"><p>The html div id used for rendering</p></td>
2417
+ </tr>
2418
+
2419
+
2420
+
2421
+ <tr>
2422
+
2423
+ <td class="name"><code>imageIndex</code></td>
2424
+
2425
+
2426
+ <td class="type">
2427
+
2428
+
2429
+ <span class="param-type">Number</span>
2430
+
2431
+
2432
+
2433
+ </td>
2434
+
2435
+
2436
+
2437
+
2438
+
2439
+ <td class="description last"><p>The index of the image</p></td>
2440
+ </tr>
2441
+
2442
+
2443
+
2444
+ <tr>
2445
+
2446
+ <td class="name"><code>numberOfSlices</code></td>
2447
+
2448
+
2449
+ <td class="type">
2450
+
2451
+
2452
+ <span class="param-type">Number</span>
2453
+
2454
+
2455
+
2456
+ </td>
2457
+
2458
+
2459
+
2460
+
2461
+
2462
+ <td class="description last"><p>The number of slices of the series</p></td>
2463
+ </tr>
2464
+
2465
+
2466
+
2467
+ <tr>
2468
+
2469
+ <td class="name"><code>rows</code></td>
2470
+
2471
+
2472
+ <td class="type">
2473
+
2474
+
2475
+ <span class="param-type">Number</span>
2476
+
2477
+
2478
+
2479
+ </td>
2480
+
2481
+
2482
+
2483
+
2484
+
2485
+ <td class="description last"><p>The number of rows of the image</p></td>
2486
+ </tr>
2487
+
2488
+
2489
+
2490
+ <tr>
2491
+
2492
+ <td class="name"><code>cols</code></td>
2493
+
2494
+
2495
+ <td class="type">
2496
+
2497
+
2498
+ <span class="param-type">Number</span>
2499
+
2500
+
2501
+
2502
+ </td>
2503
+
2504
+
2505
+
2506
+
2507
+
2508
+ <td class="description last"><p>The number of columns of the image</p></td>
2509
+ </tr>
2510
+
2511
+
2512
+
2513
+ <tr>
2514
+
2515
+ <td class="name"><code>spacing_x</code></td>
2516
+
2517
+
2518
+ <td class="type">
2519
+
2520
+
2521
+ <span class="param-type">Number</span>
2522
+
2523
+
2524
+
2525
+ </td>
2526
+
2527
+
2528
+
2529
+
2530
+
2531
+ <td class="description last"><p>The spacing value for x axis</p></td>
2532
+ </tr>
2533
+
2534
+
2535
+
2536
+ <tr>
2537
+
2538
+ <td class="name"><code>spacing_y</code></td>
2539
+
2540
+
2541
+ <td class="type">
2542
+
2543
+
2544
+ <span class="param-type">Number</span>
2545
+
2546
+
2547
+
2548
+ </td>
2549
+
2550
+
2551
+
2552
+
2553
+
2554
+ <td class="description last"><p>The spacing value for y direction</p></td>
2555
+ </tr>
2556
+
2557
+
2558
+
2559
+ <tr>
2560
+
2561
+ <td class="name"><code>thickness</code></td>
2562
+
2563
+
2564
+ <td class="type">
2565
+
2566
+
2567
+ <span class="param-type">Number</span>
2568
+
2569
+
2570
+
2571
+ </td>
2572
+
2573
+
2574
+
2575
+
2576
+
2577
+ <td class="description last"><p>The thickness value between slices</p></td>
2578
+ </tr>
2579
+
2580
+
2581
+
2582
+ <tr>
2583
+
2584
+ <td class="name"><code>viewport</code></td>
2585
+
2586
+
2587
+ <td class="type">
2588
+
2589
+
2590
+ <span class="param-type">String</span>
2591
+
2592
+
2593
+
2594
+ </td>
2595
+
2596
+
2597
+
2598
+
2599
+
2600
+ <td class="description last"><p>The viewport tag name</p></td>
2601
+ </tr>
2602
+
2603
+
2604
+
2605
+ <tr>
2606
+
2607
+ <td class="name"><code>defaultWW</code></td>
2608
+
2609
+
2610
+ <td class="type">
2611
+
2612
+
2613
+ <span class="param-type">Number</span>
2614
+
2615
+
2616
+
2617
+ </td>
2618
+
2619
+
2620
+
2621
+
2622
+
2623
+ <td class="description last"><p>The default WW value</p></td>
2624
+ </tr>
2625
+
2626
+
2627
+
2628
+ <tr>
2629
+
2630
+ <td class="name"><code>defaultWC</code></td>
2631
+
2632
+
2633
+ <td class="type">
2634
+
2635
+
2636
+ <span class="param-type">Number</span>
2637
+
2638
+
2639
+
2640
+ </td>
2641
+
2642
+
2643
+
2644
+
2645
+
2646
+ <td class="description last"><p>The default WC value</p></td>
2647
+ </tr>
2648
+
2649
+
2650
+ </tbody>
2651
+ </table>
2652
+
2653
+
2654
+
2655
+
2656
+
2657
+
2658
+
2659
+
2660
+
2661
+
2662
+
2663
+
2664
+
2665
+
2666
+
2667
+
2668
+
2669
+
2670
+
2671
+
2672
+
2673
+
2674
+
2675
+
2676
+ <h4 class="name" id="unloadViewport"><span class="type-signature"></span>unloadViewport<span class="signature">(elementId, seriesId)</span><span class="type-signature"></span></h4>
2677
+
2678
+
2679
+
2680
+
2681
+
2682
+
2683
+ <dl class="details">
2684
+
2685
+ <dt class="tag-description">Description:</dt>
2686
+ <dd class="tag-description"><ul class="dummy"><li><p>Unrender an image on a html div using cornerstone<br>
2687
+ Remove image from cornerstone cache and remove from store</p></li></ul></dd>
2688
+
2689
+
2690
+
2691
+ <dt class="tag-source">Source:</dt>
2692
+ <dd class="tag-source"><ul class="dummy"><li>
2693
+ <a href="imageRendering.js.html">imageRendering.js</a>, <a href="imageRendering.js.html#line204">line 204</a>
2694
+ </li></ul></dd>
2695
+
2696
+
2697
+
2698
+
2699
+
2700
+
2701
+
2702
+
2703
+
2704
+
2705
+
2706
+
2707
+
2708
+
2709
+
2710
+
2711
+
2712
+
2713
+
2714
+
2715
+
2716
+
2717
+
2718
+
2719
+
2720
+
2721
+
2722
+
2723
+
2724
+
2725
+
2726
+ </dl>
2727
+
2728
+
2729
+
2730
+
2731
+
2732
+
2733
+
2734
+
2735
+
2736
+
2737
+
2738
+
2739
+
2740
+ <h5>Parameters:</h5>
2741
+
2742
+
2743
+ <table class="params">
2744
+ <thead>
2745
+ <tr>
2746
+
2747
+ <th>Name</th>
2748
+
2749
+
2750
+ <th>Type</th>
2751
+
2752
+
2753
+
2754
+
2755
+
2756
+ <th class="last">Description</th>
2757
+ </tr>
2758
+ </thead>
2759
+
2760
+ <tbody>
2761
+
2762
+
2763
+ <tr>
2764
+
2765
+ <td class="name"><code>elementId</code></td>
2766
+
2767
+
2768
+ <td class="type">
2769
+
2770
+
2771
+ <span class="param-type">String</span>
2772
+
2773
+
2774
+
2775
+ </td>
2776
+
2777
+
2778
+
2779
+
2780
+
2781
+ <td class="description last"><p>The html div id used for rendering or its DOM HTMLElement</p></td>
2782
+ </tr>
2783
+
2784
+
2785
+
2786
+ <tr>
2787
+
2788
+ <td class="name"><code>seriesId</code></td>
2789
+
2790
+
2791
+ <td class="type">
2792
+
2793
+
2794
+ <span class="param-type">String</span>
2795
+
2796
+
2797
+
2798
+ </td>
2799
+
2800
+
2801
+
2802
+
2803
+
2804
+ <td class="description last"><p>The id of the serie</p></td>
2805
+ </tr>
2806
+
2807
+
2808
+ </tbody>
2809
+ </table>
2810
+
2811
+
2812
+
2813
+
2814
+
2815
+
2816
+
2817
+
2818
+
2819
+
2820
+
2821
+
2822
+
2823
+
2824
+
2825
+
2826
+
2827
+
2828
+
2829
+
2830
+
2831
+
2832
+
2833
+
2834
+ <h4 class="name" id="updateImage"><span class="type-signature"></span>updateImage<span class="signature">(series, elementId, imageIndex, cacheImage)</span><span class="type-signature"></span></h4>
2835
+
2836
+
2837
+
2838
+
2839
+
2840
+
2841
+ <dl class="details">
2842
+
2843
+ <dt class="tag-description">Description:</dt>
2844
+ <dd class="tag-description"><ul class="dummy"><li><p>Update the cornerstone image with new imageIndex</p></li></ul></dd>
2845
+
2846
+
2847
+
2848
+ <dt class="tag-source">Source:</dt>
2849
+ <dd class="tag-source"><ul class="dummy"><li>
2850
+ <a href="imageRendering.js.html">imageRendering.js</a>, <a href="imageRendering.js.html#line366">line 366</a>
2851
+ </li></ul></dd>
2852
+
2853
+
2854
+
2855
+
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
+
2881
+
2882
+
2883
+ </dl>
2884
+
2885
+
2886
+
2887
+
2888
+
2889
+
2890
+
2891
+
2892
+
2893
+
2894
+
2895
+
2896
+
2897
+ <h5>Parameters:</h5>
2898
+
2899
+
2900
+ <table class="params">
2901
+ <thead>
2902
+ <tr>
2903
+
2904
+ <th>Name</th>
2905
+
2906
+
2907
+ <th>Type</th>
2908
+
2909
+
2910
+
2911
+
2912
+
2913
+ <th class="last">Description</th>
2914
+ </tr>
2915
+ </thead>
2916
+
2917
+ <tbody>
2918
+
2919
+
2920
+ <tr>
2921
+
2922
+ <td class="name"><code>series</code></td>
2923
+
2924
+
2925
+ <td class="type">
2926
+
2927
+
2928
+ <span class="param-type">Object</span>
2929
+
2930
+
2931
+
2932
+ </td>
2933
+
2934
+
2935
+
2936
+
2937
+
2938
+ <td class="description last"><p>The original series data object</p></td>
2939
+ </tr>
2940
+
2941
+
2942
+
2943
+ <tr>
2944
+
2945
+ <td class="name"><code>elementId</code></td>
2946
+
2947
+
2948
+ <td class="type">
2949
+
2950
+
2951
+ <span class="param-type">String</span>
2952
+
2953
+
2954
+
2955
+ </td>
2956
+
2957
+
2958
+
2959
+
2960
+
2961
+ <td class="description last"><p>The html div id used for rendering or its DOM HTMLElement</p></td>
2962
+ </tr>
2963
+
2964
+
2965
+
2966
+ <tr>
2967
+
2968
+ <td class="name"><code>imageIndex</code></td>
2969
+
2970
+
2971
+ <td class="type">
2972
+
2973
+
2974
+ <span class="param-type">Number</span>
2975
+
2976
+
2977
+
2978
+ </td>
2979
+
2980
+
2981
+
2982
+
2983
+
2984
+ <td class="description last"><p>The index of the image to be rendered</p></td>
2985
+ </tr>
2986
+
2987
+
2988
+
2989
+ <tr>
2990
+
2991
+ <td class="name"><code>cacheImage</code></td>
2992
+
2993
+
2994
+ <td class="type">
2995
+
2996
+
2997
+ <span class="param-type">Boolean</span>
2998
+
2999
+
3000
+
3001
+ </td>
3002
+
3003
+
3004
+
3005
+
3006
+
3007
+ <td class="description last"><p>A flag to handle image cache</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="updateViewportData"><span class="type-signature"></span>updateViewportData<span class="signature">(elementId, viewportData)</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>Update viewport data in store</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="imageRendering.js.html">imageRendering.js</a>, <a href="imageRendering.js.html#line481">line 481</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 html div id used for rendering or its DOM HTMLElement</p></td>
3142
+ </tr>
3143
+
3144
+
3145
+
3146
+ <tr>
3147
+
3148
+ <td class="name"><code>viewportData</code></td>
3149
+
3150
+
3151
+ <td class="type">
3152
+
3153
+
3154
+ <span class="param-type">Object</span>
3155
+
3156
+
3157
+
3158
+ </td>
3159
+
3160
+
3161
+
3162
+
3163
+
3164
+ <td class="description last"><p>The new viewport data</p></td>
3165
+ </tr>
3166
+
3167
+
3168
+ </tbody>
3169
+ </table>
3170
+
3171
+
3172
+
3173
+
3174
+
3175
+
3176
+
3177
+
3178
+
3179
+
3180
+
3181
+
3182
+
3183
+
3184
+
3185
+
3186
+
3187
+
3188
+
3189
+
3190
+
3191
+
3192
+
3193
+
3194
+
3195
+ </article>
3196
+
3197
+ </section>
3198
+
3199
+
3200
+
3201
+
3202
+
3203
+
3204
+ </div>
3205
+
3206
+ <br class="clear">
3207
+
3208
+ <footer>
3209
+ 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.
3210
+ </footer>
3211
+
3212
+ <script>prettyPrint();</script>
3213
+ <script src="scripts/polyfill.js"></script>
3214
+ <script src="scripts/linenumber.js"></script>
3215
+
3216
+ <script src="scripts/search.js" defer></script>
3217
+
3218
+
3219
+ <script src="scripts/collapse.js" defer></script>
3220
+
3221
+
3222
+ </body>
3223
+ </html>