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
package/docs/utils.html CHANGED
@@ -72,7 +72,7 @@
72
72
 
73
73
  <dt class="tag-source">Source:</dt>
74
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#line152">line 152</a>
75
+ <a href="dicom-microscopy-viewer.js.html">dicom-microscopy-viewer.js</a>, <a href="dicom-microscopy-viewer.js.html#line168">line 168</a>
76
76
  </li></ul></dd>
77
77
 
78
78
 
@@ -111,6 +111,2562 @@
111
111
 
112
112
 
113
113
 
114
+ <h4 class="name" id=".applyInverseTransform"><span class="type-signature">(static) </span>applyInverseTransform<span class="signature">(options)</span><span class="type-signature"> &rarr; {Array.&lt;number>}</span></h4>
115
+
116
+
117
+
118
+
119
+
120
+
121
+ <div class="description">
122
+ Apply an affine transformation to a reference coordinate in the slide
123
+ coordinate system to map it into the total pixel matrix.
124
+ </div>
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+ <h5>Parameters:</h5>
135
+
136
+
137
+ <table class="params">
138
+ <thead>
139
+ <tr>
140
+
141
+ <th>Name</th>
142
+
143
+
144
+ <th>Type</th>
145
+
146
+
147
+
148
+
149
+
150
+ <th class="last">Description</th>
151
+ </tr>
152
+ </thead>
153
+
154
+ <tbody>
155
+
156
+
157
+ <tr>
158
+
159
+ <td class="name"><code>options</code></td>
160
+
161
+
162
+ <td class="type">
163
+
164
+
165
+ <span class="param-type">Object</span>
166
+
167
+
168
+
169
+ </td>
170
+
171
+
172
+
173
+
174
+
175
+ <td class="description last">Options</td>
176
+ </tr>
177
+
178
+
179
+ </tbody>
180
+ </table>
181
+
182
+
183
+
184
+
185
+
186
+
187
+ <dl class="details">
188
+
189
+
190
+
191
+
192
+
193
+
194
+
195
+
196
+
197
+
198
+
199
+
200
+
201
+
202
+
203
+
204
+
205
+
206
+
207
+
208
+
209
+
210
+
211
+
212
+
213
+
214
+ <dt class="tag-source">Source:</dt>
215
+ <dd class="tag-source"><ul class="dummy"><li>
216
+ <a href="utils.js.html">utils.js</a>, <a href="utils.js.html#line302">line 302</a>
217
+ </li></ul></dd>
218
+
219
+
220
+
221
+
222
+
223
+
224
+
225
+ </dl>
226
+
227
+
228
+
229
+
230
+
231
+
232
+
233
+
234
+
235
+
236
+
237
+
238
+
239
+
240
+
241
+ <h5>Returns:</h5>
242
+
243
+
244
+ <div class="param-desc">
245
+ (column, row) image coordinate
246
+ </div>
247
+
248
+
249
+
250
+ <dl>
251
+ <dt>
252
+ Type
253
+ </dt>
254
+ <dd>
255
+
256
+ <span class="param-type">Array.&lt;number></span>
257
+
258
+
259
+ </dd>
260
+ </dl>
261
+
262
+
263
+
264
+
265
+
266
+
267
+
268
+
269
+
270
+
271
+
272
+
273
+
274
+ <h4 class="name" id=".applyTransform"><span class="type-signature">(static) </span>applyTransform<span class="signature">(options)</span><span class="type-signature"> &rarr; {Array.&lt;number>}</span></h4>
275
+
276
+
277
+
278
+
279
+
280
+
281
+ <div class="description">
282
+ Apply an affine transformation to an image coordinate in the total pixel
283
+ matrix to map it into the slide coordinate system.
284
+ </div>
285
+
286
+
287
+
288
+
289
+
290
+
291
+
292
+
293
+
294
+ <h5>Parameters:</h5>
295
+
296
+
297
+ <table class="params">
298
+ <thead>
299
+ <tr>
300
+
301
+ <th>Name</th>
302
+
303
+
304
+ <th>Type</th>
305
+
306
+
307
+
308
+
309
+
310
+ <th class="last">Description</th>
311
+ </tr>
312
+ </thead>
313
+
314
+ <tbody>
315
+
316
+
317
+ <tr>
318
+
319
+ <td class="name"><code>options</code></td>
320
+
321
+
322
+ <td class="type">
323
+
324
+
325
+ <span class="param-type">Object</span>
326
+
327
+
328
+
329
+ </td>
330
+
331
+
332
+
333
+
334
+
335
+ <td class="description last">Options</td>
336
+ </tr>
337
+
338
+
339
+ </tbody>
340
+ </table>
341
+
342
+
343
+
344
+
345
+
346
+
347
+ <dl class="details">
348
+
349
+
350
+
351
+
352
+
353
+
354
+
355
+
356
+
357
+
358
+
359
+
360
+
361
+
362
+
363
+
364
+
365
+
366
+
367
+
368
+
369
+
370
+
371
+
372
+
373
+
374
+ <dt class="tag-source">Source:</dt>
375
+ <dd class="tag-source"><ul class="dummy"><li>
376
+ <a href="utils.js.html">utils.js</a>, <a href="utils.js.html#line195">line 195</a>
377
+ </li></ul></dd>
378
+
379
+
380
+
381
+
382
+
383
+
384
+
385
+ </dl>
386
+
387
+
388
+
389
+
390
+
391
+
392
+
393
+
394
+
395
+
396
+
397
+
398
+
399
+
400
+
401
+ <h5>Returns:</h5>
402
+
403
+
404
+ <div class="param-desc">
405
+ (x, y) reference coordinate
406
+ </div>
407
+
408
+
409
+
410
+ <dl>
411
+ <dt>
412
+ Type
413
+ </dt>
414
+ <dd>
415
+
416
+ <span class="param-type">Array.&lt;number></span>
417
+
418
+
419
+ </dd>
420
+ </dl>
421
+
422
+
423
+
424
+
425
+
426
+
427
+
428
+
429
+
430
+
431
+
432
+
433
+
434
+ <h4 class="name" id=".are1DArraysAlmostEqual"><span class="type-signature">(static) </span>are1DArraysAlmostEqual<span class="signature">(array, array, eps)</span><span class="type-signature"> &rarr; {boolean}</span></h4>
435
+
436
+
437
+
438
+
439
+
440
+
441
+ <div class="description">
442
+ Check if 1D arrays are equal.
443
+ </div>
444
+
445
+
446
+
447
+
448
+
449
+
450
+
451
+
452
+
453
+ <h5>Parameters:</h5>
454
+
455
+
456
+ <table class="params">
457
+ <thead>
458
+ <tr>
459
+
460
+ <th>Name</th>
461
+
462
+
463
+ <th>Type</th>
464
+
465
+
466
+
467
+
468
+
469
+ <th class="last">Description</th>
470
+ </tr>
471
+ </thead>
472
+
473
+ <tbody>
474
+
475
+
476
+ <tr>
477
+
478
+ <td class="name"><code>array</code></td>
479
+
480
+
481
+ <td class="type">
482
+
483
+
484
+ <span class="param-type">Array.&lt;number></span>
485
+
486
+
487
+
488
+ </td>
489
+
490
+
491
+
492
+
493
+
494
+ <td class="description last">a</td>
495
+ </tr>
496
+
497
+
498
+
499
+ <tr>
500
+
501
+ <td class="name"><code>array</code></td>
502
+
503
+
504
+ <td class="type">
505
+
506
+
507
+ <span class="param-type">Array.&lt;number></span>
508
+
509
+
510
+
511
+ </td>
512
+
513
+
514
+
515
+
516
+
517
+ <td class="description last">b</td>
518
+ </tr>
519
+
520
+
521
+
522
+ <tr>
523
+
524
+ <td class="name"><code>eps</code></td>
525
+
526
+
527
+ <td class="type">
528
+
529
+
530
+ <span class="param-type">number</span>
531
+
532
+
533
+
534
+ </td>
535
+
536
+
537
+
538
+
539
+
540
+ <td class="description last"></td>
541
+ </tr>
542
+
543
+
544
+ </tbody>
545
+ </table>
546
+
547
+
548
+
549
+
550
+
551
+
552
+ <dl class="details">
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
+
579
+ <dt class="tag-source">Source:</dt>
580
+ <dd class="tag-source"><ul class="dummy"><li>
581
+ <a href="utils.js.html">utils.js</a>, <a href="utils.js.html#line442">line 442</a>
582
+ </li></ul></dd>
583
+
584
+
585
+
586
+
587
+
588
+
589
+
590
+ </dl>
591
+
592
+
593
+
594
+
595
+
596
+
597
+
598
+
599
+
600
+
601
+
602
+
603
+
604
+
605
+
606
+ <h5>Returns:</h5>
607
+
608
+
609
+ <div class="param-desc">
610
+ yes/no answer
611
+ </div>
612
+
613
+
614
+
615
+ <dl>
616
+ <dt>
617
+ Type
618
+ </dt>
619
+ <dd>
620
+
621
+ <span class="param-type">boolean</span>
622
+
623
+
624
+ </dd>
625
+ </dl>
626
+
627
+
628
+
629
+
630
+
631
+
632
+
633
+
634
+
635
+
636
+
637
+
638
+
639
+ <h4 class="name" id=".are2DArraysAlmostEqual"><span class="type-signature">(static) </span>are2DArraysAlmostEqual<span class="signature">(array, array, eps)</span><span class="type-signature"> &rarr; {boolean}</span></h4>
640
+
641
+
642
+
643
+
644
+
645
+
646
+ <div class="description">
647
+ Check if 2D arrays are equal.
648
+ </div>
649
+
650
+
651
+
652
+
653
+
654
+
655
+
656
+
657
+
658
+ <h5>Parameters:</h5>
659
+
660
+
661
+ <table class="params">
662
+ <thead>
663
+ <tr>
664
+
665
+ <th>Name</th>
666
+
667
+
668
+ <th>Type</th>
669
+
670
+
671
+
672
+
673
+
674
+ <th class="last">Description</th>
675
+ </tr>
676
+ </thead>
677
+
678
+ <tbody>
679
+
680
+
681
+ <tr>
682
+
683
+ <td class="name"><code>array</code></td>
684
+
685
+
686
+ <td class="type">
687
+
688
+
689
+ <span class="param-type">Array.&lt;number></span>
690
+
691
+
692
+
693
+ </td>
694
+
695
+
696
+
697
+
698
+
699
+ <td class="description last">a</td>
700
+ </tr>
701
+
702
+
703
+
704
+ <tr>
705
+
706
+ <td class="name"><code>array</code></td>
707
+
708
+
709
+ <td class="type">
710
+
711
+
712
+ <span class="param-type">Array.&lt;number></span>
713
+
714
+
715
+
716
+ </td>
717
+
718
+
719
+
720
+
721
+
722
+ <td class="description last">b</td>
723
+ </tr>
724
+
725
+
726
+
727
+ <tr>
728
+
729
+ <td class="name"><code>eps</code></td>
730
+
731
+
732
+ <td class="type">
733
+
734
+
735
+ <span class="param-type">number</span>
736
+
737
+
738
+
739
+ </td>
740
+
741
+
742
+
743
+
744
+
745
+ <td class="description last"></td>
746
+ </tr>
747
+
748
+
749
+ </tbody>
750
+ </table>
751
+
752
+
753
+
754
+
755
+
756
+
757
+ <dl class="details">
758
+
759
+
760
+
761
+
762
+
763
+
764
+
765
+
766
+
767
+
768
+
769
+
770
+
771
+
772
+
773
+
774
+
775
+
776
+
777
+
778
+
779
+
780
+
781
+
782
+
783
+
784
+ <dt class="tag-source">Source:</dt>
785
+ <dd class="tag-source"><ul class="dummy"><li>
786
+ <a href="utils.js.html">utils.js</a>, <a href="utils.js.html#line415">line 415</a>
787
+ </li></ul></dd>
788
+
789
+
790
+
791
+
792
+
793
+
794
+
795
+ </dl>
796
+
797
+
798
+
799
+
800
+
801
+
802
+
803
+
804
+
805
+
806
+
807
+
808
+
809
+
810
+
811
+ <h5>Returns:</h5>
812
+
813
+
814
+ <div class="param-desc">
815
+ yes/no answer
816
+ </div>
817
+
818
+
819
+
820
+ <dl>
821
+ <dt>
822
+ Type
823
+ </dt>
824
+ <dd>
825
+
826
+ <span class="param-type">boolean</span>
827
+
828
+
829
+ </dd>
830
+ </dl>
831
+
832
+
833
+
834
+
835
+
836
+
837
+
838
+
839
+
840
+
841
+
842
+
843
+
844
+ <h4 class="name" id=".areCodedConceptsEqual"><span class="type-signature">(static) </span>areCodedConceptsEqual<span class="signature">(codedConcept1, codedConcept2)</span><span class="type-signature"> &rarr; {boolean}</span></h4>
845
+
846
+
847
+
848
+
849
+
850
+
851
+ <div class="description">
852
+ Check whether coded concepts are equal.
853
+ </div>
854
+
855
+
856
+
857
+
858
+
859
+
860
+
861
+
862
+
863
+ <h5>Parameters:</h5>
864
+
865
+
866
+ <table class="params">
867
+ <thead>
868
+ <tr>
869
+
870
+ <th>Name</th>
871
+
872
+
873
+ <th>Type</th>
874
+
875
+
876
+
877
+
878
+
879
+ <th class="last">Description</th>
880
+ </tr>
881
+ </thead>
882
+
883
+ <tbody>
884
+
885
+
886
+ <tr>
887
+
888
+ <td class="name"><code>codedConcept1</code></td>
889
+
890
+
891
+ <td class="type">
892
+
893
+
894
+ <span class="param-type">object</span>
895
+
896
+
897
+
898
+ </td>
899
+
900
+
901
+
902
+
903
+
904
+ <td class="description last"></td>
905
+ </tr>
906
+
907
+
908
+
909
+ <tr>
910
+
911
+ <td class="name"><code>codedConcept2</code></td>
912
+
913
+
914
+ <td class="type">
915
+
916
+
917
+ <span class="param-type">object</span>
918
+
919
+
920
+
921
+ </td>
922
+
923
+
924
+
925
+
926
+
927
+ <td class="description last"></td>
928
+ </tr>
929
+
930
+
931
+ </tbody>
932
+ </table>
933
+
934
+
935
+
936
+
937
+
938
+
939
+ <dl class="details">
940
+
941
+
942
+
943
+
944
+
945
+
946
+
947
+
948
+
949
+
950
+
951
+
952
+
953
+
954
+
955
+
956
+
957
+
958
+
959
+
960
+
961
+
962
+
963
+
964
+
965
+
966
+ <dt class="tag-source">Source:</dt>
967
+ <dd class="tag-source"><ul class="dummy"><li>
968
+ <a href="utils.js.html">utils.js</a>, <a href="utils.js.html#line539">line 539</a>
969
+ </li></ul></dd>
970
+
971
+
972
+
973
+
974
+
975
+
976
+
977
+ </dl>
978
+
979
+
980
+
981
+
982
+
983
+
984
+
985
+
986
+
987
+
988
+
989
+
990
+
991
+
992
+
993
+ <h5>Returns:</h5>
994
+
995
+
996
+ <div class="param-desc">
997
+ yes/no answer
998
+ </div>
999
+
1000
+
1001
+
1002
+ <dl>
1003
+ <dt>
1004
+ Type
1005
+ </dt>
1006
+ <dd>
1007
+
1008
+ <span class="param-type">boolean</span>
1009
+
1010
+
1011
+ </dd>
1012
+ </dl>
1013
+
1014
+
1015
+
1016
+
1017
+
1018
+
1019
+
1020
+
1021
+
1022
+
1023
+
1024
+
1025
+
1026
+ <h4 class="name" id=".areNumbersAlmostEqual"><span class="type-signature">(static) </span>areNumbersAlmostEqual<span class="signature">(a, b, eps)</span><span class="type-signature"> &rarr; {boolean}</span></h4>
1027
+
1028
+
1029
+
1030
+
1031
+
1032
+
1033
+ <div class="description">
1034
+ Check if two numbers are equal.
1035
+ </div>
1036
+
1037
+
1038
+
1039
+
1040
+
1041
+
1042
+
1043
+
1044
+
1045
+ <h5>Parameters:</h5>
1046
+
1047
+
1048
+ <table class="params">
1049
+ <thead>
1050
+ <tr>
1051
+
1052
+ <th>Name</th>
1053
+
1054
+
1055
+ <th>Type</th>
1056
+
1057
+
1058
+
1059
+
1060
+ <th>Default</th>
1061
+
1062
+
1063
+ <th class="last">Description</th>
1064
+ </tr>
1065
+ </thead>
1066
+
1067
+ <tbody>
1068
+
1069
+
1070
+ <tr>
1071
+
1072
+ <td class="name"><code>a</code></td>
1073
+
1074
+
1075
+ <td class="type">
1076
+
1077
+
1078
+ <span class="param-type">number</span>
1079
+
1080
+
1081
+
1082
+ </td>
1083
+
1084
+
1085
+
1086
+
1087
+ <td class="default">
1088
+
1089
+ </td>
1090
+
1091
+
1092
+ <td class="description last"></td>
1093
+ </tr>
1094
+
1095
+
1096
+
1097
+ <tr>
1098
+
1099
+ <td class="name"><code>b</code></td>
1100
+
1101
+
1102
+ <td class="type">
1103
+
1104
+
1105
+ <span class="param-type">number</span>
1106
+
1107
+
1108
+
1109
+ </td>
1110
+
1111
+
1112
+
1113
+
1114
+ <td class="default">
1115
+
1116
+ </td>
1117
+
1118
+
1119
+ <td class="description last"></td>
1120
+ </tr>
1121
+
1122
+
1123
+
1124
+ <tr>
1125
+
1126
+ <td class="name"><code>eps</code></td>
1127
+
1128
+
1129
+ <td class="type">
1130
+
1131
+
1132
+ <span class="param-type">number</span>
1133
+
1134
+
1135
+
1136
+ </td>
1137
+
1138
+
1139
+
1140
+
1141
+ <td class="default">
1142
+
1143
+ 0.000001
1144
+
1145
+ </td>
1146
+
1147
+
1148
+ <td class="description last"></td>
1149
+ </tr>
1150
+
1151
+
1152
+ </tbody>
1153
+ </table>
1154
+
1155
+
1156
+
1157
+
1158
+
1159
+
1160
+ <dl class="details">
1161
+
1162
+
1163
+
1164
+
1165
+
1166
+
1167
+
1168
+
1169
+
1170
+
1171
+
1172
+
1173
+
1174
+
1175
+
1176
+
1177
+
1178
+
1179
+
1180
+
1181
+
1182
+
1183
+
1184
+
1185
+
1186
+
1187
+ <dt class="tag-source">Source:</dt>
1188
+ <dd class="tag-source"><ul class="dummy"><li>
1189
+ <a href="utils.js.html">utils.js</a>, <a href="utils.js.html#line465">line 465</a>
1190
+ </li></ul></dd>
1191
+
1192
+
1193
+
1194
+
1195
+
1196
+
1197
+
1198
+ </dl>
1199
+
1200
+
1201
+
1202
+
1203
+
1204
+
1205
+
1206
+
1207
+
1208
+
1209
+
1210
+
1211
+
1212
+
1213
+
1214
+ <h5>Returns:</h5>
1215
+
1216
+
1217
+ <div class="param-desc">
1218
+ yes/no answer
1219
+ </div>
1220
+
1221
+
1222
+
1223
+ <dl>
1224
+ <dt>
1225
+ Type
1226
+ </dt>
1227
+ <dd>
1228
+
1229
+ <span class="param-type">boolean</span>
1230
+
1231
+
1232
+ </dd>
1233
+ </dl>
1234
+
1235
+
1236
+
1237
+
1238
+
1239
+
1240
+
1241
+
1242
+
1243
+
1244
+
1245
+
1246
+
1247
+ <h4 class="name" id=".buildInverseTransform"><span class="type-signature">(static) </span>buildInverseTransform<span class="signature">()</span><span class="type-signature"> &rarr; {Array.&lt;Array.&lt;number>>}</span></h4>
1248
+
1249
+
1250
+
1251
+
1252
+
1253
+
1254
+ <div class="description">
1255
+ Build an affine transformation matrix to map coordinates in the slide
1256
+ coordinate system into the Total Pixel Matrix.
1257
+ </div>
1258
+
1259
+
1260
+
1261
+
1262
+
1263
+
1264
+
1265
+
1266
+
1267
+ <h5>Parameters:</h5>
1268
+
1269
+
1270
+ <table class="params">
1271
+ <thead>
1272
+ <tr>
1273
+
1274
+ <th>Name</th>
1275
+
1276
+
1277
+ <th>Type</th>
1278
+
1279
+
1280
+
1281
+
1282
+
1283
+ <th class="last">Description</th>
1284
+ </tr>
1285
+ </thead>
1286
+
1287
+ <tbody>
1288
+
1289
+
1290
+ <tr>
1291
+
1292
+ <td class="name"><code>options.offset</code></td>
1293
+
1294
+
1295
+ <td class="type">
1296
+
1297
+
1298
+ <span class="param-type">Array.&lt;number></span>
1299
+
1300
+
1301
+
1302
+ </td>
1303
+
1304
+
1305
+
1306
+
1307
+
1308
+ <td class="description last">X and Y offset of the image in the slide coordinate system</td>
1309
+ </tr>
1310
+
1311
+
1312
+
1313
+ <tr>
1314
+
1315
+ <td class="name"><code>options.orientation</code></td>
1316
+
1317
+
1318
+ <td class="type">
1319
+
1320
+
1321
+ <span class="param-type">Array.&lt;number></span>
1322
+
1323
+
1324
+
1325
+ </td>
1326
+
1327
+
1328
+
1329
+
1330
+
1331
+ <td class="description last">Direction cosines along the row and column direction of the Total Pixel Matrix for each of the three axis of the slide coordinate system</td>
1332
+ </tr>
1333
+
1334
+
1335
+
1336
+ <tr>
1337
+
1338
+ <td class="name"><code>options.spacing</code></td>
1339
+
1340
+
1341
+ <td class="type">
1342
+
1343
+
1344
+ <span class="param-type">Array.&lt;number></span>
1345
+
1346
+
1347
+
1348
+ </td>
1349
+
1350
+
1351
+
1352
+
1353
+
1354
+ <td class="description last">Spacing between pixel rows and columns of the Total Pixel Matrix</td>
1355
+ </tr>
1356
+
1357
+
1358
+ </tbody>
1359
+ </table>
1360
+
1361
+
1362
+
1363
+
1364
+
1365
+
1366
+ <dl class="details">
1367
+
1368
+
1369
+
1370
+
1371
+
1372
+
1373
+
1374
+
1375
+
1376
+
1377
+
1378
+
1379
+
1380
+
1381
+
1382
+
1383
+
1384
+
1385
+
1386
+
1387
+
1388
+
1389
+
1390
+
1391
+
1392
+
1393
+ <dt class="tag-source">Source:</dt>
1394
+ <dd class="tag-source"><ul class="dummy"><li>
1395
+ <a href="utils.js.html">utils.js</a>, <a href="utils.js.html#line243">line 243</a>
1396
+ </li></ul></dd>
1397
+
1398
+
1399
+
1400
+
1401
+
1402
+
1403
+
1404
+ </dl>
1405
+
1406
+
1407
+
1408
+
1409
+
1410
+
1411
+
1412
+
1413
+
1414
+
1415
+
1416
+
1417
+
1418
+
1419
+
1420
+ <h5>Returns:</h5>
1421
+
1422
+
1423
+ <div class="param-desc">
1424
+ 3x3 affine transformation matrix
1425
+ </div>
1426
+
1427
+
1428
+
1429
+ <dl>
1430
+ <dt>
1431
+ Type
1432
+ </dt>
1433
+ <dd>
1434
+
1435
+ <span class="param-type">Array.&lt;Array.&lt;number>></span>
1436
+
1437
+
1438
+ </dd>
1439
+ </dl>
1440
+
1441
+
1442
+
1443
+
1444
+
1445
+
1446
+
1447
+
1448
+
1449
+
1450
+
1451
+
1452
+
1453
+ <h4 class="name" id=".buildTransform"><span class="type-signature">(static) </span>buildTransform<span class="signature">(options)</span><span class="type-signature"> &rarr; {Array.&lt;Array.&lt;number>>}</span></h4>
1454
+
1455
+
1456
+
1457
+
1458
+
1459
+
1460
+ <div class="description">
1461
+ Build an affine transformation matrix to map coordinates in the Total
1462
+ Pixel Matrix into the slide coordinate system.
1463
+ </div>
1464
+
1465
+
1466
+
1467
+
1468
+
1469
+
1470
+
1471
+
1472
+
1473
+ <h5>Parameters:</h5>
1474
+
1475
+
1476
+ <table class="params">
1477
+ <thead>
1478
+ <tr>
1479
+
1480
+ <th>Name</th>
1481
+
1482
+
1483
+ <th>Type</th>
1484
+
1485
+
1486
+
1487
+
1488
+
1489
+ <th class="last">Description</th>
1490
+ </tr>
1491
+ </thead>
1492
+
1493
+ <tbody>
1494
+
1495
+
1496
+ <tr>
1497
+
1498
+ <td class="name"><code>options</code></td>
1499
+
1500
+
1501
+ <td class="type">
1502
+
1503
+
1504
+ <span class="param-type">Object</span>
1505
+
1506
+
1507
+
1508
+ </td>
1509
+
1510
+
1511
+
1512
+
1513
+
1514
+ <td class="description last">Options
1515
+ <h6>Properties</h6>
1516
+
1517
+
1518
+ <table class="params">
1519
+ <thead>
1520
+ <tr>
1521
+
1522
+ <th>Name</th>
1523
+
1524
+
1525
+ <th>Type</th>
1526
+
1527
+
1528
+
1529
+
1530
+
1531
+ <th class="last">Description</th>
1532
+ </tr>
1533
+ </thead>
1534
+
1535
+ <tbody>
1536
+
1537
+
1538
+ <tr>
1539
+
1540
+ <td class="name"><code>offset</code></td>
1541
+
1542
+
1543
+ <td class="type">
1544
+
1545
+
1546
+ <span class="param-type">Array.&lt;number></span>
1547
+
1548
+
1549
+
1550
+ </td>
1551
+
1552
+
1553
+
1554
+
1555
+
1556
+ <td class="description last">X and Y offset of the image in the slide coordinate system</td>
1557
+ </tr>
1558
+
1559
+
1560
+
1561
+ <tr>
1562
+
1563
+ <td class="name"><code>orientation</code></td>
1564
+
1565
+
1566
+ <td class="type">
1567
+
1568
+
1569
+ <span class="param-type">Array.&lt;number></span>
1570
+
1571
+
1572
+
1573
+ </td>
1574
+
1575
+
1576
+
1577
+
1578
+
1579
+ <td class="description last">Direction cosines along the row and column direction of the Total Pixel Matrix for each of the three axis of the slide coordinate system</td>
1580
+ </tr>
1581
+
1582
+
1583
+
1584
+ <tr>
1585
+
1586
+ <td class="name"><code>spacing</code></td>
1587
+
1588
+
1589
+ <td class="type">
1590
+
1591
+
1592
+ <span class="param-type">Array.&lt;number></span>
1593
+
1594
+
1595
+
1596
+ </td>
1597
+
1598
+
1599
+
1600
+
1601
+
1602
+ <td class="description last">Spacing between pixel rows and columns of the Total Pixel Matrix</td>
1603
+ </tr>
1604
+
1605
+
1606
+ </tbody>
1607
+ </table>
1608
+
1609
+ </td>
1610
+ </tr>
1611
+
1612
+
1613
+ </tbody>
1614
+ </table>
1615
+
1616
+
1617
+
1618
+
1619
+
1620
+
1621
+ <dl class="details">
1622
+
1623
+
1624
+
1625
+
1626
+
1627
+
1628
+
1629
+
1630
+
1631
+
1632
+
1633
+
1634
+
1635
+
1636
+
1637
+
1638
+
1639
+
1640
+
1641
+
1642
+
1643
+
1644
+
1645
+
1646
+
1647
+
1648
+ <dt class="tag-source">Source:</dt>
1649
+ <dd class="tag-source"><ul class="dummy"><li>
1650
+ <a href="utils.js.html">utils.js</a>, <a href="utils.js.html#line136">line 136</a>
1651
+ </li></ul></dd>
1652
+
1653
+
1654
+
1655
+
1656
+
1657
+
1658
+
1659
+ </dl>
1660
+
1661
+
1662
+
1663
+
1664
+
1665
+
1666
+
1667
+
1668
+
1669
+
1670
+
1671
+
1672
+
1673
+
1674
+
1675
+ <h5>Returns:</h5>
1676
+
1677
+
1678
+ <div class="param-desc">
1679
+ 3x3 affine transformation matrix
1680
+ </div>
1681
+
1682
+
1683
+
1684
+ <dl>
1685
+ <dt>
1686
+ Type
1687
+ </dt>
1688
+ <dd>
1689
+
1690
+ <span class="param-type">Array.&lt;Array.&lt;number>></span>
1691
+
1692
+
1693
+ </dd>
1694
+ </dl>
1695
+
1696
+
1697
+
1698
+
1699
+
1700
+
1701
+
1702
+
1703
+
1704
+
1705
+
1706
+
1707
+
1708
+ <h4 class="name" id=".computeRotation"><span class="type-signature">(static) </span>computeRotation<span class="signature">(options)</span><span class="type-signature"> &rarr; {number}</span></h4>
1709
+
1710
+
1711
+
1712
+
1713
+
1714
+
1715
+ <div class="description">
1716
+ Computes the rotation of the image with respect to the frame of reference.
1717
+ </div>
1718
+
1719
+
1720
+
1721
+
1722
+
1723
+
1724
+
1725
+
1726
+
1727
+ <h5>Parameters:</h5>
1728
+
1729
+
1730
+ <table class="params">
1731
+ <thead>
1732
+ <tr>
1733
+
1734
+ <th>Name</th>
1735
+
1736
+
1737
+ <th>Type</th>
1738
+
1739
+
1740
+
1741
+
1742
+
1743
+ <th class="last">Description</th>
1744
+ </tr>
1745
+ </thead>
1746
+
1747
+ <tbody>
1748
+
1749
+
1750
+ <tr>
1751
+
1752
+ <td class="name"><code>options</code></td>
1753
+
1754
+
1755
+ <td class="type">
1756
+
1757
+
1758
+ <span class="param-type">Object</span>
1759
+
1760
+
1761
+
1762
+ </td>
1763
+
1764
+
1765
+
1766
+
1767
+
1768
+ <td class="description last">Options
1769
+ <h6>Properties</h6>
1770
+
1771
+
1772
+ <table class="params">
1773
+ <thead>
1774
+ <tr>
1775
+
1776
+ <th>Name</th>
1777
+
1778
+
1779
+ <th>Type</th>
1780
+
1781
+
1782
+
1783
+
1784
+
1785
+ <th class="last">Description</th>
1786
+ </tr>
1787
+ </thead>
1788
+
1789
+ <tbody>
1790
+
1791
+
1792
+ <tr>
1793
+
1794
+ <td class="name"><code>orientation</code></td>
1795
+
1796
+
1797
+ <td class="type">
1798
+
1799
+
1800
+ <span class="param-type">Array.&lt;number></span>
1801
+
1802
+
1803
+
1804
+ </td>
1805
+
1806
+
1807
+
1808
+
1809
+
1810
+ <td class="description last">Direction cosines along the row and column direction of the Total Pixel Matrix for each of the three axis of the slide coordinate system</td>
1811
+ </tr>
1812
+
1813
+
1814
+
1815
+ <tr>
1816
+
1817
+ <td class="name"><code>inDegrees</code></td>
1818
+
1819
+
1820
+ <td class="type">
1821
+
1822
+
1823
+ <span class="param-type">boolean</span>
1824
+
1825
+
1826
+
1827
+ </td>
1828
+
1829
+
1830
+
1831
+
1832
+
1833
+ <td class="description last">Whether angle should be returned in degrees instead of radians</td>
1834
+ </tr>
1835
+
1836
+
1837
+ </tbody>
1838
+ </table>
1839
+
1840
+ </td>
1841
+ </tr>
1842
+
1843
+
1844
+ </tbody>
1845
+ </table>
1846
+
1847
+
1848
+
1849
+
1850
+
1851
+
1852
+ <dl class="details">
1853
+
1854
+
1855
+
1856
+
1857
+
1858
+
1859
+
1860
+
1861
+
1862
+
1863
+
1864
+
1865
+
1866
+
1867
+
1868
+
1869
+
1870
+
1871
+
1872
+
1873
+
1874
+
1875
+
1876
+
1877
+
1878
+
1879
+ <dt class="tag-source">Source:</dt>
1880
+ <dd class="tag-source"><ul class="dummy"><li>
1881
+ <a href="utils.js.html">utils.js</a>, <a href="utils.js.html#line109">line 109</a>
1882
+ </li></ul></dd>
1883
+
1884
+
1885
+
1886
+
1887
+
1888
+
1889
+
1890
+ </dl>
1891
+
1892
+
1893
+
1894
+
1895
+
1896
+
1897
+
1898
+
1899
+
1900
+
1901
+
1902
+
1903
+
1904
+
1905
+
1906
+ <h5>Returns:</h5>
1907
+
1908
+
1909
+ <div class="param-desc">
1910
+ Angle
1911
+ </div>
1912
+
1913
+
1914
+
1915
+ <dl>
1916
+ <dt>
1917
+ Type
1918
+ </dt>
1919
+ <dd>
1920
+
1921
+ <span class="param-type">number</span>
1922
+
1923
+
1924
+ </dd>
1925
+ </dl>
1926
+
1927
+
1928
+
1929
+
1930
+
1931
+
1932
+
1933
+
1934
+
1935
+
1936
+
1937
+
1938
+
1939
+ <h4 class="name" id=".createRotationMatrix"><span class="type-signature">(static) </span>createRotationMatrix<span class="signature">(options)</span><span class="type-signature"> &rarr; {Array.&lt;Array.&lt;number>>}</span></h4>
1940
+
1941
+
1942
+
1943
+
1944
+
1945
+
1946
+ <div class="description">
1947
+ Create a rotation matrix.
1948
+ </div>
1949
+
1950
+
1951
+
1952
+
1953
+
1954
+
1955
+
1956
+
1957
+
1958
+ <h5>Parameters:</h5>
1959
+
1960
+
1961
+ <table class="params">
1962
+ <thead>
1963
+ <tr>
1964
+
1965
+ <th>Name</th>
1966
+
1967
+
1968
+ <th>Type</th>
1969
+
1970
+
1971
+
1972
+
1973
+
1974
+ <th class="last">Description</th>
1975
+ </tr>
1976
+ </thead>
1977
+
1978
+ <tbody>
1979
+
1980
+
1981
+ <tr>
1982
+
1983
+ <td class="name"><code>options</code></td>
1984
+
1985
+
1986
+ <td class="type">
1987
+
1988
+
1989
+ <span class="param-type">Object</span>
1990
+
1991
+
1992
+
1993
+ </td>
1994
+
1995
+
1996
+
1997
+
1998
+
1999
+ <td class="description last">Options
2000
+ <h6>Properties</h6>
2001
+
2002
+
2003
+ <table class="params">
2004
+ <thead>
2005
+ <tr>
2006
+
2007
+ <th>Name</th>
2008
+
2009
+
2010
+ <th>Type</th>
2011
+
2012
+
2013
+
2014
+
2015
+
2016
+ <th class="last">Description</th>
2017
+ </tr>
2018
+ </thead>
2019
+
2020
+ <tbody>
2021
+
2022
+
2023
+ <tr>
2024
+
2025
+ <td class="name"><code>orientation</code></td>
2026
+
2027
+
2028
+ <td class="type">
2029
+
2030
+
2031
+ <span class="param-type">Array.&lt;number></span>
2032
+
2033
+
2034
+
2035
+ </td>
2036
+
2037
+
2038
+
2039
+
2040
+
2041
+ <td class="description last">Direction cosines along the row and column direction of the Total Pixel Matrix for each of the three axis of the slide coordinate system</td>
2042
+ </tr>
2043
+
2044
+
2045
+ </tbody>
2046
+ </table>
2047
+
2048
+ </td>
2049
+ </tr>
2050
+
2051
+
2052
+ </tbody>
2053
+ </table>
2054
+
2055
+
2056
+
2057
+
2058
+
2059
+
2060
+ <dl class="details">
2061
+
2062
+
2063
+
2064
+
2065
+
2066
+
2067
+
2068
+
2069
+
2070
+
2071
+
2072
+
2073
+
2074
+
2075
+
2076
+
2077
+
2078
+
2079
+
2080
+
2081
+
2082
+
2083
+
2084
+
2085
+
2086
+
2087
+ <dt class="tag-source">Source:</dt>
2088
+ <dd class="tag-source"><ul class="dummy"><li>
2089
+ <a href="utils.js.html">utils.js</a>, <a href="utils.js.html#line41">line 41</a>
2090
+ </li></ul></dd>
2091
+
2092
+
2093
+
2094
+
2095
+
2096
+
2097
+
2098
+ </dl>
2099
+
2100
+
2101
+
2102
+
2103
+
2104
+
2105
+
2106
+
2107
+
2108
+
2109
+
2110
+
2111
+
2112
+
2113
+
2114
+ <h5>Returns:</h5>
2115
+
2116
+
2117
+ <div class="param-desc">
2118
+ 2x2 rotation matrix
2119
+ </div>
2120
+
2121
+
2122
+
2123
+ <dl>
2124
+ <dt>
2125
+ Type
2126
+ </dt>
2127
+ <dd>
2128
+
2129
+ <span class="param-type">Array.&lt;Array.&lt;number>></span>
2130
+
2131
+
2132
+ </dd>
2133
+ </dl>
2134
+
2135
+
2136
+
2137
+
2138
+
2139
+
2140
+
2141
+
2142
+
2143
+
2144
+
2145
+
2146
+
2147
+ <h4 class="name" id=".createWindow"><span class="type-signature">(static) </span>createWindow<span class="signature">(lowerBound, upperBound)</span><span class="type-signature"> &rarr; {Array.&lt;number>}</span></h4>
2148
+
2149
+
2150
+
2151
+
2152
+
2153
+
2154
+ <div class="description">
2155
+ Create window.
2156
+ </div>
2157
+
2158
+
2159
+
2160
+
2161
+
2162
+
2163
+
2164
+
2165
+
2166
+ <h5>Parameters:</h5>
2167
+
2168
+
2169
+ <table class="params">
2170
+ <thead>
2171
+ <tr>
2172
+
2173
+ <th>Name</th>
2174
+
2175
+
2176
+ <th>Type</th>
2177
+
2178
+
2179
+
2180
+
2181
+
2182
+ <th class="last">Description</th>
2183
+ </tr>
2184
+ </thead>
2185
+
2186
+ <tbody>
2187
+
2188
+
2189
+ <tr>
2190
+
2191
+ <td class="name"><code>lowerBound</code></td>
2192
+
2193
+
2194
+ <td class="type">
2195
+
2196
+
2197
+ <span class="param-type">number</span>
2198
+
2199
+
2200
+
2201
+ </td>
2202
+
2203
+
2204
+
2205
+
2206
+
2207
+ <td class="description last">Lower bound of the window</td>
2208
+ </tr>
2209
+
2210
+
2211
+
2212
+ <tr>
2213
+
2214
+ <td class="name"><code>upperBound</code></td>
2215
+
2216
+
2217
+ <td class="type">
2218
+
2219
+
2220
+ <span class="param-type">number</span>
2221
+
2222
+
2223
+
2224
+ </td>
2225
+
2226
+
2227
+
2228
+
2229
+
2230
+ <td class="description last">Upper bound of the window</td>
2231
+ </tr>
2232
+
2233
+
2234
+ </tbody>
2235
+ </table>
2236
+
2237
+
2238
+
2239
+
2240
+
2241
+
2242
+ <dl class="details">
2243
+
2244
+
2245
+
2246
+
2247
+
2248
+
2249
+
2250
+
2251
+
2252
+
2253
+
2254
+
2255
+
2256
+
2257
+
2258
+
2259
+
2260
+
2261
+
2262
+
2263
+
2264
+
2265
+
2266
+
2267
+
2268
+
2269
+ <dt class="tag-source">Source:</dt>
2270
+ <dd class="tag-source"><ul class="dummy"><li>
2271
+ <a href="utils.js.html">utils.js</a>, <a href="utils.js.html#line92">line 92</a>
2272
+ </li></ul></dd>
2273
+
2274
+
2275
+
2276
+
2277
+
2278
+
2279
+
2280
+ </dl>
2281
+
2282
+
2283
+
2284
+
2285
+
2286
+
2287
+
2288
+
2289
+
2290
+
2291
+
2292
+
2293
+
2294
+
2295
+
2296
+ <h5>Returns:</h5>
2297
+
2298
+
2299
+ <div class="param-desc">
2300
+ Window center and width
2301
+ </div>
2302
+
2303
+
2304
+
2305
+ <dl>
2306
+ <dt>
2307
+ Type
2308
+ </dt>
2309
+ <dd>
2310
+
2311
+ <span class="param-type">Array.&lt;number></span>
2312
+
2313
+
2314
+ </dd>
2315
+ </dl>
2316
+
2317
+
2318
+
2319
+
2320
+
2321
+
2322
+
2323
+
2324
+
2325
+
2326
+
2327
+
2328
+
2329
+ <h4 class="name" id=".doContentItemsMatch"><span class="type-signature">(static) </span>doContentItemsMatch<span class="signature">(contentItem1, contentItem2)</span><span class="type-signature"> &rarr; {boolean}</span></h4>
2330
+
2331
+
2332
+
2333
+
2334
+
2335
+
2336
+ <div class="description">
2337
+ Check wether two content items match.
2338
+ </div>
2339
+
2340
+
2341
+
2342
+
2343
+
2344
+
2345
+
2346
+
2347
+
2348
+ <h5>Parameters:</h5>
2349
+
2350
+
2351
+ <table class="params">
2352
+ <thead>
2353
+ <tr>
2354
+
2355
+ <th>Name</th>
2356
+
2357
+
2358
+ <th>Type</th>
2359
+
2360
+
2361
+
2362
+
2363
+
2364
+ <th class="last">Description</th>
2365
+ </tr>
2366
+ </thead>
2367
+
2368
+ <tbody>
2369
+
2370
+
2371
+ <tr>
2372
+
2373
+ <td class="name"><code>contentItem1</code></td>
2374
+
2375
+
2376
+ <td class="type">
2377
+
2378
+
2379
+ <span class="param-type">object</span>
2380
+
2381
+
2382
+
2383
+ </td>
2384
+
2385
+
2386
+
2387
+
2388
+
2389
+ <td class="description last"></td>
2390
+ </tr>
2391
+
2392
+
2393
+
2394
+ <tr>
2395
+
2396
+ <td class="name"><code>contentItem2</code></td>
2397
+
2398
+
2399
+ <td class="type">
2400
+
2401
+
2402
+ <span class="param-type">object</span>
2403
+
2404
+
2405
+
2406
+ </td>
2407
+
2408
+
2409
+
2410
+
2411
+
2412
+ <td class="description last"></td>
2413
+ </tr>
2414
+
2415
+
2416
+ </tbody>
2417
+ </table>
2418
+
2419
+
2420
+
2421
+
2422
+
2423
+
2424
+ <dl class="details">
2425
+
2426
+
2427
+
2428
+
2429
+
2430
+
2431
+
2432
+
2433
+
2434
+
2435
+
2436
+
2437
+
2438
+
2439
+
2440
+
2441
+
2442
+
2443
+
2444
+
2445
+
2446
+
2447
+
2448
+
2449
+
2450
+
2451
+ <dt class="tag-source">Source:</dt>
2452
+ <dd class="tag-source"><ul class="dummy"><li>
2453
+ <a href="utils.js.html">utils.js</a>, <a href="utils.js.html#line568">line 568</a>
2454
+ </li></ul></dd>
2455
+
2456
+
2457
+
2458
+
2459
+
2460
+
2461
+
2462
+ </dl>
2463
+
2464
+
2465
+
2466
+
2467
+
2468
+
2469
+
2470
+
2471
+
2472
+
2473
+
2474
+
2475
+
2476
+
2477
+
2478
+ <h5>Returns:</h5>
2479
+
2480
+
2481
+ <div class="param-desc">
2482
+ yes/no answer
2483
+ </div>
2484
+
2485
+
2486
+
2487
+ <dl>
2488
+ <dt>
2489
+ Type
2490
+ </dt>
2491
+ <dd>
2492
+
2493
+ <span class="param-type">boolean</span>
2494
+
2495
+
2496
+ </dd>
2497
+ </dl>
2498
+
2499
+
2500
+
2501
+
2502
+
2503
+
2504
+
2505
+
2506
+
2507
+
2508
+
2509
+
2510
+
2511
+ <h4 class="name" id=".getContentItemNameCodedConcept"><span class="type-signature">(static) </span>getContentItemNameCodedConcept<span class="signature">(contentItem)</span><span class="type-signature"> &rarr; {object}</span></h4>
2512
+
2513
+
2514
+
2515
+
2516
+
2517
+
2518
+ <div class="description">
2519
+ Get name coded concept from content item.
2520
+ </div>
2521
+
2522
+
2523
+
2524
+
2525
+
2526
+
2527
+
2528
+
2529
+
2530
+ <h5>Parameters:</h5>
2531
+
2532
+
2533
+ <table class="params">
2534
+ <thead>
2535
+ <tr>
2536
+
2537
+ <th>Name</th>
2538
+
2539
+
2540
+ <th>Type</th>
2541
+
2542
+
2543
+
2544
+
2545
+
2546
+ <th class="last">Description</th>
2547
+ </tr>
2548
+ </thead>
2549
+
2550
+ <tbody>
2551
+
2552
+
2553
+ <tr>
2554
+
2555
+ <td class="name"><code>contentItem</code></td>
2556
+
2557
+
2558
+ <td class="type">
2559
+
2560
+
2561
+ <span class="param-type">object</span>
2562
+
2563
+
2564
+
2565
+ </td>
2566
+
2567
+
2568
+
2569
+
2570
+
2571
+ <td class="description last"></td>
2572
+ </tr>
2573
+
2574
+
2575
+ </tbody>
2576
+ </table>
2577
+
2578
+
2579
+
2580
+
2581
+
2582
+
2583
+ <dl class="details">
2584
+
2585
+
2586
+
2587
+
2588
+
2589
+
2590
+
2591
+
2592
+
2593
+
2594
+
2595
+
2596
+
2597
+
2598
+
2599
+
2600
+
2601
+
2602
+
2603
+
2604
+
2605
+
2606
+
2607
+
2608
+
2609
+
2610
+ <dt class="tag-source">Source:</dt>
2611
+ <dd class="tag-source"><ul class="dummy"><li>
2612
+ <a href="utils.js.html">utils.js</a>, <a href="utils.js.html#line526">line 526</a>
2613
+ </li></ul></dd>
2614
+
2615
+
2616
+
2617
+
2618
+
2619
+
2620
+
2621
+ </dl>
2622
+
2623
+
2624
+
2625
+
2626
+
2627
+
2628
+
2629
+
2630
+
2631
+
2632
+
2633
+
2634
+
2635
+
2636
+
2637
+ <h5>Returns:</h5>
2638
+
2639
+
2640
+ <div class="param-desc">
2641
+ The concept name coded concept
2642
+ </div>
2643
+
2644
+
2645
+
2646
+ <dl>
2647
+ <dt>
2648
+ Type
2649
+ </dt>
2650
+ <dd>
2651
+
2652
+ <span class="param-type">object</span>
2653
+
2654
+
2655
+ </dd>
2656
+ </dl>
2657
+
2658
+
2659
+
2660
+
2661
+
2662
+
2663
+
2664
+
2665
+
2666
+
2667
+
2668
+
2669
+
114
2670
  <h4 class="name" id=".mapPixelCoordToSlideCoord"><span class="type-signature">(static) </span>mapPixelCoordToSlideCoord<span class="signature">(options)</span><span class="type-signature"> &rarr; {Array.&lt;number>}</span></h4>
