dicom-microscopy-viewer 0.36.0 → 0.36.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.
Files changed (90) hide show
  1. package/README.md +5 -0
  2. package/build/6b62efd6c7f30afd4c78.module.wasm +0 -0
  3. package/build/dicom-microscopy-viewer.js +1 -1
  4. package/build/dicom-microscopy-viewer.js.map +1 -1
  5. package/docs/annotation.AnnotationGroup.html +2 -2
  6. package/docs/annotation.html +4 -3
  7. package/docs/annotation.js.html +8 -8
  8. package/docs/annotations__AnnotationManager.js.html +5 -5
  9. package/docs/annotations_markups__MarkupManager.js.html +52 -7
  10. package/docs/api.html +3 -3
  11. package/docs/color.PaletteColorLookupTable.html +688 -0
  12. package/docs/color.html +671 -0
  13. package/docs/color.js.html +30 -5
  14. package/docs/dicom-microscopy-viewer.js.html +30 -13
  15. package/docs/events.html +3 -3
  16. package/docs/events.js.html +2 -2
  17. package/docs/index.html +23 -24
  18. package/docs/mapping.ParameterMapping.html +10 -10
  19. package/docs/mapping.Transformation.html +180 -0
  20. package/docs/mapping.html +7 -4
  21. package/docs/mapping.js.html +7 -3
  22. package/docs/metadata.Comprehensive3DSR.html +2 -2
  23. package/docs/metadata.MicroscopyBulkSimpleAnnotations.html +2 -2
  24. package/docs/metadata.ParametricMap.html +2 -2
  25. package/docs/metadata.Segmentation.html +2 -2
  26. package/docs/metadata.VLWholeSlideMicroscopyImage.html +2 -2
  27. package/docs/metadata.html +3 -3
  28. package/docs/metadata.js.html +2 -2
  29. package/docs/opticalPath.OpticalPath.html +2 -2
  30. package/docs/opticalPath.html +3 -3
  31. package/docs/opticalPath.js.html +2 -2
  32. package/docs/pyramid.js.html +6 -4
  33. package/docs/roi.ROI.html +2 -2
  34. package/docs/roi.html +4 -4
  35. package/docs/roi.js.html +4 -4
  36. package/docs/scoord3d.Ellipse.html +2 -2
  37. package/docs/scoord3d.Ellipsoid.html +2 -2
  38. package/docs/scoord3d.Multipoint.html +2 -2
  39. package/docs/scoord3d.Point.html +2 -2
  40. package/docs/scoord3d.Polygon.html +2 -2
  41. package/docs/scoord3d.Polyline.html +2 -2
  42. package/docs/scoord3d.html +3 -3
  43. package/docs/scoord3d.js.html +4 -4
  44. package/docs/segment.Segment.html +2 -2
  45. package/docs/segment.html +4 -4
  46. package/docs/segment.js.html +2 -2
  47. package/docs/utils.html +2812 -5
  48. package/docs/utils.js.html +77 -14
  49. package/docs/viewer.LabelImageViewer.html +3 -3
  50. package/docs/viewer.OverviewImageViewer.html +3 -3
  51. package/docs/viewer.VolumeImageViewer.html +87 -87
  52. package/docs/viewer.html +3 -3
  53. package/docs/viewer.js.html +45 -14
  54. package/package.json +3 -3
  55. package/src/annotation.js +6 -6
  56. package/src/annotations/_AnnotationManager.js +3 -3
  57. package/src/annotations/markers/arrow.js +11 -2
  58. package/src/annotations/markups/_MarkupManager.js +49 -4
  59. package/src/annotations/markups/measurement.js +14 -6
  60. package/src/annotations/markups/textEvaluation.js +23 -8
  61. package/src/color.js +28 -3
  62. package/src/dicom-microscopy-viewer.js +28 -11
  63. package/src/mapping.js +5 -1
  64. package/src/pyramid.js +4 -2
  65. package/src/roi.js +2 -2
  66. package/src/scoord3d.js +2 -2
  67. package/src/utils.js +75 -12
  68. package/src/viewer.js +37 -10
  69. package/docs/PaletteColorLookupTable.html +0 -364
  70. package/docs/Transformation.html +0 -179
  71. package/docs/annotations_markers_arrow.js.html +0 -224
  72. package/docs/annotations_markups_measurement.js.html +0 -136
  73. package/docs/annotations_markups_textEvaluation.js.html +0 -184
  74. package/docs/annotations_markups_utils_getShortestLineBetweenOverlayAndFeature.js.html +0 -96
  75. package/docs/global.html +0 -6062
  76. package/examples/basic/index.html +0 -77
  77. package/examples/blend/index.html +0 -209
  78. package/examples/events/index.html +0 -436
  79. package/examples/index.html +0 -32
  80. package/examples/js/FileSaver.min.js +0 -3
  81. package/examples/js/jquery.min.js +0 -4
  82. package/examples/js/jquery.min.map +0 -1
  83. package/examples/simple_viewer/index.html +0 -520
  84. package/examples/simple_viewer/scripts/dicomdict.js +0 -34030
  85. package/examples/simple_viewer/scripts/metadata.js +0 -79
  86. package/examples/simple_viewer/styles/main.css +0 -238
  87. package/examples/structured_report/index.html +0 -278
  88. package/examples/styles.js +0 -46
  89. package/src/annotations/markups/utils/getShortestLineBetweenOverlayAndFeature.js +0 -45
  90. package/src/annotations/markups/utils/index.js +0 -1
