larvitar 1.2.0 → 1.2.1
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.
- package/.github/workflows/build-docs.yml +1 -1
- package/.github/workflows/deploy.yml +4 -4
- package/README.md +3 -3
- package/modules/vuex/larvitar.js +1 -0
- package/package.json +1 -1
- package/docs/documentation/Mixins.polygonSegmentationMixin%20-%20segmentation%20operations%20for%20polyline.html +0 -171
- package/docs/documentation/Tools.Annotation.ContoursTool.html +0 -218
- package/docs/documentation/Tools.Annotation.DiameterTool.html +0 -219
- package/docs/documentation/Tools.Annotation.SeedsTool.html +0 -214
- package/docs/documentation/Tools.Brush.BrushTool.html +0 -218
- package/docs/documentation/Tools.Brush.ThresholdsBrushTool.html +0 -218
- package/docs/documentation/Tools.PolylineScissorsTool.html +0 -218
- package/docs/documentation/fonts/Montserrat/Montserrat-Bold.eot +0 -0
- package/docs/documentation/fonts/Montserrat/Montserrat-Bold.ttf +0 -0
- package/docs/documentation/fonts/Montserrat/Montserrat-Bold.woff +0 -0
- package/docs/documentation/fonts/Montserrat/Montserrat-Bold.woff2 +0 -0
- package/docs/documentation/fonts/Montserrat/Montserrat-Regular.eot +0 -0
- package/docs/documentation/fonts/Montserrat/Montserrat-Regular.ttf +0 -0
- package/docs/documentation/fonts/Montserrat/Montserrat-Regular.woff +0 -0
- package/docs/documentation/fonts/Montserrat/Montserrat-Regular.woff2 +0 -0
- package/docs/documentation/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.eot +0 -0
- package/docs/documentation/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.svg +0 -978
- package/docs/documentation/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.ttf +0 -0
- package/docs/documentation/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff +0 -0
- package/docs/documentation/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff2 +0 -0
- package/docs/documentation/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.eot +0 -0
- package/docs/documentation/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.svg +0 -1049
- package/docs/documentation/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.ttf +0 -0
- package/docs/documentation/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff +0 -0
- package/docs/documentation/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff2 +0 -0
- package/docs/documentation/global.html +0 -1303
- package/docs/documentation/imageAnonymization.js.html +0 -245
- package/docs/documentation/imageColormaps.js.html +0 -283
- package/docs/documentation/imageContours.js.html +0 -278
- package/docs/documentation/imageIo.js.html +0 -291
- package/docs/documentation/imageLayers.js.html +0 -188
- package/docs/documentation/imageLoading.js.html +0 -297
- package/docs/documentation/imageParsing.js.html +0 -385
- package/docs/documentation/imagePresets.js.html +0 -207
- package/docs/documentation/imageRendering.js.html +0 -849
- package/docs/documentation/imageReslice.js.html +0 -162
- package/docs/documentation/imageStore.js.html +0 -360
- package/docs/documentation/imageTools.js.html +0 -784
- package/docs/documentation/imageUtils.js.html +0 -1609
- package/docs/documentation/image_colormaps.js.html +0 -283
- package/docs/documentation/image_contours.js.html +0 -279
- package/docs/documentation/image_io.js.html +0 -288
- package/docs/documentation/image_layers.js.html +0 -188
- package/docs/documentation/image_loading.js.html +0 -294
- package/docs/documentation/image_parsing.js.html +0 -391
- package/docs/documentation/image_presets.js.html +0 -207
- package/docs/documentation/image_rendering.js.html +0 -845
- package/docs/documentation/image_reslice.js.html +0 -164
- package/docs/documentation/image_store.js.html +0 -359
- package/docs/documentation/image_tools.js.html +0 -792
- package/docs/documentation/image_utils.js.html +0 -1609
- package/docs/documentation/index.html +0 -175
- package/docs/documentation/loaders_commonLoader.js.html +0 -306
- package/docs/documentation/loaders_dicomLoader.js.html +0 -130
- package/docs/documentation/loaders_fileLoader.js.html +0 -155
- package/docs/documentation/loaders_multiframeLoader.js.html +0 -443
- package/docs/documentation/loaders_niftiLoader.js.html +0 -150
- package/docs/documentation/loaders_nrrdLoader.js.html +0 -545
- package/docs/documentation/loaders_resliceLoader.js.html +0 -258
- package/docs/documentation/module-imaging_contours.html +0 -954
- package/docs/documentation/module-imaging_imageAnonymization.html +0 -544
- package/docs/documentation/module-imaging_imageColormaps.html +0 -1012
- package/docs/documentation/module-imaging_imageContours.html +0 -954
- package/docs/documentation/module-imaging_imageIo.html +0 -1057
- package/docs/documentation/module-imaging_imageLayers.html +0 -904
- package/docs/documentation/module-imaging_imageLoading.html +0 -1301
- package/docs/documentation/module-imaging_imageParsing.html +0 -1356
- package/docs/documentation/module-imaging_imagePresets.html +0 -679
- package/docs/documentation/module-imaging_imageRendering.html +0 -3223
- package/docs/documentation/module-imaging_imageReslice.html +0 -413
- package/docs/documentation/module-imaging_imageStore-Larvitar_Store.html +0 -284
- package/docs/documentation/module-imaging_imageStore.html +0 -1560
- package/docs/documentation/module-imaging_imageTools.html +0 -3617
- package/docs/documentation/module-imaging_imageUtils.html +0 -7253
- package/docs/documentation/module-imaging_io.html +0 -1057
- package/docs/documentation/module-imaging_layers.html +0 -904
- package/docs/documentation/module-imaging_loading.html +0 -1301
- package/docs/documentation/module-imaging_parsing.html +0 -1375
- package/docs/documentation/module-imaging_presets.html +0 -679
- package/docs/documentation/module-imaging_rendering.html +0 -8094
- package/docs/documentation/module-imaging_reslice.html +0 -411
- package/docs/documentation/module-imaging_store-Larvitar_Store.html +0 -284
- package/docs/documentation/module-imaging_store.html +0 -1537
- package/docs/documentation/module-imaging_strategies_eraseFreehand.html +0 -708
- package/docs/documentation/module-imaging_strategies_fillFreehand.html +0 -708
- package/docs/documentation/module-imaging_tools.html +0 -3617
- package/docs/documentation/module-imaging_tools_custom_contourTool.html +0 -207
- package/docs/documentation/module-imaging_tools_custom_diameterTool.html +0 -205
- package/docs/documentation/module-imaging_tools_custom_editMaskTool.html +0 -205
- package/docs/documentation/module-imaging_tools_custom_polygonScissorsTool.html +0 -203
- package/docs/documentation/module-imaging_tools_custom_thresholdBrushTool.html +0 -684
- package/docs/documentation/module-imaging_tools_default.html +0 -205
- package/docs/documentation/module-imaging_tools_interaction.html +0 -530
- package/docs/documentation/module-imaging_tools_io.html +0 -832
- package/docs/documentation/module-imaging_tools_main.html +0 -2028
- package/docs/documentation/module-imaging_tools_polygonSegmentationMixin.html +0 -567
- package/docs/documentation/module-imaging_tools_segmentation.html +0 -3586
- package/docs/documentation/module-imaging_tools_state.html +0 -494
- package/docs/documentation/module-imaging_utils.html +0 -7253
- package/docs/documentation/module-loaders_commonLoader.html +0 -1313
- package/docs/documentation/module-loaders_dicomLoader.html +0 -522
- package/docs/documentation/module-loaders_fileLoader.html +0 -593
- package/docs/documentation/module-loaders_multiframeLoader.html +0 -1169
- package/docs/documentation/module-loaders_niftiLoader.html +0 -565
- package/docs/documentation/module-loaders_nrrdLoader.html +0 -1459
- package/docs/documentation/module-loaders_resliceLoader.html +0 -590
- package/docs/documentation/module-monitors_memory.html +0 -980
- package/docs/documentation/module-tools_default.html +0 -740
- package/docs/documentation/module.exports_module.exports.html +0 -203
- package/docs/documentation/monitors_memory.js.html +0 -189
- package/docs/documentation/parsers_nrrd.js.html +0 -569
- package/docs/documentation/scripts/collapse.js +0 -20
- package/docs/documentation/scripts/linenumber.js +0 -25
- package/docs/documentation/scripts/nav.js +0 -12
- package/docs/documentation/scripts/polyfill.js +0 -4
- package/docs/documentation/scripts/prettify/Apache-License-2.0.txt +0 -202
- package/docs/documentation/scripts/prettify/lang-css.js +0 -2
- package/docs/documentation/scripts/prettify/prettify.js +0 -28
- package/docs/documentation/scripts/search.js +0 -83
- package/docs/documentation/styles/jsdoc.css +0 -765
- package/docs/documentation/styles/prettify.css +0 -80
- package/docs/documentation/tools_contourTool.js.html +0 -1963
- package/docs/documentation/tools_custom_contourTool.js.html +0 -1968
- package/docs/documentation/tools_custom_diameterTool.js.html +0 -225
- package/docs/documentation/tools_custom_editMaskTool.js.html +0 -225
- package/docs/documentation/tools_custom_polylineScissorsTool.js.html +0 -143
- package/docs/documentation/tools_custom_thresholdsBrushTool.js.html +0 -245
- package/docs/documentation/tools_default.js.html +0 -576
- package/docs/documentation/tools_diameterTool.js.html +0 -219
- package/docs/documentation/tools_editMaskTool.js.html +0 -219
- package/docs/documentation/tools_interaction.js.html +0 -258
- package/docs/documentation/tools_io.js.html +0 -297
- package/docs/documentation/tools_main.js.html +0 -443
- package/docs/documentation/tools_polygonSegmentationMixin.js.html +0 -329
- package/docs/documentation/tools_polylineScissorsTool.js.html +0 -136
- package/docs/documentation/tools_seedTool.js.html +0 -423
- package/docs/documentation/tools_segmentation.js.html +0 -558
- package/docs/documentation/tools_state.js.html +0 -163
- package/docs/documentation/tools_strategies_eraseFreehand.js.html +0 -160
- package/docs/documentation/tools_strategies_fillFreehand.js.html +0 -163
- package/docs/documentation/tools_thresholdsBrushTool.js.html +0 -239
- package/docs/documentation/tools_tools.default.js.html +0 -569
- package/docs/documentation/tools_tools.interaction.js.html +0 -251
- package/docs/documentation/tools_tools.io.js.html +0 -288
- package/docs/documentation/tools_tools.main.js.html +0 -442
- package/docs/documentation/tools_tools.segmentation.js.html +0 -445
- package/docs/documentation/tools_tools.state.js.html +0 -157
- package/docs/examples/base.html +0 -170
- package/docs/examples/colorMaps.html +0 -181
- package/docs/examples/defaultTools.html +0 -246
- package/docs/examples/demo/anon1 +0 -0
- package/docs/examples/demo/anon10 +0 -0
- package/docs/examples/demo/anon11 +0 -0
- package/docs/examples/demo/anon12 +0 -0
- package/docs/examples/demo/anon13 +0 -0
- package/docs/examples/demo/anon14 +0 -0
- package/docs/examples/demo/anon15 +0 -0
- package/docs/examples/demo/anon16 +0 -0
- package/docs/examples/demo/anon17 +0 -0
- package/docs/examples/demo/anon18 +0 -0
- package/docs/examples/demo/anon19 +0 -0
- package/docs/examples/demo/anon2 +0 -0
- package/docs/examples/demo/anon20 +0 -0
- package/docs/examples/demo/anon21 +0 -0
- package/docs/examples/demo/anon22 +0 -0
- package/docs/examples/demo/anon23 +0 -0
- package/docs/examples/demo/anon24 +0 -0
- package/docs/examples/demo/anon3 +0 -0
- package/docs/examples/demo/anon4 +0 -0
- package/docs/examples/demo/anon5 +0 -0
- package/docs/examples/demo/anon6 +0 -0
- package/docs/examples/demo/anon7 +0 -0
- package/docs/examples/demo/anon8 +0 -0
- package/docs/examples/demo/anon9 +0 -0
- package/docs/examples/demo/example.nrrd +0 -0
- package/docs/examples/demo/segmentation.nrrd +0 -0
- package/docs/examples/demo/xa_integris.dcm +0 -0
- package/docs/examples/index.html +0 -129
- package/docs/examples/larvitar.js +0 -108623
- package/docs/examples/layers.html +0 -250
- package/docs/examples/masks.html +0 -273
- package/docs/examples/multiframe.html +0 -200
- package/docs/examples/nrrd.html +0 -96
- package/docs/examples/reslice.html +0 -174
- package/docs/index.html +0 -92
|
@@ -1,306 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
|
|
5
|
-
<meta charset="utf-8">
|
|
6
|
-
<title>loaders/commonLoader.js - 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">loaders/commonLoader.js</h1>
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
<section>
|
|
55
|
-
<article>
|
|
56
|
-
<pre class="prettyprint source linenums"><code>/** @module loaders/commonLoader
|
|
57
|
-
* @desc This file provides functionalities for
|
|
58
|
-
* custom WadoImageLoaders
|
|
59
|
-
*/
|
|
60
|
-
|
|
61
|
-
// external libraries
|
|
62
|
-
import cornerstoneWADOImageLoader from "cornerstone-wado-image-loader";
|
|
63
|
-
import { each } from "lodash";
|
|
64
|
-
import { updateLoadedStack } from "../imageLoading";
|
|
65
|
-
|
|
66
|
-
// internal libraries
|
|
67
|
-
import { buildMultiFrameImage, clearMultiFrameCache } from "./multiframeLoader";
|
|
68
|
-
|
|
69
|
-
// global variables
|
|
70
|
-
var larvitarManager = null;
|
|
71
|
-
var imageTracker = null;
|
|
72
|
-
|
|
73
|
-
/*
|
|
74
|
-
* This module provides the following functions to be exported:
|
|
75
|
-
* updateLarvitarManager(imageObject)
|
|
76
|
-
* populateLarvitarManager(seriesId, seriesData)
|
|
77
|
-
* getLarvitarManager()
|
|
78
|
-
* getLarvitarImageTracker()
|
|
79
|
-
* resetLarvitarManager()
|
|
80
|
-
* removeSeriesFromLarvitarManager(seriesId)
|
|
81
|
-
* getSeriesDataFromLarvitarManager(seriesId)
|
|
82
|
-
* getImageFrame(metadata, dataSet)
|
|
83
|
-
*/
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* Update and initialize larvitar manager in order to parse and load a single dicom object
|
|
87
|
-
* @instance
|
|
88
|
-
* @function updateLarvitarManager
|
|
89
|
-
* @param {Object} imageObject The single dicom object
|
|
90
|
-
* @param {String} customId - Optional custom id to overwrite seriesUID as default one
|
|
91
|
-
*/
|
|
92
|
-
export const updateLarvitarManager = function (imageObject, customId) {
|
|
93
|
-
if (larvitarManager === null) {
|
|
94
|
-
larvitarManager = {};
|
|
95
|
-
}
|
|
96
|
-
let seriesId = customId || imageObject.seriesUID;
|
|
97
|
-
let data = { ...imageObject };
|
|
98
|
-
if (data.isMultiframe) {
|
|
99
|
-
buildMultiFrameImage(seriesId, data);
|
|
100
|
-
} else {
|
|
101
|
-
updateLoadedStack(data, larvitarManager, customId);
|
|
102
|
-
}
|
|
103
|
-
return larvitarManager;
|
|
104
|
-
};
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
* This function can be called in order to populate the Larvitar manager
|
|
108
|
-
* @instance
|
|
109
|
-
* @function populateLarvitarManager
|
|
110
|
-
* @param {String} seriesId The Id of the series
|
|
111
|
-
* @param {Object} seriesData The series data
|
|
112
|
-
* @returns {manager} the Larvitar manager
|
|
113
|
-
*/
|
|
114
|
-
export const populateLarvitarManager = function (seriesId, seriesData) {
|
|
115
|
-
if (larvitarManager === null) {
|
|
116
|
-
larvitarManager = {};
|
|
117
|
-
}
|
|
118
|
-
let data = { ...seriesData };
|
|
119
|
-
if (data.isMultiframe) {
|
|
120
|
-
buildMultiFrameImage(seriesId, data);
|
|
121
|
-
} else {
|
|
122
|
-
larvitarManager[seriesId] = data;
|
|
123
|
-
}
|
|
124
|
-
return larvitarManager;
|
|
125
|
-
};
|
|
126
|
-
|
|
127
|
-
/**
|
|
128
|
-
* Return the common data loader manager
|
|
129
|
-
* @instance
|
|
130
|
-
* @function getLarvitarManager
|
|
131
|
-
* @returns {Object} the loader manager
|
|
132
|
-
*/
|
|
133
|
-
export const getLarvitarManager = function () {
|
|
134
|
-
if (larvitarManager == null) {
|
|
135
|
-
larvitarManager = {};
|
|
136
|
-
}
|
|
137
|
-
return larvitarManager;
|
|
138
|
-
};
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* Return the common image tracker
|
|
142
|
-
* @instance
|
|
143
|
-
* @function getLarvitarImageTracker
|
|
144
|
-
* @returns {Object} the image tracker
|
|
145
|
-
*/
|
|
146
|
-
export const getLarvitarImageTracker = function () {
|
|
147
|
-
if (imageTracker == null) {
|
|
148
|
-
imageTracker = {};
|
|
149
|
-
}
|
|
150
|
-
return imageTracker;
|
|
151
|
-
};
|
|
152
|
-
|
|
153
|
-
/**
|
|
154
|
-
* Reset the Larvitar Manager store
|
|
155
|
-
* @instance
|
|
156
|
-
* @function resetLarvitarManager
|
|
157
|
-
*/
|
|
158
|
-
export const resetLarvitarManager = function () {
|
|
159
|
-
each(larvitarManager, function (stack) {
|
|
160
|
-
if (stack.isMultiframe) {
|
|
161
|
-
if (stack.dataSet) {
|
|
162
|
-
stack.dataSet.byteArray = null;
|
|
163
|
-
}
|
|
164
|
-
stack.dataSet = null;
|
|
165
|
-
stack.elements = null;
|
|
166
|
-
clearMultiFrameCache(stack.seriesUID);
|
|
167
|
-
}
|
|
168
|
-
each(stack.instances, function (instance) {
|
|
169
|
-
if (instance.dataSet) {
|
|
170
|
-
instance.dataSet.byteArray = null;
|
|
171
|
-
}
|
|
172
|
-
instance.dataSet = null;
|
|
173
|
-
instance.file = null;
|
|
174
|
-
instance.metadata = null;
|
|
175
|
-
});
|
|
176
|
-
});
|
|
177
|
-
larvitarManager = null;
|
|
178
|
-
imageTracker = null;
|
|
179
|
-
};
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* Remove a stored seriesId from the larvitar Manager
|
|
183
|
-
* @instance
|
|
184
|
-
* @function removeSeriesFromLarvitarManager
|
|
185
|
-
* @param {String} seriesId The Id of the series
|
|
186
|
-
*/
|
|
187
|
-
export const removeSeriesFromLarvitarManager = function (seriesId) {
|
|
188
|
-
if (larvitarManager && larvitarManager[seriesId]) {
|
|
189
|
-
if (larvitarManager[seriesId].isMultiframe) {
|
|
190
|
-
larvitarManager[seriesId].dataSet.byteArray = null;
|
|
191
|
-
larvitarManager[seriesId].dataSet = null;
|
|
192
|
-
larvitarManager[seriesId].elements = null;
|
|
193
|
-
clearMultiFrameCache(seriesId);
|
|
194
|
-
}
|
|
195
|
-
each(larvitarManager[seriesId].instances, function (instance) {
|
|
196
|
-
if (instance.dataSet) {
|
|
197
|
-
instance.dataSet.byteArray = null;
|
|
198
|
-
}
|
|
199
|
-
instance.dataSet = null;
|
|
200
|
-
instance.file = null;
|
|
201
|
-
instance.metadata = null;
|
|
202
|
-
});
|
|
203
|
-
larvitarManager[seriesId] = null;
|
|
204
|
-
delete larvitarManager[seriesId];
|
|
205
|
-
}
|
|
206
|
-
};
|
|
207
|
-
|
|
208
|
-
/**
|
|
209
|
-
* Return the data of a specific seriesId stored in the DICOM Manager
|
|
210
|
-
* @instance
|
|
211
|
-
* @function getSeriesDataFromLarvitarManager
|
|
212
|
-
* @param {String} seriesId The Id of the series
|
|
213
|
-
* @return {Object} larvitar manager data
|
|
214
|
-
*/
|
|
215
|
-
export const getSeriesDataFromLarvitarManager = function (seriesId) {
|
|
216
|
-
return larvitarManager ? larvitarManager[seriesId] : null;
|
|
217
|
-
};
|
|
218
|
-
|
|
219
|
-
/**
|
|
220
|
-
* Compute and return image frame
|
|
221
|
-
* @instance
|
|
222
|
-
* @function getImageFrame
|
|
223
|
-
* @param {Object} metadata metadata object
|
|
224
|
-
* @param {Object} dataSet dicom dataset
|
|
225
|
-
* @returns {Object} specific image frame
|
|
226
|
-
*/
|
|
227
|
-
export const getImageFrame = function (metadata, dataSet) {
|
|
228
|
-
let imagePixelModule;
|
|
229
|
-
|
|
230
|
-
if (dataSet) {
|
|
231
|
-
imagePixelModule =
|
|
232
|
-
cornerstoneWADOImageLoader.wadouri.metaData.getImagePixelModule(dataSet);
|
|
233
|
-
} else {
|
|
234
|
-
imagePixelModule = {
|
|
235
|
-
samplesPerPixel: metadata.x00280002,
|
|
236
|
-
photometricInterpretation: metadata.x00280004,
|
|
237
|
-
planarConfiguration: metadata.x00280006,
|
|
238
|
-
rows: metadata.x00280010,
|
|
239
|
-
columns: metadata.x00280011,
|
|
240
|
-
bitsAllocated: metadata.x00280100,
|
|
241
|
-
pixelRepresentation: metadata.x00280103,
|
|
242
|
-
smallestPixelValue: metadata.x00280106,
|
|
243
|
-
largestPixelValue: metadata.x00280107,
|
|
244
|
-
redPaletteColorLookupTableDescriptor: metadata.x00281101,
|
|
245
|
-
greenPaletteColorLookupTableDescriptor: metadata.x00281102,
|
|
246
|
-
bluePaletteColorLookupTableDescriptor: metadata.x00281103,
|
|
247
|
-
redPaletteColorLookupTableData: metadata.x00281201,
|
|
248
|
-
greenPaletteColorLookupTableData: metadata.x00281202,
|
|
249
|
-
bluePaletteColorLookupTableData: metadata.x00281203
|
|
250
|
-
};
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
return {
|
|
254
|
-
samplesPerPixel: imagePixelModule.samplesPerPixel,
|
|
255
|
-
photometricInterpretation: imagePixelModule.photometricInterpretation,
|
|
256
|
-
planarConfiguration: imagePixelModule.planarConfiguration,
|
|
257
|
-
rows: imagePixelModule.rows,
|
|
258
|
-
columns: imagePixelModule.columns,
|
|
259
|
-
bitsAllocated: imagePixelModule.bitsAllocated,
|
|
260
|
-
pixelRepresentation: imagePixelModule.pixelRepresentation, // 0 = unsigned,
|
|
261
|
-
smallestPixelValue: imagePixelModule.smallestPixelValue,
|
|
262
|
-
largestPixelValue: imagePixelModule.largestPixelValue,
|
|
263
|
-
redPaletteColorLookupTableDescriptor:
|
|
264
|
-
imagePixelModule.redPaletteColorLookupTableDescriptor,
|
|
265
|
-
greenPaletteColorLookupTableDescriptor:
|
|
266
|
-
imagePixelModule.greenPaletteColorLookupTableDescriptor,
|
|
267
|
-
bluePaletteColorLookupTableDescriptor:
|
|
268
|
-
imagePixelModule.bluePaletteColorLookupTableDescriptor,
|
|
269
|
-
redPaletteColorLookupTableData:
|
|
270
|
-
imagePixelModule.redPaletteColorLookupTableData,
|
|
271
|
-
greenPaletteColorLookupTableData:
|
|
272
|
-
imagePixelModule.greenPaletteColorLookupTableData,
|
|
273
|
-
bluePaletteColorLookupTableData:
|
|
274
|
-
imagePixelModule.bluePaletteColorLookupTableData,
|
|
275
|
-
pixelData: undefined // populated later after decoding
|
|
276
|
-
};
|
|
277
|
-
};
|
|
278
|
-
</code></pre>
|
|
279
|
-
</article>
|
|
280
|
-
</section>
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
</div>
|
|
288
|
-
|
|
289
|
-
<br class="clear">
|
|
290
|
-
|
|
291
|
-
<footer>
|
|
292
|
-
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.
|
|
293
|
-
</footer>
|
|
294
|
-
|
|
295
|
-
<script>prettyPrint();</script>
|
|
296
|
-
<script src="scripts/polyfill.js"></script>
|
|
297
|
-
<script src="scripts/linenumber.js"></script>
|
|
298
|
-
|
|
299
|
-
<script src="scripts/search.js" defer></script>
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
<script src="scripts/collapse.js" defer></script>
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
</body>
|
|
306
|
-
</html>
|