115
2671
 
116
2672
 
@@ -331,7 +2887,7 @@ to 3D (x, y, z) slide coordinates in the Frame of Reference.
331
2887
 
332
2888
  <dt class="tag-source">Source:</dt>
333
2889
  <dd class="tag-source"><ul class="dummy"><li>
334
- <a href="utils.js.html">utils.js</a>, <a href="utils.js.html#line325">line 325</a>
2890
+ <a href="utils.js.html">utils.js</a>, <a href="utils.js.html#line352">line 352</a>
335
2891
  </li></ul></dd>
336
2892
 
337
2893
 
@@ -609,7 +3165,7 @@ to 3D (x, y, z) slide coordinates in the Frame of Reference.
609
3165
 
610
3166
  <dt class="tag-source">Source:</dt>
611
3167
  <dd class="tag-source"><ul class="dummy"><li>
612
- <a href="utils.js.html">utils.js</a>, <a href="utils.js.html#line356">line 356</a>
3168
+ <a href="utils.js.html">utils.js</a>, <a href="utils.js.html#line385">line 385</a>
613
3169
  </li></ul></dd>
614
3170
 
615
3171
 
@@ -662,6 +3218,257 @@ to 3D (x, y, z) slide coordinates in the Frame of Reference.
662
3218
 