@@ -0,0 +1,688 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title>JSDoc: Class: PaletteColorLookupTable</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">Class: PaletteColorLookupTable</h1>
21
+
22
+
23
+
24
+
25
+
26
+
27
+ <section>
28
+
29
+ <header>
30
+
31
+ <h2><span class="attribs"><span class="type-signature"></span></span>
32
+ <span class="ancestors"><a href="color.html">color</a>.</span>PaletteColorLookupTable<span class="signature">(options)</span><span class="type-signature"></span></h2>
33
+
34
+ <div class="class-description">A Palette Color Lookup Table</div>
35
+
36
+
37
+ </header>
38
+
39
+ <article>
40
+ <div class="container-overview">
41
+
42
+
43
+
44
+
45
+ <h2>Constructor</h2>
46
+
47
+
48
+
49
+ <h4 class="name" id="PaletteColorLookupTable"><span class="type-signature"></span>new PaletteColorLookupTable<span class="signature">(options)</span><span class="type-signature"></span></h4>
50
+
51
+
52
+
53
+
54
+
55
+
56
+ <div class="description">
57
+ Create a new PaletteColorLookupTable object.
58
+ </div>
59
+
60
+
61
+
62
+
63
+
64
+
65
+
66
+
67
+
68
+ <h5>Parameters:</h5>
69
+
70
+
71
+ <table class="params">
72
+ <thead>
73
+ <tr>
74
+
75
+ <th>Name</th>
76
+
77
+
78
+ <th>Type</th>
79
+
80
+
81
+
82
+
83
+
84
+ <th class="last">Description</th>
85
+ </tr>
86
+ </thead>
87
+
88
+ <tbody>
89
+
90
+
91
+ <tr>
92
+
93
+ <td class="name"><code>options</code></td>
94
+
95
+
96
+ <td class="type">
97
+
98
+
99
+ <span class="param-type">object</span>
100
+
101
+
102
+
103
+ </td>
104
+
105
+
106
+
107
+
108
+
109
+ <td class="description last">
110
+ <h6>Properties</h6>
111
+
112
+
113
+ <table class="params">
114
+ <thead>
115
+ <tr>
116
+
117
+ <th>Name</th>
118
+
119
+
120
+ <th>Type</th>
121
+
122
+
123
+
124
+
125
+
126
+ <th class="last">Description</th>
127
+ </tr>
128
+ </thead>
129
+
130
+ <tbody>
131
+
132
+
133
+ <tr>
134
+
135
+ <td class="name"><code>uid</code></td>
136
+
137
+
138
+ <td class="type">
139
+
140
+
141
+ <span class="param-type">string</span>
142
+
143
+
144
+
145
+ </td>
146
+
147
+
148
+
149
+
150
+
151
+ <td class="description last">UID</td>
152
+ </tr>
153
+
154
+
155
+
156
+ <tr>
157
+
158
+ <td class="name"><code>redDescriptor</code></td>
159
+
160
+
161
+ <td class="type">
162
+
163
+
164
+ <span class="param-type">Array.&lt;number></span>
165
+
166
+
167
+
168
+ </td>
169
+
170
+
171
+
172
+
173
+
174
+ <td class="description last">Red LUT descriptor</td>
175
+ </tr>
176
+
177
+
178
+
179
+ <tr>
180
+
181
+ <td class="name"><code>greenDescriptor</code></td>
182
+
183
+
184
+ <td class="type">
185
+
186
+
187
+ <span class="param-type">Array.&lt;number></span>
188
+
189
+
190
+
191
+ </td>
192
+
193
+
194
+
195
+
196
+
197
+ <td class="description last">Green LUT descriptor</td>
198
+ </tr>
199
+
200
+
201
+
202
+ <tr>
203
+
204
+ <td class="name"><code>blueDescriptor</code></td>
205
+
206
+
207
+ <td class="type">
208
+
209
+
210
+ <span class="param-type">Array.&lt;number></span>
211
+
212
+
213
+
214
+ </td>
215
+
216
+
217
+
218
+
219
+
220
+ <td class="description last">Blue LUT descriptor</td>
221
+ </tr>
222
+
223
+
224
+
225
+ <tr>
226
+
227
+ <td class="name"><code>redData</code></td>
228
+
229
+
230
+ <td class="type">
231
+
232
+
233
+ <span class="param-type">Uint8Array</span>
234
+ |
235
+
236
+ <span class="param-type">Uint16Array</span>
237
+
238
+
239
+
240
+ </td>
241
+
242
+
243
+
244
+
245
+
246
+ <td class="description last">Red LUT data</td>
247
+ </tr>
248
+
249
+
250
+
251
+ <tr>
252
+
253
+ <td class="name"><code>greenData</code></td>
254
+
255
+
256
+ <td class="type">
257
+
258
+
259
+ <span class="param-type">Uint8Array</span>
260
+ |
261
+
262
+ <span class="param-type">Uint16Array</span>
263
+
264
+
265
+
266
+ </td>
267
+
268
+
269
+
270
+
271
+
272
+ <td class="description last">Green LUT data</td>
273
+ </tr>
274
+
275
+
276
+
277
+ <tr>
278
+
279
+ <td class="name"><code>blueData</code></td>
280
+
281
+
282
+ <td class="type">
283
+
284
+
285
+ <span class="param-type">Uint8Array</span>
286
+ |
287
+
288
+ <span class="param-type">Uint16Array</span>
289
+
290
+
291
+
292
+ </td>
293
+
294
+
295
+
296
+
297
+
298
+ <td class="description last">Blue LUT data</td>
299
+ </tr>
300
+
301
+
302
+
303
+ <tr>
304
+
305
+ <td class="name"><code>redSegmentedData</code></td>
306
+
307
+
308
+ <td class="type">
309
+
310
+
311
+ <span class="param-type">Uint8Array</span>
312
+ |
313
+
314
+ <span class="param-type">Uint16Array</span>
315
+
316
+
317
+
318
+ </td>
319
+
320
+
321
+
322
+
323
+
324
+ <td class="description last">Red segmented LUT data</td>
325
+ </tr>
326
+
327
+
328
+
329
+ <tr>
330
+
331
+ <td class="name"><code>greenSegmentedData</code></td>
332
+
333
+
334
+ <td class="type">
335
+
336
+
337
+ <span class="param-type">Uint8Array</span>
338
+ |
339
+
340
+ <span class="param-type">Uint16Array</span>
341
+
342
+
343
+
344
+ </td>
345
+
346
+
347
+
348
+
349
+
350
+ <td class="description last">Green segmented LUT data</td>
351
+ </tr>
352
+
353
+
354
+
355
+ <tr>
356
+
357
+ <td class="name"><code>blueSegmentedData</code></td>
358
+
359
+
360
+ <td class="type">
361
+
362
+
363
+ <span class="param-type">Uint8Array</span>
364
+ |
365
+
366
+ <span class="param-type">Uint16Array</span>
367
+
368
+
369
+
370
+ </td>
371
+
372
+
373
+
374
+
375
+
376
+ <td class="description last">Blue segmented LUT data</td>
377
+ </tr>
378
+
379
+
380
+ </tbody>
381
+ </table>
382
+
383
+ </td>
384
+ </tr>
385
+
386
+
387
+ </tbody>
388
+ </table>
389
+
390
+
391
+
392
+
393
+
394
+
395
+ <dl class="details">
396
+
397
+
398
+
399
+
400
+
401
+
402
+
403
+
404
+
405
+
406
+
407
+
408
+
409
+
410
+
411
+
412
+
413
+
414
+
415
+
416
+
417
+
418
+
419
+
420
+
421
+
422
+ <dt class="tag-source">Source:</dt>
423
+ <dd class="tag-source"><ul class="dummy"><li>
424
+ <a href="color.js.html">color.js</a>, <a href="color.js.html#line119">line 119</a>
425
+ </li></ul></dd>
426
+
427
+
428
+
429
+
430
+
431
+
432
+
433
+ </dl>
434
+
435
+
436
+
437
+
438
+
439
+
440
+
441
+
442
+
443
+
444
+
445
+
446
+
447
+
448
+
449
+
450
+
451
+
452
+
453
+
454
+
455
+ </div>
456
+
457
+
458
+
459
+
460
+
461
+
462
+
463
+
464
+
465
+
466
+
467
+
468
+
469
+
470
+ <h3 class="subsection-title">Members</h3>
471
+
472
+
473
+
474
+ <h4 class="name" id="data"><span class="type-signature"></span>data<span class="type-signature"></span></h4>
475
+
476
+
477
+
478
+
479
+ <div class="description">
480
+ Get Palette Color Lookup Table Data
481
+ </div>
482
+
483
+
484
+
485
+
486
+
487
+
488
+
489
+ <dl class="details">
490
+
491
+
492
+
493
+
494
+
495
+
496
+
497
+
498
+
499
+
500
+
501
+
502
+
503
+
504
+
505
+
506
+
507
+
508
+
509
+
510
+
511
+
512
+
513
+
514
+
515
+
516
+ <dt class="tag-source">Source:</dt>
517
+ <dd class="tag-source"><ul class="dummy"><li>
518
+ <a href="color.js.html">color.js</a>, <a href="color.js.html#line330">line 330</a>
519
+ </li></ul></dd>
520
+
521
+
522
+
523
+
524
+
525
+
526
+
527
+ </dl>
528
+
529
+
530
+
531
+
532
+
533
+
534
+
535
+
536
+ <h4 class="name" id="firstValueMapped"><span class="type-signature"></span>firstValueMapped<span class="type-signature"></span></h4>
537
+
538
+
539
+
540
+
541
+ <div class="description">
542
+ Get first value mapped
543
+ </div>
544
+
545
+
546
+
547
+
548
+
549
+
550
+
551
+ <dl class="details">
552
+
553
+
554
+
555
+
556
+
557
+
558
+
559
+
560
+
561
+
562
+
563
+
564
+
565
+
566
+
567
+
568
+
569
+
570
+
571
+
572
+
573
+
574
+
575
+
576
+
577
+
578
+ <dt class="tag-source">Source:</dt>
579
+ <dd class="tag-source"><ul class="dummy"><li>
580
+ <a href="color.js.html">color.js</a>, <a href="color.js.html#line407">line 407</a>
581
+ </li></ul></dd>
582
+
583
+
584
+
585
+
586
+
587
+
588
+
589
+ </dl>
590
+
591
+
592
+
593
+
594
+
595
+
596
+
597
+
598
+ <h4 class="name" id="uid"><span class="type-signature"></span>uid<span class="type-signature"></span></h4>
599
+
600
+
601
+
602
+
603
+ <div class="description">
604
+ Get Palette Color Lookup Table UID
605
+ </div>
606
+
607
+
608
+
609
+
610
+
611
+
612
+
613
+ <dl class="details">
614
+
615
+
616
+
617
+
618
+
619
+
620
+
621
+
622
+
623
+
624
+
625
+
626
+
627
+
628
+
629
+
630
+
631
+
632
+
633
+
634
+
635
+
636
+
637
+
638
+
639
+
640
+ <dt class="tag-source">Source:</dt>
641
+ <dd class="tag-source"><ul class="dummy"><li>
642
+ <a href="color.js.html">color.js</a>, <a href="color.js.html#line321">line 321</a>
643
+ </li></ul></dd>
644
+
645
+
646
+
647
+
648
+
649
+
650
+
651
+ </dl>
652
+
653
+
654
+
655
+
656
+
657
+
658
+
659
+
660
+
661
+
662
+
663
+
664
+
665
+
666
+ </article>
667
+
668
+ </section>
669
+
670
+
671
+
672
+
673
+ </div>
674
+
675
+ <nav>
676
+ <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>
677
+ </nav>
678
+
679
+ <br class="clear">
680
+
681
+ <footer>
682
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri Mar 11 2022 10:01:02 GMT-0500 (Eastern Standard Time)
683
+ </footer>
684
+
685
+ <script> prettyPrint(); </script>
686
+ <script src="scripts/linenumber.js"> </script>
687
+ </body>
688
+ </html>