dicom-microscopy-viewer 0.36.0 → 0.36.3

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 (107) hide show
  1. package/README.md +6 -1
  2. package/{build → dist}/08929516bda4c4fd2597.module.wasm +0 -0
  3. package/dist/4f2853de305c1b5afcac.module.wasm +0 -0
  4. package/{build → dist}/6ae9c6e051fd2bd70fad.module.wasm +0 -0
  5. package/dist/6b62efd6c7f30afd4c78.module.wasm +0 -0
  6. package/{build → dist}/7e1d2da75b59525e1933.module.wasm +0 -0
  7. package/{build → dist}/d051f2d564fae150ce94.module.wasm +0 -0
  8. package/dist/dicom-microscopy-viewer.js +2 -0
  9. package/{build → dist}/dicom-microscopy-viewer.js.LICENSE.txt +0 -0
  10. package/dist/dicom-microscopy-viewer.js.map +1 -0
  11. package/{build → dist}/e6305f756142e57c92cd.module.wasm +0 -0
  12. package/{build → dist}/f3e0c999ad06a34a7f75.module.wasm +0 -0
  13. package/docs/annotation.AnnotationGroup.html +2 -2
  14. package/docs/annotation.html +4 -3
  15. package/docs/annotation.js.html +8 -8
  16. package/docs/annotations__AnnotationManager.js.html +5 -5
  17. package/docs/annotations_markups__MarkupManager.js.html +52 -7
  18. package/docs/api.html +3 -3
  19. package/docs/color.PaletteColorLookupTable.html +688 -0
  20. package/docs/color.html +671 -0
  21. package/docs/color.js.html +30 -5
  22. package/docs/dicom-microscopy-viewer.js.html +30 -13
  23. package/docs/events.html +3 -3
  24. package/docs/events.js.html +2 -2
  25. package/docs/index.html +23 -24
  26. package/docs/mapping.ParameterMapping.html +10 -10
  27. package/docs/mapping.Transformation.html +180 -0
  28. package/docs/mapping.html +7 -4
  29. package/docs/mapping.js.html +7 -3
  30. package/docs/metadata.Comprehensive3DSR.html +2 -2
  31. package/docs/metadata.MicroscopyBulkSimpleAnnotations.html +2 -2
  32. package/docs/metadata.ParametricMap.html +2 -2
  33. package/docs/metadata.Segmentation.html +2 -2
  34. package/docs/metadata.VLWholeSlideMicroscopyImage.html +2 -2
  35. package/docs/metadata.html +3 -3
  36. package/docs/metadata.js.html +2 -2
  37. package/docs/opticalPath.OpticalPath.html +2 -2
  38. package/docs/opticalPath.html +3 -3
  39. package/docs/opticalPath.js.html +2 -2
  40. package/docs/pyramid.js.html +6 -4
  41. package/docs/roi.ROI.html +2 -2
  42. package/docs/roi.html +4 -4
  43. package/docs/roi.js.html +4 -4
  44. package/docs/scoord3d.Ellipse.html +2 -2
  45. package/docs/scoord3d.Ellipsoid.html +2 -2
  46. package/docs/scoord3d.Multipoint.html +2 -2
  47. package/docs/scoord3d.Point.html +2 -2
  48. package/docs/scoord3d.Polygon.html +2 -2
  49. package/docs/scoord3d.Polyline.html +2 -2
  50. package/docs/scoord3d.html +3 -3
  51. package/docs/scoord3d.js.html +4 -4
  52. package/docs/segment.Segment.html +2 -2
  53. package/docs/segment.html +4 -4
  54. package/docs/segment.js.html +2 -2
  55. package/docs/utils.html +2812 -5
  56. package/docs/utils.js.html +77 -14
  57. package/docs/viewer.LabelImageViewer.html +3 -3
  58. package/docs/viewer.OverviewImageViewer.html +3 -3
  59. package/docs/viewer.VolumeImageViewer.html +87 -87
  60. package/docs/viewer.html +3 -3
  61. package/docs/viewer.js.html +45 -14
  62. package/package.json +8 -7
  63. package/src/annotation.js +6 -6
  64. package/src/annotations/_AnnotationManager.js +3 -3
  65. package/src/annotations/markers/arrow.js +11 -2
  66. package/src/annotations/markups/_MarkupManager.js +49 -4
  67. package/src/annotations/markups/measurement.js +14 -6
  68. package/src/annotations/markups/textEvaluation.js +23 -8
  69. package/src/color.js +28 -3
  70. package/src/dicom-microscopy-viewer.js +28 -11
  71. package/src/mapping.js +5 -1
  72. package/src/pyramid.js +4 -2
  73. package/src/roi.js +2 -2
  74. package/src/scoord3d.js +2 -2
  75. package/src/utils.js +75 -12
  76. package/src/viewer.js +37 -10
  77. package/webpack.config.js +11 -1
  78. package/build/33ef438573e49fde75eb.module.wasm +0 -0
  79. package/build/510fe8aff40dafc5b19b.module.wasm +0 -0
  80. package/build/713dba1fa973be4d97f4.module.wasm +0 -0
  81. package/build/86e23957894a6f373e11.module.wasm +0 -0
  82. package/build/c337ef929a626d7e5353.module.wasm +0 -0
  83. package/build/ce3907ececff7b46856f.wasm +0 -0
  84. package/build/dicom-microscopy-viewer.js +0 -2
  85. package/build/dicom-microscopy-viewer.js.map +0 -1
  86. package/docs/PaletteColorLookupTable.html +0 -364
  87. package/docs/Transformation.html +0 -179
  88. package/docs/annotations_markers_arrow.js.html +0 -224
  89. package/docs/annotations_markups_measurement.js.html +0 -136
  90. package/docs/annotations_markups_textEvaluation.js.html +0 -184
  91. package/docs/annotations_markups_utils_getShortestLineBetweenOverlayAndFeature.js.html +0 -96
  92. package/docs/global.html +0 -6062
  93. package/examples/basic/index.html +0 -77
  94. package/examples/blend/index.html +0 -209
  95. package/examples/events/index.html +0 -436
  96. package/examples/index.html +0 -32
  97. package/examples/js/FileSaver.min.js +0 -3
  98. package/examples/js/jquery.min.js +0 -4
  99. package/examples/js/jquery.min.map +0 -1
  100. package/examples/simple_viewer/index.html +0 -520
  101. package/examples/simple_viewer/scripts/dicomdict.js +0 -34030
  102. package/examples/simple_viewer/scripts/metadata.js +0 -79
  103. package/examples/simple_viewer/styles/main.css +0 -238
  104. package/examples/structured_report/index.html +0 -278
  105. package/examples/styles.js +0 -46
  106. package/src/annotations/markups/utils/getShortestLineBetweenOverlayAndFeature.js +0 -45
  107. package/src/annotations/markups/utils/index.js +0 -1