663
3219
 
664
3220
 
3221
+
3222
+
3223
+
3224
+
3225
+
3226
+ <h4 class="name" id=".rescale"><span class="type-signature">(static) </span>rescale<span class="signature">(value, minInput, maxInput, minOutput, maxOutput)</span><span class="type-signature"> &rarr; {number}</span></h4>
3227
+
3228
+
3229
+
3230
+
3231
+
3232
+
3233
+ <div class="description">
3234
+ Rescale intensity from [minInput, maxInput] to [minOutput, maxOutput].
3235
+ </div>
3236
+
3237
+
3238
+
3239
+
3240
+
3241
+
3242
+
3243
+
3244
+
3245
+ <h5>Parameters:</h5>
3246
+
3247
+
3248
+ <table class="params">
3249
+ <thead>
3250
+ <tr>
3251
+
3252
+ <th>Name</th>
3253
+
3254
+
3255
+ <th>Type</th>
3256
+
3257
+
3258
+
3259
+
3260
+
3261
+ <th class="last">Description</th>
3262
+ </tr>
3263
+ </thead>
3264
+
3265
+ <tbody>
3266
+
3267
+
3268
+ <tr>
3269
+
3270
+ <td class="name"><code>value</code></td>
3271
+
3272
+
3273
+ <td class="type">
3274
+
3275
+
3276
+ <span class="param-type">number</span>
3277
+
3278
+
3279
+
3280
+ </td>
3281
+
3282
+
3283
+
3284
+
3285
+
3286
+ <td class="description last">Input value that should be rescaled</td>
3287
+ </tr>
3288
+
3289
+
3290
+
3291
+ <tr>
3292
+
3293
+ <td class="name"><code>minInput</code></td>
3294
+
3295
+
3296
+ <td class="type">
3297
+
3298
+
3299
+ <span class="param-type">number</span>
3300
+
3301
+
3302
+
3303
+ </td>
3304
+
3305
+
3306
+
3307
+
3308
+
3309
+ <td class="description last">Lower bound of the full input value range</td>
3310
+ </tr>
3311
+
3312
+
3313
+
3314
+ <tr>
3315
+
3316
+ <td class="name"><code>maxInput</code></td>
3317
+
3318
+
3319
+ <td class="type">
3320
+
3321
+
3322
+ <span class="param-type">number</span>
3323
+
3324
+
3325
+
3326
+ </td>
3327
+
3328
+
3329
+
3330
+
3331
+
3332
+ <td class="description last">Upper bound of the full input value range</td>
3333
+ </tr>
3334
+
3335
+
3336
+
3337
+ <tr>
3338
+
3339
+ <td class="name"><code>minOutput</code></td>
3340
+
3341
+
3342
+ <td class="type">
3343
+
3344
+
3345
+ <span class="param-type">number</span>
3346
+
3347
+
3348
+
3349
+ </td>
3350
+
3351
+
3352
+
3353
+
3354
+
3355
+ <td class="description last">Lower bound of the full output value range</td>
3356
+ </tr>
3357
+
3358
+
3359
+
3360
+ <tr>
3361
+
3362
+ <td class="name"><code>maxOutput</code></td>
3363
+
3364
+
3365
+ <td class="type">
3366
+
3367
+
3368
+ <span class="param-type">number</span>
3369
+
3370
+
3371
+
3372
+ </td>
3373
+
3374
+
3375
+
3376
+
3377
+
3378
+ <td class="description last">Upper bound of the full output value range</td>
3379
+ </tr>
3380
+
3381
+
3382
+ </tbody>
3383
+ </table>
3384
+
3385
+
3386
+
3387
+
3388
+
3389
+
3390
+ <dl class="details">
3391
+
3392
+
3393
+
3394
+
3395
+
3396
+
3397
+
3398
+
3399
+
3400
+
3401
+
3402
+
3403
+
3404
+
3405
+
3406
+
3407
+
3408
+
3409
+
3410
+
3411
+
3412
+
3413
+
3414
+
3415
+
3416
+
3417
+ <dt class="tag-source">Source:</dt>
3418
+ <dd class="tag-source"><ul class="dummy"><li>
3419
+ <a href="utils.js.html">utils.js</a>, <a href="utils.js.html#line68">line 68</a>
3420
+ </li></ul></dd>
3421
+
3422
+
3423
+
3424
+
3425
+
3426
+
3427
+
3428
+ </dl>
3429
+
3430
+
3431
+
3432
+
3433
+
3434
+
3435
+
3436
+
3437
+
3438
+
3439
+
3440
+
3441
+
3442
+
3443
+
3444
+ <h5>Returns:</h5>
3445
+
3446
+
3447
+ <div class="param-desc">
3448
+ Rescaled value
3449
+ </div>
3450
+
3451
+
3452
+
3453
+ <dl>
3454
+ <dt>
3455
+ Type
3456
+ </dt>
3457
+ <dd>
3458
+
3459
+ <span class="param-type">number</span>
3460
+
3461
+
3462
+ </dd>
3463
+ </dl>
3464
+
3465
+
3466
+
3467
+
3468
+
3469
+
3470
+
3471
+
665
3472
 
666
3473
 
667
3474
 
@@ -677,13 +3484,13 @@ to 3D (x, y, z) slide coordinates in the Frame of Reference.
677
3484
  </div>
678
3485
 
679
3486
  <nav>
680
- <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>
3487
+ <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>
681
3488
  </nav>
682
3489
 
683
3490
  <br class="clear">
684
3491
 
685
3492
  <footer>
686
- 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)
3493
+ 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)
687
3494
  </footer>
688
3495
 
689
3496
  <script> prettyPrint(); </script>