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
@@ -0,0 +1,671 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title>JSDoc: Namespace: color</title>
6
+
7
+ <script src="scripts/prettify/prettify.js"> </script>
8
+ <script src="scripts/prettify/lang-css.js"> </script>
9
+ <!--[if lt IE 9]>
10
+ <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
11
+ <![endif]-->
12
+ <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
13
+ <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
14
+ </head>
15
+
16
+ <body>
17
+
18
+ <div id="main">
19
+
20
+ <h1 class="page-title">Namespace: color</h1>
21
+
22
+
23
+
24
+
25
+
26
+
27
+ <section>
28
+
29
+ <header>
30
+
31
+ <h2>color</h2>
32
+
33
+
34
+ </header>
35
+
36
+ <article>
37
+ <div class="container-overview">
38
+
39
+
40
+ <div class="description">Namespace for color.</div>
41
+
42
+
43
+
44
+
45
+
46
+ <dl class="details">
47
+
48
+
49
+
50
+
51
+
52
+
53
+
54
+
55
+
56
+
57
+
58
+
59
+
60
+
61
+
62
+
63
+
64
+
65
+
66
+
67
+
68
+
69
+
70
+
71
+
72
+
73
+ <dt class="tag-source">Source:</dt>
74
+ <dd class="tag-source"><ul class="dummy"><li>
75
+ <a href="dicom-microscopy-viewer.js.html">dicom-microscopy-viewer.js</a>, <a href="dicom-microscopy-viewer.js.html#line106">line 106</a>
76
+ </li></ul></dd>
77
+
78
+
79
+
80
+
81
+
82
+
83
+
84
+ </dl>
85
+
86
+
87
+
88
+
89
+ </div>
90
+
91
+
92
+
93
+
94
+
95
+
96
+ <h3 class="subsection-title">Classes</h3>
97
+
98
+ <dl>
99
+ <dt><a href="color.PaletteColorLookupTable.html">PaletteColorLookupTable</a></dt>
100
+ <dd></dd>
101
+ </dl>
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+
111
+ <h3 class="subsection-title">Members</h3>
112
+
113
+
114
+
115
+ <h4 class="name" id=".ColormapNames"><span class="type-signature">(static, constant) </span>ColormapNames<span class="type-signature"></span></h4>
116
+
117
+
118
+
119
+
120
+ <div class="description">
121
+ Enumerated values for color map names.
122
+ </div>
123
+
124
+
125
+
126
+
127
+
128
+
129
+
130
+ <dl class="details">
131
+
132
+
133
+
134
+
135
+
136
+
137
+
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+
147
+
148
+
149
+
150
+
151
+
152
+
153
+
154
+
155
+
156
+
157
+ <dt class="tag-source">Source:</dt>
158
+ <dd class="tag-source"><ul class="dummy"><li>
159
+ <a href="color.js.html">color.js</a>, <a href="color.js.html#line12">line 12</a>
160
+ </li></ul></dd>
161
+
162
+
163
+
164
+
165
+
166
+
167
+
168
+ </dl>
169
+
170
+
171
+
172
+
173
+
174
+
175
+
176
+
177
+
178
+
179
+ <h3 class="subsection-title">Methods</h3>
180
+
181
+
182
+
183
+
184
+
185
+
186
+
187
+ <h4 class="name" id=".buildPaletteColorLookupTable"><span class="type-signature">(static) </span>buildPaletteColorLookupTable<span class="signature">(options)</span><span class="type-signature"> &rarr; {PaletteColorLookupTable}</span></h4>
188
+
189
+
190
+
191
+
192
+
193
+
194
+ <div class="description">
195
+ Build a palette color lookup table object from a colormap.
196
+ </div>
197
+
198
+
199
+
200
+
201
+
202
+
203
+
204
+
205
+
206
+ <h5>Parameters:</h5>
207
+
208
+
209
+ <table class="params">
210
+ <thead>
211
+ <tr>
212
+
213
+ <th>Name</th>
214
+
215
+
216
+ <th>Type</th>
217
+
218
+
219
+
220
+
221
+
222
+ <th class="last">Description</th>
223
+ </tr>
224
+ </thead>
225
+
226
+ <tbody>
227
+
228
+
229
+ <tr>
230
+
231
+ <td class="name"><code>options</code></td>
232
+
233
+
234
+ <td class="type">
235
+
236
+
237
+ <span class="param-type">object</span>
238
+
239
+
240
+
241
+ </td>
242
+
243
+
244
+
245
+
246
+
247
+ <td class="description last">
248
+ <h6>Properties</h6>
249
+
250
+
251
+ <table class="params">
252
+ <thead>
253
+ <tr>
254
+
255
+ <th>Name</th>
256
+
257
+
258
+ <th>Type</th>
259
+
260
+
261
+
262
+
263
+
264
+ <th class="last">Description</th>
265
+ </tr>
266
+ </thead>
267
+
268
+ <tbody>
269
+
270
+
271
+ <tr>
272
+
273
+ <td class="name"><code>data</code></td>
274
+
275
+
276
+ <td class="type">
277
+
278
+
279
+ <span class="param-type">Array.&lt;Array.&lt;number>></span>
280
+
281
+
282
+
283
+ </td>
284
+
285
+
286
+
287
+
288
+
289
+ <td class="description last">Array of RGB triplets for each color</td>
290
+ </tr>
291
+
292
+
293
+
294
+ <tr>
295
+
296
+ <td class="name"><code>firstValueMapped</code></td>
297
+
298
+
299
+ <td class="type">
300
+
301
+
302
+ <span class="param-type">number</span>
303
+
304
+
305
+
306
+ </td>
307
+
308
+
309
+
310
+
311
+
312
+ <td class="description last">First value that should be mapped</td>
313
+ </tr>
314
+
315
+
316
+ </tbody>
317
+ </table>
318
+
319
+ </td>
320
+ </tr>
321
+
322
+
323
+ </tbody>
324
+ </table>
325
+
326
+
327
+
328
+
329
+
330
+
331
+ <dl class="details">
332
+
333
+
334
+
335
+
336
+
337
+
338
+
339
+
340
+
341
+
342
+
343
+
344
+
345
+
346
+
347
+
348
+
349
+
350
+
351
+
352
+
353
+
354
+
355
+
356
+
357
+
358
+ <dt class="tag-source">Source:</dt>
359
+ <dd class="tag-source"><ul class="dummy"><li>
360
+ <a href="color.js.html">color.js</a>, <a href="color.js.html#line75">line 75</a>
361
+ </li></ul></dd>
362
+
363
+
364
+
365
+
366
+
367
+
368
+
369
+ </dl>
370
+
371
+
372
+
373
+
374
+
375
+
376
+
377
+
378
+
379
+
380
+
381
+
382
+
383
+
384
+
385
+ <h5>Returns:</h5>
386
+
387
+
388
+ <div class="param-desc">
389
+ Mapping of grayscale pixel values to RGB color triplets
390
+ </div>
391
+
392
+
393
+
394
+ <dl>
395
+ <dt>
396
+ Type
397
+ </dt>
398
+ <dd>
399
+
400
+ <span class="param-type">PaletteColorLookupTable</span>
401
+
402
+
403
+ </dd>
404
+ </dl>
405
+
406
+
407
+
408
+
409
+
410
+
411
+
412
+
413
+
414
+
415
+
416
+
417
+
418
+ <h4 class="name" id=".createColormap"><span class="type-signature">(static) </span>createColormap<span class="signature">(options)</span><span class="type-signature"> &rarr; {Array.&lt;Array.&lt;number>>}</span></h4>
419
+
420
+
421
+
422
+
423
+
424
+
425
+ <div class="description">
426
+ Create a color map.
427
+ </div>
428
+
429
+
430
+
431
+
432
+
433
+
434
+
435
+
436
+
437
+ <h5>Parameters:</h5>
438
+
439
+
440
+ <table class="params">
441
+ <thead>
442
+ <tr>
443
+
444
+ <th>Name</th>
445
+
446
+
447
+ <th>Type</th>
448
+
449
+
450
+
451
+
452
+
453
+ <th class="last">Description</th>
454
+ </tr>
455
+ </thead>
456
+
457
+ <tbody>
458
+
459
+
460
+ <tr>
461
+
462
+ <td class="name"><code>options</code></td>
463
+
464
+
465
+ <td class="type">
466
+
467
+
468
+ <span class="param-type">object</span>
469
+
470
+
471
+
472
+ </td>
473
+
474
+
475
+
476
+
477
+
478
+ <td class="description last">
479
+ <h6>Properties</h6>
480
+
481
+
482
+ <table class="params">
483
+ <thead>
484
+ <tr>
485
+
486
+ <th>Name</th>
487
+
488
+
489
+ <th>Type</th>
490
+
491
+
492
+
493
+
494
+
495
+ <th class="last">Description</th>
496
+ </tr>
497
+ </thead>
498
+
499
+ <tbody>
500
+
501
+
502
+ <tr>
503
+
504
+ <td class="name"><code>name</code></td>
505
+
506
+
507
+ <td class="type">
508
+
509
+
510
+ <span class="param-type">string</span>
511
+
512
+
513
+
514
+ </td>
515
+
516
+
517
+
518
+
519
+
520
+ <td class="description last">Name of the color map</td>
521
+ </tr>
522
+
523
+
524
+
525
+ <tr>
526
+
527
+ <td class="name"><code>bins</code></td>
528
+
529
+
530
+ <td class="type">
531
+
532
+
533
+ <span class="param-type">string</span>
534
+
535
+
536
+
537
+ </td>
538
+
539
+
540
+
541
+
542
+
543
+ <td class="description last">Number of color bins</td>
544
+ </tr>
545
+
546
+
547
+ </tbody>
548
+ </table>
549
+
550
+ </td>
551
+ </tr>
552
+
553
+
554
+ </tbody>
555
+ </table>
556
+
557
+
558
+
559
+
560
+
561
+
562
+ <dl class="details">
563
+
564
+
565
+
566
+
567
+
568
+
569
+
570
+
571
+
572
+
573
+
574
+
575
+
576
+
577
+
578
+
579
+
580
+
581
+
582
+
583
+
584
+
585
+
586
+
587
+
588
+
589
+ <dt class="tag-source">Source:</dt>
590
+ <dd class="tag-source"><ul class="dummy"><li>
591
+ <a href="color.js.html">color.js</a>, <a href="color.js.html#line35">line 35</a>
592
+ </li></ul></dd>
593
+
594
+
595
+
596
+
597
+
598
+
599
+
600
+ </dl>
601
+
602
+
603
+
604
+
605
+
606
+
607
+
608
+
609
+
610
+
611
+
612
+
613
+
614
+
615
+
616
+ <h5>Returns:</h5>
617
+
618
+
619
+ <div class="param-desc">
620
+ RGB triplet for each color
621
+ </div>
622
+
623
+
624
+
625
+ <dl>
626
+ <dt>
627
+ Type
628
+ </dt>
629
+ <dd>
630
+
631
+ <span class="param-type">Array.&lt;Array.&lt;number>></span>
632
+
633
+
634
+ </dd>
635
+ </dl>
636
+
637
+
638
+
639
+
640
+
641
+
642
+
643
+
644
+
645
+
646
+
647
+
648
+
649
+ </article>
650
+
651
+ </section>
652
+
653
+
654
+
655
+
656
+ </div>
657
+
658
+ <nav>
659
+ <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>
660
+ </nav>
661
+
662
+ <br class="clear">
663
+
664
+ <footer>
665
+ 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)
666
+ </footer>
667
+
668
+ <script> prettyPrint(); </script>
669
+ <script src="scripts/linenumber.js"> </script>
670
+ </body>
671
+ </html>