@@ -33,9 +33,10 @@ import { getPointResolution } from 'ol/proj'
33
33
  * Generates a UUID-derived DICOM UID with root `2.25`.
34
34
  *
35
35
  * @returns {string} Unique identifier
36
+ *
36
37
  * @private
37
38
  */
38
- function generateUID () {
39
+ function _generateUID () {
39
40
  /**
40
41
  * A UUID can be represented as a single integer value.
41
42
  * http://dicom.nema.org/medical/dicom/current/output/chtml/part05/sect_B.2.html
@@ -47,8 +48,8 @@ function generateUID () {
47
48
  * the least significant bit as the least significant bit (bit 0) of the last
48
49
  * of the sixteen octets (octet 0).
49
50
  */
50
- // FIXME: This is not a valid UUID!
51
51
  let uid = '2.25.' + Math.floor(1 + Math.random() * 9)
52
+ // FIXME: This is not a valid UUID!
52
53
  while (uid.length < 44) {
53
54
  uid += Math.floor(1 + Math.random() * 10)
54
55
  }
@@ -60,7 +61,10 @@ function generateUID () {
60
61
  *
61
62
  * @param {Object} options - Options
62
63
  * @param {number[]} options.orientation - Direction cosines along the row and column direction of the Total Pixel Matrix for each of the three axis of the slide coordinate system
64
+ *
63
65
  * @returns {number[][]} 2x2 rotation matrix
66
+ *
67
+ * @memberof utils
64
68
  */
65
69
  function createRotationMatrix (options) {
66
70
  if (!('orientation' in options)) {
@@ -84,7 +88,10 @@ function createRotationMatrix (options) {
84
88
  * @param {number} maxInput - Upper bound of the full input value range
85
89
  * @param {number} minOutput - Lower bound of the full output value range
86
90
  * @param {number} maxOutput - Upper bound of the full output value range
91
+ *
87
92
  * @returns {number} Rescaled value
93
+ *
94
+ * @memberof utils
88
95
  */
89
96
  function rescale (
90
97
  value,
@@ -105,7 +112,10 @@ function rescale (
105
112
  *
106
113
  * @param {number} lowerBound - Lower bound of the window
107
114
  * @param {number} upperBound - Upper bound of the window
115
+ *
108
116
  * @returns {number[]} Window center and width
117
+ *
118
+ * @memberof utils
109
119
  */
110
120
  function createWindow (lowerBound, upperBound) {
111
121
  const windowCenter = (lowerBound + upperBound) / 2
@@ -119,7 +129,10 @@ function createWindow (lowerBound, upperBound) {
119
129
  * @param {Object} options - Options
120
130
  * @param {number[]} options.orientation - Direction cosines along the row and column direction of the Total Pixel Matrix for each of the three axis of the slide coordinate system
121
131
  * @param {boolean} options.inDegrees - Whether angle should be returned in degrees instead of radians
132
+ *
122
133
  * @returns {number} Angle
134
+ *
135
+ * @memberof utils
123
136
  */
124
137
  function computeRotation (options) {
125
138
  const rot = createRotationMatrix({ orientation: options.orientation })
@@ -143,7 +156,10 @@ function computeRotation (options) {
143
156
  * @param {number[]} options.offset - X and Y offset of the image in the slide coordinate system
144
157
  * @param {number[]} options.orientation - Direction cosines along the row and column direction of the Total Pixel Matrix for each of the three axis of the slide coordinate system
145
158
  * @param {number[]} options.spacing - Spacing between pixel rows and columns of the Total Pixel Matrix
159
+ *
146
160
  * @returns {number[][]} 3x3 affine transformation matrix
161
+ *
162
+ * @memberof utils
147
163
  */
148
164
  function buildTransform ({ offset, orientation, spacing }) {
149
165
  // X and Y Offset in Slide Coordinate System
@@ -199,7 +215,10 @@ function buildTransform ({ offset, orientation, spacing }) {
199
215
  * @param {Object} options - Options
200
216
  * @params {number[]} options.coordinate - (column, row) image coordinate
201
217
  * @params {number[][]} options.affine - 3x3 affine transformation matrix
218
+ *
202
219
  * @returns {number[]} (x, y) reference coordinate
220
+ *
221
+ * @memberof utils
203
222
  */
204
223
  function applyTransform ({ coordinate, affine }) {
205
224
  if (coordinate == null) {
@@ -244,7 +263,10 @@ function applyTransform ({ coordinate, affine }) {
244
263
  * @param {number[]} options.offset - X and Y offset of the image in the slide coordinate system
245
264
  * @param {number[]} options.orientation - Direction cosines along the row and column direction of the Total Pixel Matrix for each of the three axis of the slide coordinate system
246
265
  * @param {number[]} options.spacing - Spacing between pixel rows and columns of the Total Pixel Matrix
266
+ *
247
267
  * @returns {number[][]} 3x3 affine transformation matrix
268
+ *
269
+ * @memberof utils
248
270
  */
249
271
  function buildInverseTransform ({ offset, orientation, spacing }) {
250
272
  // X and Y Offset in Slide Coordinate System
@@ -300,7 +322,10 @@ function buildInverseTransform ({ offset, orientation, spacing }) {
300
322
  * @param {Object} options - Options
301
323
  * @params {number[]} options.coordinate - (x, y) reference coordinate
302
324
  * @params {number[][]} options.affine - 3x3 affine transformation matrix
325
+ *
303
326
  * @returns {number[]} (column, row) image coordinate
327
+ *
328
+ * @memberof utils
304
329
  */
305
330
  function applyInverseTransform ({ coordinate, affine }) {
306
331
  if (coordinate == null) {
@@ -347,7 +372,9 @@ function applyInverseTransform ({ coordinate, affine }) {
347
372
  * @param {number[]} options.orientation - Direction cosines along the row and column direction of the Total Pixel Matrix for each of the three axis of the slide coordinate system
348
373
  * @param {number[]} options.spacing - Spacing between pixels along the Column and Row direction of the Total Pixel Matrix
349
374
  * @param {number[]} options.point - (colum, row) image coordinates
375
+ *
350
376
  * @returns {number[]} (x, y, z) slide coordinates
377
+ *
351
378
  * @memberof utils
352
379
  */
353
380
  function mapPixelCoordToSlideCoord ({ point, offset, orientation, spacing }) {
@@ -378,7 +405,9 @@ function mapPixelCoordToSlideCoord ({ point, offset, orientation, spacing }) {
378
405
  * @param {number[]} options.orientation - Direction cosines along the row and column direction of the Total Pixel Matrix for each of the three axis of the slide coordinate system
379
406
  * @param {number[]} options.spacing - Spacing between pixels along the Column and Row direction of the Total Pixel Matrix
380
407
  * @param {number[]} options.point - (x, y, z) slide coordinates
408
+ *
381
409
  * @returns {number[]} (row, column) image coordinates
410
+ *
382
411
  * @memberof utils
383
412
  */
384
413
  function mapSlideCoordToPixelCoord ({ point, offset, orientation, spacing }) {
@@ -406,7 +435,10 @@ function mapSlideCoordToPixelCoord ({ point, offset, orientation, spacing }) {
406
435
  * @param {number[]} array a
407
436
  * @param {number[]} array b
408
437
  * @param {number} eps
409
- * @returns {boolean} check
438
+ *
439
+ * @returns {boolean} yes/no answer
440
+ *
441
+ * @memberof utils
410
442
  */
411
443
  function are2DArraysAlmostEqual (a, b, eps = 1.e-6) {
412
444
  if (a === b) return true
@@ -430,7 +462,10 @@ function are2DArraysAlmostEqual (a, b, eps = 1.e-6) {
430
462
  * @param {number[]} array a
431
463
  * @param {number[]} array b
432
464
  * @param {number} eps
433
- * @returns {boolean} check
465
+ *
466
+ * @returns {boolean} yes/no answer
467
+ *
468
+ * @memberof utils
434
469
  */
435
470
  function are1DArraysAlmostEqual (a, b, eps = 1.e-6) {
436
471
  if (a == null || b == null) return false
@@ -450,7 +485,10 @@ function are1DArraysAlmostEqual (a, b, eps = 1.e-6) {
450
485
  * @param {number} a
451
486
  * @param {number} b
452
487
  * @param {number} eps
453
- * @returns {boolean} check
488
+ *
489
+ * @returns {boolean} yes/no answer
490
+ *
491
+ * @memberof utils
454
492
  */
455
493
  function areNumbersAlmostEqual (a, b, eps = 1.e-6) {
456
494
  return Math.abs(a - b) < eps
@@ -460,9 +498,12 @@ function areNumbersAlmostEqual (a, b, eps = 1.e-6) {
460
498
  * Get view unit suffix.
461
499
  *
462
500
  * @param {object} view Map view
501
+ *
463
502
  * @returns {string} unit suffix
503
+ *
504
+ * @private
464
505
  */
465
- function getUnitSuffix (view) {
506
+ function _getUnitSuffix (view) {
466
507
  const UnitsEnum = { METERS: 'm' }
467
508
  const DEFAULT_DPI = 25.4 / 0.28
468
509
 
@@ -505,16 +546,23 @@ function getUnitSuffix (view) {
505
546
  * Get name coded concept from content item.
506
547
  *
507
548
  * @param {object} contentItem
549
+ *
508
550
  * @returns {object} The concept name coded concept
551
+ *
552
+ * @memberof utils
509
553
  */
510
554
  const getContentItemNameCodedConcept = (contentItem) =>
511
555
  contentItem.ConceptNameCodeSequence[0]
512
556
 
513
557
  /**
558
+ * Check whether coded concepts are equal.
514
559
  *
515
560
  * @param {object} codedConcept1
516
561
  * @param {object} codedConcept2
517
- * @returns {boolean} true if content items equal and false otherwise
562
+ *
563
+ * @returns {boolean} yes/no answer
564
+ *
565
+ * @memberof utils
518
566
  */
519
567
  const areCodedConceptsEqual = (codedConcept1, codedConcept2) => {
520
568
  if (
@@ -540,7 +588,10 @@ const areCodedConceptsEqual = (codedConcept1, codedConcept2) => {
540
588
  *
541
589
  * @param {object} contentItem1
542
590
  * @param {object} contentItem2
543
- * @returns {boolean} true if content items match and false otherwise
591
+ *
592
+ * @returns {boolean} yes/no answer
593
+ *
594
+ * @memberof utils
544
595
  */
545
596
  const doContentItemsMatch = (contentItem1, contentItem2) => {
546
597
  const contentItem1NameCodedConcept = getContentItemNameCodedConcept(
@@ -557,7 +608,19 @@ const doContentItemsMatch = (contentItem1, contentItem2) => {
557
608
  )
558
609
  }
559
610
 
560
- async function fetchBulkdata ({ client, reference }) {
611
+ /**
612
+ * Fetch bulkdata.
613
+ *
614
+ * @param {object} options
615
+ * @param {object} options.client - DICOMweb client @param {object}
616
+ * options.reference - Data Element in DICOM JSON format containing "vr" and
617
+ * "BulkDataURI" fields
618
+ *
619
+ * @returns {Promise<TypedArray>} bulkdata
620
+ *
621
+ * @private
622
+ */
623
+ async function _fetchBulkdata ({ client, reference }) {
561
624
  const fixBulkDataURI = (uri) => {
562
625
  // FIXME: Configure dcm4che-arc-light so that BulkDataURI value is
563
626
  // set correctly by the archive:
@@ -616,14 +679,14 @@ async function fetchBulkdata ({ client, reference }) {
616
679
  }
617
680
 
618
681
  export {
619
- getUnitSuffix,
682
+ _getUnitSuffix,
620
683
  applyInverseTransform,
621
684
  applyTransform,
622
685
  buildInverseTransform,
623
686
  buildTransform,
624
687
  computeRotation,
625
- fetchBulkdata,
626
- generateUID,
688
+ _fetchBulkdata,
689
+ _generateUID,
627
690
  mapPixelCoordToSlideCoord,
628
691
  mapSlideCoordToPixelCoord,
629
692
  areNumbersAlmostEqual,
@@ -645,13 +708,13 @@ export {
645
708
  </div>
646
709
 
647
710
  <nav>
648
- <h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="annotation.html">annotation</a></li><li><a href="api.html">api</a></li><li><a href="events.html">events</a></li><li><a href="mapping.html">mapping</a></li><li><a href="metadata.html">metadata</a></li><li><a href="opticalPath.html">opticalPath</a></li><li><a href="roi.html">roi</a></li><li><a href="scoord3d.html">scoord3d</a></li><li><a href="segment.html">segment</a></li><li><a href="utils.html">utils</a></li><li><a href="viewer.html">viewer</a></li></ul><h3>Classes</h3><ul><li><a href="annotation.AnnotationGroup.html">AnnotationGroup</a></li><li><a href="mapping.ParameterMapping.html">ParameterMapping</a></li><li><a href="metadata.Comprehensive3DSR.html">Comprehensive3DSR</a></li><li><a href="metadata.MicroscopyBulkSimpleAnnotations.html">MicroscopyBulkSimpleAnnotations</a></li><li><a href="metadata.ParametricMap.html">ParametricMap</a></li><li><a href="metadata.Segmentation.html">Segmentation</a></li><li><a href="metadata.VLWholeSlideMicroscopyImage.html">VLWholeSlideMicroscopyImage</a></li><li><a href="opticalPath.OpticalPath.html">OpticalPath</a></li><li><a href="PaletteColorLookupTable.html">PaletteColorLookupTable</a></li><li><a href="roi.ROI.html">ROI</a></li><li><a href="scoord3d.Ellipse.html">Ellipse</a></li><li><a href="scoord3d.Ellipsoid.html">Ellipsoid</a></li><li><a href="scoord3d.Multipoint.html">Multipoint</a></li><li><a href="scoord3d.Point.html">Point</a></li><li><a href="scoord3d.Polygon.html">Polygon</a></li><li><a href="scoord3d.Polyline.html">Polyline</a></li><li><a href="segment.Segment.html">Segment</a></li><li><a href="Transformation.html">Transformation</a></li><li><a href="viewer.LabelImageViewer.html">LabelImageViewer</a></li><li><a href="viewer.OverviewImageViewer.html">OverviewImageViewer</a></li><li><a href="viewer.VolumeImageViewer.html">VolumeImageViewer</a></li></ul><h3>Global</h3><ul><li><a href="global.html#_applyStyle">_applyStyle</a></li><li><a href="global.html#_applyStyles">_applyStyles</a></li><li><a href="global.html#_computeImagePyramid">_computeImagePyramid</a></li><li><a href="global.html#_hasMarker">_hasMarker</a></li><li><a href="global.html#_hasMarkup">_hasMarkup</a></li><li><a href="global.html#_isMeasurement">_isMeasurement</a></li><li><a href="global.html#_onInteractionEventHandler">_onInteractionEventHandler</a></li><li><a href="global.html#_setFeatureStyle">_setFeatureStyle</a></li><li><a href="global.html#applyInverseTransform">applyInverseTransform</a></li><li><a href="global.html#applyTransform">applyTransform</a></li><li><a href="global.html#are1DArraysAlmostEqual">are1DArraysAlmostEqual</a></li><li><a href="global.html#are2DArraysAlmostEqual">are2DArraysAlmostEqual</a></li><li><a href="global.html#areCodedConceptsEqual">areCodedConceptsEqual</a></li><li><a href="global.html#areNumbersAlmostEqual">areNumbersAlmostEqual</a></li><li><a href="global.html#ArrowMarker">ArrowMarker</a></li><li><a href="global.html#buildInverseTransform">buildInverseTransform</a></li><li><a href="global.html#buildPaletteColorLookupTable">buildPaletteColorLookupTable</a></li><li><a href="global.html#buildTransform">buildTransform</a></li><li><a href="global.html#computeRotation">computeRotation</a></li><li><a href="global.html#createColormap">createColormap</a></li><li><a href="global.html#createRotationMatrix">createRotationMatrix</a></li><li><a href="global.html#createWindow">createWindow</a></li><li><a href="global.html#doContentItemsMatch">doContentItemsMatch</a></li><li><a href="global.html#format">format</a></li><li><a href="global.html#getContentItemNameCodedConcept">getContentItemNameCodedConcept</a></li><li><a href="global.html#getShortestLineBetweenOverlayAndFeature">getShortestLineBetweenOverlayAndFeature</a></li><li><a href="global.html#getUnitSuffix">getUnitSuffix</a></li><li><a href="global.html#MeasurementMarkup">MeasurementMarkup</a></li><li><a href="global.html#rescale">rescale</a></li><li><a href="global.html#TextEvaluationMarkup">TextEvaluationMarkup</a></li></ul>
711
+ <h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="annotation.html">annotation</a></li><li><a href="api.html">api</a></li><li><a href="color.html">color</a></li><li><a href="events.html">events</a></li><li><a href="mapping.html">mapping</a></li><li><a href="metadata.html">metadata</a></li><li><a href="opticalPath.html">opticalPath</a></li><li><a href="roi.html">roi</a></li><li><a href="scoord3d.html">scoord3d</a></li><li><a href="segment.html">segment</a></li><li><a href="utils.html">utils</a></li><li><a href="viewer.html">viewer</a></li></ul><h3>Classes</h3><ul><li><a href="annotation.AnnotationGroup.html">AnnotationGroup</a></li><li><a href="color.PaletteColorLookupTable.html">PaletteColorLookupTable</a></li><li><a href="mapping.ParameterMapping.html">ParameterMapping</a></li><li><a href="mapping.Transformation.html">Transformation</a></li><li><a href="metadata.Comprehensive3DSR.html">Comprehensive3DSR</a></li><li><a href="metadata.MicroscopyBulkSimpleAnnotations.html">MicroscopyBulkSimpleAnnotations</a></li><li><a href="metadata.ParametricMap.html">ParametricMap</a></li><li><a href="metadata.Segmentation.html">Segmentation</a></li><li><a href="metadata.VLWholeSlideMicroscopyImage.html">VLWholeSlideMicroscopyImage</a></li><li><a href="opticalPath.OpticalPath.html">OpticalPath</a></li><li><a href="roi.ROI.html">ROI</a></li><li><a href="scoord3d.Ellipse.html">Ellipse</a></li><li><a href="scoord3d.Ellipsoid.html">Ellipsoid</a></li><li><a href="scoord3d.Multipoint.html">Multipoint</a></li><li><a href="scoord3d.Point.html">Point</a></li><li><a href="scoord3d.Polygon.html">Polygon</a></li><li><a href="scoord3d.Polyline.html">Polyline</a></li><li><a href="segment.Segment.html">Segment</a></li><li><a href="viewer.LabelImageViewer.html">LabelImageViewer</a></li><li><a href="viewer.OverviewImageViewer.html">OverviewImageViewer</a></li><li><a href="viewer.VolumeImageViewer.html">VolumeImageViewer</a></li></ul>
649
712
  </nav>
650
713
 
651
714
  <br class="clear">
652
715
 
653
716
  <footer>
654
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Thu Mar 10 2022 12:00:32 GMT-0500 (Eastern Standard Time)
717
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri Mar 11 2022 17:11:29 GMT-0500 (Eastern Standard Time)
655
718
  </footer>
656
719
 
657
720
  <script> prettyPrint(); </script>
@@ -365,7 +365,7 @@ with Image Type LABEL.</div>
365
365
 
366
366
  <dt class="tag-source">Source:</dt>
367
367
  <dd class="tag-source"><ul class="dummy"><li>
368
- <a href="viewer.js.html">viewer.js</a>, <a href="viewer.js.html#line4195">line 4195</a>
368
+ <a href="viewer.js.html">viewer.js</a>, <a href="viewer.js.html#line4226">line 4226</a>
369
369
  </li></ul></dd>
370
370
 
371
371
 
@@ -427,13 +427,13 @@ with Image Type LABEL.</div>
427
427
  </div>
428
428
 
429
429
  <nav>
430
- <h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="annotation.html">annotation</a></li><li><a href="api.html">api</a></li><li><a href="events.html">events</a></li><li><a href="mapping.html">mapping</a></li><li><a href="metadata.html">metadata</a></li><li><a href="opticalPath.html">opticalPath</a></li><li><a href="roi.html">roi</a></li><li><a href="scoord3d.html">scoord3d</a></li><li><a href="segment.html">segment</a></li><li><a href="utils.html">utils</a></li><li><a href="viewer.html">viewer</a></li></ul><h3>Classes</h3><ul><li><a href="annotation.AnnotationGroup.html">AnnotationGroup</a></li><li><a href="mapping.ParameterMapping.html">ParameterMapping</a></li><li><a href="metadata.Comprehensive3DSR.html">Comprehensive3DSR</a></li><li><a href="metadata.MicroscopyBulkSimpleAnnotations.html">MicroscopyBulkSimpleAnnotations</a></li><li><a href="metadata.ParametricMap.html">ParametricMap</a></li><li><a href="metadata.Segmentation.html">Segmentation</a></li><li><a href="metadata.VLWholeSlideMicroscopyImage.html">VLWholeSlideMicroscopyImage</a></li><li><a href="opticalPath.OpticalPath.html">OpticalPath</a></li><li><a href="PaletteColorLookupTable.html">PaletteColorLookupTable</a></li><li><a href="roi.ROI.html">ROI</a></li><li><a href="scoord3d.Ellipse.html">Ellipse</a></li><li><a href="scoord3d.Ellipsoid.html">Ellipsoid</a></li><li><a href="scoord3d.Multipoint.html">Multipoint</a></li><li><a href="scoord3d.Point.html">Point</a></li><li><a href="scoord3d.Polygon.html">Polygon</a></li><li><a href="scoord3d.Polyline.html">Polyline</a></li><li><a href="segment.Segment.html">Segment</a></li><li><a href="Transformation.html">Transformation</a></li><li><a href="viewer.LabelImageViewer.html">LabelImageViewer</a></li><li><a href="viewer.OverviewImageViewer.html">OverviewImageViewer</a></li><li><a href="viewer.VolumeImageViewer.html">VolumeImageViewer</a></li></ul><h3>Global</h3><ul><li><a href="global.html#_applyStyle">_applyStyle</a></li><li><a href="global.html#_applyStyles">_applyStyles</a></li><li><a href="global.html#_computeImagePyramid">_computeImagePyramid</a></li><li><a href="global.html#_hasMarker">_hasMarker</a></li><li><a href="global.html#_hasMarkup">_hasMarkup</a></li><li><a href="global.html#_isMeasurement">_isMeasurement</a></li><li><a href="global.html#_onInteractionEventHandler">_onInteractionEventHandler</a></li><li><a href="global.html#_setFeatureStyle">_setFeatureStyle</a></li><li><a href="global.html#applyInverseTransform">applyInverseTransform</a></li><li><a href="global.html#applyTransform">applyTransform</a></li><li><a href="global.html#are1DArraysAlmostEqual">are1DArraysAlmostEqual</a></li><li><a href="global.html#are2DArraysAlmostEqual">are2DArraysAlmostEqual</a></li><li><a href="global.html#areCodedConceptsEqual">areCodedConceptsEqual</a></li><li><a href="global.html#areNumbersAlmostEqual">areNumbersAlmostEqual</a></li><li><a href="global.html#ArrowMarker">ArrowMarker</a></li><li><a href="global.html#buildInverseTransform">buildInverseTransform</a></li><li><a href="global.html#buildPaletteColorLookupTable">buildPaletteColorLookupTable</a></li><li><a href="global.html#buildTransform">buildTransform</a></li><li><a href="global.html#computeRotation">computeRotation</a></li><li><a href="global.html#createColormap">createColormap</a></li><li><a href="global.html#createRotationMatrix">createRotationMatrix</a></li><li><a href="global.html#createWindow">createWindow</a></li><li><a href="global.html#doContentItemsMatch">doContentItemsMatch</a></li><li><a href="global.html#format">format</a></li><li><a href="global.html#getContentItemNameCodedConcept">getContentItemNameCodedConcept</a></li><li><a href="global.html#getShortestLineBetweenOverlayAndFeature">getShortestLineBetweenOverlayAndFeature</a></li><li><a href="global.html#getUnitSuffix">getUnitSuffix</a></li><li><a href="global.html#MeasurementMarkup">MeasurementMarkup</a></li><li><a href="global.html#rescale">rescale</a></li><li><a href="global.html#TextEvaluationMarkup">TextEvaluationMarkup</a></li></ul>
430
+ <h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="annotation.html">annotation</a></li><li><a href="api.html">api</a></li><li><a href="color.html">color</a></li><li><a href="events.html">events</a></li><li><a href="mapping.html">mapping</a></li><li><a href="metadata.html">metadata</a></li><li><a href="opticalPath.html">opticalPath</a></li><li><a href="roi.html">roi</a></li><li><a href="scoord3d.html">scoord3d</a></li><li><a href="segment.html">segment</a></li><li><a href="utils.html">utils</a></li><li><a href="viewer.html">viewer</a></li></ul><h3>Classes</h3><ul><li><a href="annotation.AnnotationGroup.html">AnnotationGroup</a></li><li><a href="color.PaletteColorLookupTable.html">PaletteColorLookupTable</a></li><li><a href="mapping.ParameterMapping.html">ParameterMapping</a></li><li><a href="mapping.Transformation.html">Transformation</a></li><li><a href="metadata.Comprehensive3DSR.html">Comprehensive3DSR</a></li><li><a href="metadata.MicroscopyBulkSimpleAnnotations.html">MicroscopyBulkSimpleAnnotations</a></li><li><a href="metadata.ParametricMap.html">ParametricMap</a></li><li><a href="metadata.Segmentation.html">Segmentation</a></li><li><a href="metadata.VLWholeSlideMicroscopyImage.html">VLWholeSlideMicroscopyImage</a></li><li><a href="opticalPath.OpticalPath.html">OpticalPath</a></li><li><a href="roi.ROI.html">ROI</a></li><li><a href="scoord3d.Ellipse.html">Ellipse</a></li><li><a href="scoord3d.Ellipsoid.html">Ellipsoid</a></li><li><a href="scoord3d.Multipoint.html">Multipoint</a></li><li><a href="scoord3d.Point.html">Point</a></li><li><a href="scoord3d.Polygon.html">Polygon</a></li><li><a href="scoord3d.Polyline.html">Polyline</a></li><li><a href="segment.Segment.html">Segment</a></li><li><a href="viewer.LabelImageViewer.html">LabelImageViewer</a></li><li><a href="viewer.OverviewImageViewer.html">OverviewImageViewer</a></li><li><a href="viewer.VolumeImageViewer.html">VolumeImageViewer</a></li></ul>
431
431
  </nav>
432
432
 
433
433
  <br class="clear">
434
434
 
435
435
  <footer>
436
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Thu Mar 10 2022 12:00:32 GMT-0500 (Eastern Standard Time)
436
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri Mar 11 2022 17:11:30 GMT-0500 (Eastern Standard Time)
437
437
  </footer>
438
438
 
439
439
  <script> prettyPrint(); </script>
@@ -365,7 +365,7 @@ with Image Type OVERVIEW.</div>
365
365
 
366
366
  <dt class="tag-source">Source:</dt>
367
367
  <dd class="tag-source"><ul class="dummy"><li>
368
- <a href="viewer.js.html">viewer.js</a>, <a href="viewer.js.html#line4169">line 4169</a>
368
+ <a href="viewer.js.html">viewer.js</a>, <a href="viewer.js.html#line4200">line 4200</a>
369
369
  </li></ul></dd>
370
370
 
371
371
 
@@ -427,13 +427,13 @@ with Image Type OVERVIEW.</div>
427
427
  </div>
428
428
 
429
429
  <nav>
430
- <h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="annotation.html">annotation</a></li><li><a href="api.html">api</a></li><li><a href="events.html">events</a></li><li><a href="mapping.html">mapping</a></li><li><a href="metadata.html">metadata</a></li><li><a href="opticalPath.html">opticalPath</a></li><li><a href="roi.html">roi</a></li><li><a href="scoord3d.html">scoord3d</a></li><li><a href="segment.html">segment</a></li><li><a href="utils.html">utils</a></li><li><a href="viewer.html">viewer</a></li></ul><h3>Classes</h3><ul><li><a href="annotation.AnnotationGroup.html">AnnotationGroup</a></li><li><a href="mapping.ParameterMapping.html">ParameterMapping</a></li><li><a href="metadata.Comprehensive3DSR.html">Comprehensive3DSR</a></li><li><a href="metadata.MicroscopyBulkSimpleAnnotations.html">MicroscopyBulkSimpleAnnotations</a></li><li><a href="metadata.ParametricMap.html">ParametricMap</a></li><li><a href="metadata.Segmentation.html">Segmentation</a></li><li><a href="metadata.VLWholeSlideMicroscopyImage.html">VLWholeSlideMicroscopyImage</a></li><li><a href="opticalPath.OpticalPath.html">OpticalPath</a></li><li><a href="PaletteColorLookupTable.html">PaletteColorLookupTable</a></li><li><a href="roi.ROI.html">ROI</a></li><li><a href="scoord3d.Ellipse.html">Ellipse</a></li><li><a href="scoord3d.Ellipsoid.html">Ellipsoid</a></li><li><a href="scoord3d.Multipoint.html">Multipoint</a></li><li><a href="scoord3d.Point.html">Point</a></li><li><a href="scoord3d.Polygon.html">Polygon</a></li><li><a href="scoord3d.Polyline.html">Polyline</a></li><li><a href="segment.Segment.html">Segment</a></li><li><a href="Transformation.html">Transformation</a></li><li><a href="viewer.LabelImageViewer.html">LabelImageViewer</a></li><li><a href="viewer.OverviewImageViewer.html">OverviewImageViewer</a></li><li><a href="viewer.VolumeImageViewer.html">VolumeImageViewer</a></li></ul><h3>Global</h3><ul><li><a href="global.html#_applyStyle">_applyStyle</a></li><li><a href="global.html#_applyStyles">_applyStyles</a></li><li><a href="global.html#_computeImagePyramid">_computeImagePyramid</a></li><li><a href="global.html#_hasMarker">_hasMarker</a></li><li><a href="global.html#_hasMarkup">_hasMarkup</a></li><li><a href="global.html#_isMeasurement">_isMeasurement</a></li><li><a href="global.html#_onInteractionEventHandler">_onInteractionEventHandler</a></li><li><a href="global.html#_setFeatureStyle">_setFeatureStyle</a></li><li><a href="global.html#applyInverseTransform">applyInverseTransform</a></li><li><a href="global.html#applyTransform">applyTransform</a></li><li><a href="global.html#are1DArraysAlmostEqual">are1DArraysAlmostEqual</a></li><li><a href="global.html#are2DArraysAlmostEqual">are2DArraysAlmostEqual</a></li><li><a href="global.html#areCodedConceptsEqual">areCodedConceptsEqual</a></li><li><a href="global.html#areNumbersAlmostEqual">areNumbersAlmostEqual</a></li><li><a href="global.html#ArrowMarker">ArrowMarker</a></li><li><a href="global.html#buildInverseTransform">buildInverseTransform</a></li><li><a href="global.html#buildPaletteColorLookupTable">buildPaletteColorLookupTable</a></li><li><a href="global.html#buildTransform">buildTransform</a></li><li><a href="global.html#computeRotation">computeRotation</a></li><li><a href="global.html#createColormap">createColormap</a></li><li><a href="global.html#createRotationMatrix">createRotationMatrix</a></li><li><a href="global.html#createWindow">createWindow</a></li><li><a href="global.html#doContentItemsMatch">doContentItemsMatch</a></li><li><a href="global.html#format">format</a></li><li><a href="global.html#getContentItemNameCodedConcept">getContentItemNameCodedConcept</a></li><li><a href="global.html#getShortestLineBetweenOverlayAndFeature">getShortestLineBetweenOverlayAndFeature</a></li><li><a href="global.html#getUnitSuffix">getUnitSuffix</a></li><li><a href="global.html#MeasurementMarkup">MeasurementMarkup</a></li><li><a href="global.html#rescale">rescale</a></li><li><a href="global.html#TextEvaluationMarkup">TextEvaluationMarkup</a></li></ul>
430
+ <h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="annotation.html">annotation</a></li><li><a href="api.html">api</a></li><li><a href="color.html">color</a></li><li><a href="events.html">events</a></li><li><a href="mapping.html">mapping</a></li><li><a href="metadata.html">metadata</a></li><li><a href="opticalPath.html">opticalPath</a></li><li><a href="roi.html">roi</a></li><li><a href="scoord3d.html">scoord3d</a></li><li><a href="segment.html">segment</a></li><li><a href="utils.html">utils</a></li><li><a href="viewer.html">viewer</a></li></ul><h3>Classes</h3><ul><li><a href="annotation.AnnotationGroup.html">AnnotationGroup</a></li><li><a href="color.PaletteColorLookupTable.html">PaletteColorLookupTable</a></li><li><a href="mapping.ParameterMapping.html">ParameterMapping</a></li><li><a href="mapping.Transformation.html">Transformation</a></li><li><a href="metadata.Comprehensive3DSR.html">Comprehensive3DSR</a></li><li><a href="metadata.MicroscopyBulkSimpleAnnotations.html">MicroscopyBulkSimpleAnnotations</a></li><li><a href="metadata.ParametricMap.html">ParametricMap</a></li><li><a href="metadata.Segmentation.html">Segmentation</a></li><li><a href="metadata.VLWholeSlideMicroscopyImage.html">VLWholeSlideMicroscopyImage</a></li><li><a href="opticalPath.OpticalPath.html">OpticalPath</a></li><li><a href="roi.ROI.html">ROI</a></li><li><a href="scoord3d.Ellipse.html">Ellipse</a></li><li><a href="scoord3d.Ellipsoid.html">Ellipsoid</a></li><li><a href="scoord3d.Multipoint.html">Multipoint</a></li><li><a href="scoord3d.Point.html">Point</a></li><li><a href="scoord3d.Polygon.html">Polygon</a></li><li><a href="scoord3d.Polyline.html">Polyline</a></li><li><a href="segment.Segment.html">Segment</a></li><li><a href="viewer.LabelImageViewer.html">LabelImageViewer</a></li><li><a href="viewer.OverviewImageViewer.html">OverviewImageViewer</a></li><li><a href="viewer.VolumeImageViewer.html">VolumeImageViewer</a></li></ul>
431
431
  </nav>
432
432
 
433
433
  <br class="clear">
434
434
 
435
435
  <footer>
436
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Thu Mar 10 2022 12:00:32 GMT-0500 (Eastern Standard Time)
436
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri Mar 11 2022 17:11:30 GMT-0500 (Eastern Standard Time)
437
437
  </footer>
438
438
 
439
439
  <script> prettyPrint(); </script>