dicom-microscopy-viewer 0.36.2 → 0.36.5

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 (78) hide show
  1. package/README.md +44 -42
  2. package/{build → dist}/08929516bda4c4fd2597.module.wasm +0 -0
  3. package/{build → dist}/4f2853de305c1b5afcac.module.wasm +0 -0
  4. package/{build → dist}/6ae9c6e051fd2bd70fad.module.wasm +0 -0
  5. package/{build → 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 +142 -43
  14. package/docs/annotation.html +2 -2
  15. package/docs/annotation.js.html +47 -34
  16. package/docs/annotations__AnnotationManager.js.html +2 -2
  17. package/docs/annotations_markups__MarkupManager.js.html +2 -2
  18. package/docs/api.html +2 -2
  19. package/docs/color.PaletteColorLookupTable.html +42 -14
  20. package/docs/color.html +6 -6
  21. package/docs/color.js.html +14 -14
  22. package/docs/dicom-microscopy-viewer.js.html +2 -2
  23. package/docs/events.html +316 -2
  24. package/docs/events.js.html +13 -4
  25. package/docs/index.html +44 -44
  26. package/docs/mapping.ParameterMapping.html +342 -27
  27. package/docs/mapping.Transformation.html +221 -14
  28. package/docs/mapping.html +2 -2
  29. package/docs/mapping.js.html +41 -32
  30. package/docs/metadata.Comprehensive3DSR.html +254 -5
  31. package/docs/metadata.MicroscopyBulkSimpleAnnotations.html +254 -5
  32. package/docs/metadata.ParametricMap.html +254 -5
  33. package/docs/metadata.SOPClass.html +399 -0
  34. package/docs/metadata.Segmentation.html +254 -5
  35. package/docs/metadata.VLWholeSlideMicroscopyImage.html +255 -7
  36. package/docs/metadata.html +14 -32
  37. package/docs/metadata.js.html +55 -21
  38. package/docs/opticalPath.OpticalPath.html +453 -26
  39. package/docs/opticalPath.html +2 -2
  40. package/docs/opticalPath.js.html +16 -17
  41. package/docs/pyramid.js.html +2 -2
  42. package/docs/roi.ROI.html +317 -25
  43. package/docs/roi.html +2 -2
  44. package/docs/roi.js.html +26 -19
  45. package/docs/scoord3d.Ellipse.html +14 -18
  46. package/docs/scoord3d.Ellipsoid.html +14 -18
  47. package/docs/scoord3d.Multipoint.html +14 -18
  48. package/docs/scoord3d.Point.html +13 -17
  49. package/docs/scoord3d.Polygon.html +14 -18
  50. package/docs/scoord3d.Polyline.html +14 -18
  51. package/docs/scoord3d.Scoord3D.html +608 -0
  52. package/docs/scoord3d.html +5 -2
  53. package/docs/scoord3d.js.html +101 -54
  54. package/docs/segment.Segment.html +160 -48
  55. package/docs/segment.html +2 -2
  56. package/docs/segment.js.html +37 -33
  57. package/docs/utils.html +148 -4
  58. package/docs/utils.js.html +6 -6
  59. package/docs/viewer.LabelImageViewer.html +14 -15
  60. package/docs/viewer.OverviewImageViewer.html +15 -15
  61. package/docs/viewer.VolumeImageViewer.html +215 -282
  62. package/docs/viewer.html +2 -2
  63. package/docs/viewer.js.html +150 -133
  64. package/package.json +4 -3
  65. package/src/annotation.js +45 -32
  66. package/src/color.js +12 -12
  67. package/src/events.js +11 -2
  68. package/src/mapping.js +39 -30
  69. package/src/metadata.js +53 -19
  70. package/src/opticalPath.js +14 -15
  71. package/src/roi.js +24 -17
  72. package/src/scoord3d.js +99 -52
  73. package/src/segment.js +35 -31
  74. package/src/utils.js +4 -4
  75. package/src/viewer.js +258 -207
  76. package/webpack.config.js +11 -1
  77. package/build/dicom-microscopy-viewer.js +0 -2
  78. package/build/dicom-microscopy-viewer.js.map +0 -1
@@ -31,25 +31,29 @@
31
31
  /**
32
32
  * A segment.
33
33
  *
34
+ * Describes an item of the Segment Sequence of a DICOM Segmentation instance.
35
+ *
34
36
  * @class
35
37
  * @memberof segment
36
38
  */
37
39
  class Segment {
38
40
  /**
39
- * Create a new Segment object.
40
- *
41
41
  * @param {Object} options - Options for construction of Segment
42
42
  * @param {string} options.uid - Unique tracking identifier
43
43
  * @param {number} options.number - Segment Number (one-based index value)
44
44
  * @param {string} options.label - Segment Label
45
45
  * @param {string} options.algorithmName - Segment Algorithm Name
46
- * @param {object} options.algorithmType - Segment Algorithm Type
47
- * @param {object} options.propertyCategory - Segmented Property Category Code
48
- * @param {object} options.propertyType - Segmented Property Type Code
49
- * @param {string} options.studyInstanceUID - Study Instance UID of Segmentation images
50
- * @param {string} options.seriesInstanceUID - Series Instance UID of Segmentation images
51
- * @param {string[]} options.sopInstanceUIDs - SOP Instance UIDs of Segmentation images
52
- * @param {string|undefined} options.paletteColorLookupTableUID - Palette Color Lookup Table UID
46
+ * @param {Object} options.algorithmType - Segment Algorithm Type
47
+ * @param {Object} options.propertyCategory - Segmented Property Category Code
48
+ * @param {Object} options.propertyType - Segmented Property Type Code
49
+ * @param {string} options.studyInstanceUID - Study Instance UID of DICOM
50
+ * Segmentation instances
51
+ * @param {string} options.seriesInstanceUID - Series Instance UID of DICOM
52
+ * Segmentation instances
53
+ * @param {string[]} options.sopInstanceUIDs - SOP Instance UIDs of DICOM
54
+ * Segmentation instances
55
+ * @param {string|undefined} options.paletteColorLookupTableUID - Palette
56
+ * Color Lookup Table UID
53
57
  */
54
58
  constructor ({
55
59
  uid,
@@ -122,99 +126,99 @@ class Segment {
122
126
  }
123
127
 
124
128
  /**
125
- * Get Unique Tracking Identifier
129
+ * Unique Tracking Identifier
126
130
  *
127
- * @returns {string} Unique Tracking Identifier
131
+ * @type string
128
132
  */
129
133
  get uid () {
130
134
  return this[_attrs].uid
131
135
  }
132
136
 
133
137
  /**
134
- * Get Segment Number.
138
+ * Segment Number.
135
139
  *
136
- * @returns {number} Segment Number
140
+ * @type number
137
141
  */
138
142
  get number () {
139
143
  return this[_attrs].number
140
144
  }
141
145
 
142
146
  /**
143
- * Get Segment Label
147
+ * Segment Label
144
148
  *
145
- * @returns {string} Segment Label
149
+ * @type string
146
150
  */
147
151
  get label () {
148
152
  return this[_attrs].label
149
153
  }
150
154
 
151
155
  /**
152
- * Get Segment Algorithm Name
156
+ * Segment Algorithm Name
153
157
  *
154
- * @returns {string} Segment Algorithm Name
158
+ * @type string
155
159
  */
156
160
  get algorithmName () {
157
161
  return this[_attrs].algorithmName
158
162
  }
159
163
 
160
164
  /**
161
- * Get Segment Algorithm Type
165
+ * Segment Algorithm Type
162
166
  *
163
- * @returns {object} Segment Algorithm Type
167
+ * @type object
164
168
  */
165
169
  get algorithmType () {
166
170
  return this[_attrs].algorithmType
167
171
  }
168
172
 
169
173
  /**
170
- * Get Segmented Property Category Code
174
+ * Segmented Property Category Code
171
175
  *
172
- * @returns {object} Segmented Property Category Code
176
+ * @type object
173
177
  */
174
178
  get propertyCategory () {
175
179
  return this[_attrs].propertyCategory
176
180
  }
177
181
 
178
182
  /**
179
- * Get Segmented Property Type Code
183
+ * Segmented Property Type Code
180
184
  *
181
- * @returns {object} Segmented Property Type Code
185
+ * @type object
182
186
  */
183
187
  get propertyType () {
184
188
  return this[_attrs].propertyType
185
189
  }
186
190
 
187
191
  /**
188
- * Get Study Instance UID of Segmentation images.
192
+ * Study Instance UID of DICOM Segmentation instances.
189
193
  *
190
- * @returns {string} Study Instance UID
194
+ * @type string
191
195
  */
192
196
  get studyInstanceUID () {
193
197
  return this[_attrs].studyInstanceUID
194
198
  }
195
199
 
196
200
  /**
197
- * Get Series Instance UID of Segmentation images.
201
+ * Series Instance UID of DICOM Segmentation instances.
198
202
  *
199
- * @returns {string} Series Instance UID
203
+ * @type string
200
204
  */
201
205
  get seriesInstanceUID () {
202
206
  return this[_attrs].seriesInstanceUID
203
207
  }
204
208
 
205
209
  /**
206
- * Get SOP Instance UIDs of Segmentation images.
210
+ * SOP Instance UIDs of DICOM Segmentation instances.
207
211
  *
208
- * @returns {string[]} SOP Instance UIDs
212
+ * @type string[]
209
213
  */
210
214
  get sopInstanceUIDs () {
211
215
  return this[_attrs].sopInstanceUIDs
212
216
  }
213
217
 
214
218
  /**
215
- * Get Palette Color Lookup Table UID.
219
+ * Palette Color Lookup Table UID.
216
220
  *
217
- * @returns {string} Palette Color Lookup Table UID
221
+ * @type string
218
222
  */
219
223
  get paletteColorLookupTableUID () {
220
224
  return this[_attrs].paletteColorLookupTableUID
@@ -232,13 +236,13 @@ export { Segment }
232
236
  </div>
233
237
 
234
238
  <nav>
235
- <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>
239
+ <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.SOPClass.html">SOPClass</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="scoord3d.Scoord3D.html">Scoord3D</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>
236
240
  </nav>
237
241
 
238
242
  <br class="clear">
239
243
 
240
244
  <footer>
241
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri Mar 11 2022 16:15:51 GMT-0500 (Eastern Standard Time)
245
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Sat Mar 12 2022 12:50:08 GMT-0500 (Eastern Standard Time)
242
246
  </footer>
243
247
 
244
248
  <script> prettyPrint(); </script>
package/docs/utils.html CHANGED
@@ -172,7 +172,79 @@ coordinate system to map it into the total pixel matrix.
172
172
 
173
173
 
174
174
 
175
- <td class="description last">Options</td>
175
+ <td class="description last">Options
176
+ <h6>Properties</h6>
177
+
178
+
179
+ <table class="params">
180
+ <thead>
181
+ <tr>
182
+
183
+ <th>Name</th>
184
+
185
+
186
+ <th>Type</th>
187
+
188
+
189
+
190
+
191
+
192
+ <th class="last">Description</th>
193
+ </tr>
194
+ </thead>
195
+
196
+ <tbody>
197
+
198
+
199
+ <tr>
200
+
201
+ <td class="name"><code>coordinate</code></td>
202
+
203
+
204
+ <td class="type">
205
+
206
+
207
+ <span class="param-type">Array.&lt;number></span>
208
+
209
+
210
+
211
+ </td>
212
+
213
+
214
+
215
+
216
+
217
+ <td class="description last">(x, y) reference coordinate</td>
218
+ </tr>
219
+
220
+
221
+
222
+ <tr>
223
+
224
+ <td class="name"><code>affine</code></td>
225
+
226
+
227
+ <td class="type">
228
+
229
+
230
+ <span class="param-type">Array.&lt;Array.&lt;number>></span>
231
+
232
+
233
+
234
+ </td>
235
+
236
+
237
+
238
+
239
+
240
+ <td class="description last">3x3 affine transformation matrix</td>
241
+ </tr>
242
+
243
+
244
+ </tbody>
245
+ </table>
246
+
247
+ </td>
176
248
  </tr>
177
249
 
178
250
 
@@ -332,7 +404,79 @@ matrix to map it into the slide coordinate system.
332
404
 
333
405
 
334
406
 
335
- <td class="description last">Options</td>
407
+ <td class="description last">Options
408
+ <h6>Properties</h6>
409
+
410
+
411
+ <table class="params">
412
+ <thead>
413
+ <tr>
414
+
415
+ <th>Name</th>
416
+
417
+
418
+ <th>Type</th>
419
+
420
+
421
+
422
+
423
+
424
+ <th class="last">Description</th>
425
+ </tr>
426
+ </thead>
427
+
428
+ <tbody>
429
+
430
+
431
+ <tr>
432
+
433
+ <td class="name"><code>coordinate</code></td>
434
+
435
+
436
+ <td class="type">
437
+
438
+
439
+ <span class="param-type">Array.&lt;number></span>
440
+
441
+
442
+
443
+ </td>
444
+
445
+
446
+
447
+
448
+
449
+ <td class="description last">(column, row) image coordinate</td>
450
+ </tr>
451
+
452
+
453
+
454
+ <tr>
455
+
456
+ <td class="name"><code>affine</code></td>
457
+
458
+
459
+ <td class="type">
460
+
461
+
462
+ <span class="param-type">Array.&lt;Array.&lt;number>></span>
463
+
464
+
465
+
466
+ </td>
467
+
468
+
469
+
470
+
471
+
472
+ <td class="description last">3x3 affine transformation matrix</td>
473
+ </tr>
474
+
475
+
476
+ </tbody>
477
+ </table>
478
+
479
+ </td>
336
480
  </tr>
337
481
 
338
482
 
@@ -3484,13 +3628,13 @@ to 3D (x, y, z) slide coordinates in the Frame of Reference.
3484
3628
  </div>
3485
3629
 
3486
3630
  <nav>
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>
3631
+ <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.SOPClass.html">SOPClass</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="scoord3d.Scoord3D.html">Scoord3D</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>
3488
3632
  </nav>
3489
3633
 
3490
3634
  <br class="clear">
3491
3635
 
3492
3636
  <footer>
3493
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri Mar 11 2022 16:15:51 GMT-0500 (Eastern Standard Time)
3637
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Sat Mar 12 2022 12:50:08 GMT-0500 (Eastern Standard Time)
3494
3638
  </footer>
3495
3639
 
3496
3640
  <script> prettyPrint(); </script>
@@ -213,8 +213,8 @@ function buildTransform ({ offset, orientation, spacing }) {
213
213
  * matrix to map it into the slide coordinate system.
214
214
  *
215
215
  * @param {Object} options - Options
216
- * @params {number[]} options.coordinate - (column, row) image coordinate
217
- * @params {number[][]} options.affine - 3x3 affine transformation matrix
216
+ * @param {number[]} options.coordinate - (column, row) image coordinate
217
+ * @param {number[][]} options.affine - 3x3 affine transformation matrix
218
218
  *
219
219
  * @returns {number[]} (x, y) reference coordinate
220
220
  *
@@ -320,8 +320,8 @@ function buildInverseTransform ({ offset, orientation, spacing }) {
320
320
  * coordinate system to map it into the total pixel matrix.
321
321
  *
322
322
  * @param {Object} options - Options
323
- * @params {number[]} options.coordinate - (x, y) reference coordinate
324
- * @params {number[][]} options.affine - 3x3 affine transformation matrix
323
+ * @param {number[]} options.coordinate - (x, y) reference coordinate
324
+ * @param {number[][]} options.affine - 3x3 affine transformation matrix
325
325
  *
326
326
  * @returns {number[]} (column, row) image coordinate
327
327
  *
@@ -708,13 +708,13 @@ export {
708
708
  </div>
709
709
 
710
710
  <nav>
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>
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.SOPClass.html">SOPClass</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="scoord3d.Scoord3D.html">Scoord3D</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>
712
712
  </nav>
713
713
 
714
714
  <br class="clear">
715
715
 
716
716
  <footer>
717
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri Mar 11 2022 16:15:51 GMT-0500 (Eastern Standard Time)
717
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Sat Mar 12 2022 12:50:08 GMT-0500 (Eastern Standard Time)
718
718
  </footer>
719
719
 
720
720
  <script> prettyPrint(); </script>
@@ -54,10 +54,6 @@ with Image Type LABEL.</div>
54
54
 
55
55
 
56
56
 
57
- <div class="description">
58
- Creates a viewer instance for displaying LABEL images.
59
- </div>
60
-
61
57
 
62
58
 
63
59
 
@@ -97,7 +93,7 @@ with Image Type LABEL.</div>
97
93
  <td class="type">
98
94
 
99
95
 
100
- <span class="param-type">object</span>
96
+ <span class="param-type">Object</span>
101
97
 
102
98
 
103
99
 
@@ -107,7 +103,7 @@ with Image Type LABEL.</div>
107
103
 
108
104
 
109
105
 
110
- <td class="description last">
106
+ <td class="description last">Options
111
107
  <h6>Properties</h6>
112
108
 
113
109
 
@@ -143,7 +139,7 @@ with Image Type LABEL.</div>
143
139
  <td class="type">
144
140
 
145
141
 
146
- <span class="param-type">object</span>
142
+ <span class="param-type">Object</span>
147
143
 
148
144
 
149
145
 
@@ -178,7 +174,7 @@ with Image Type LABEL.</div>
178
174
  <td class="type">
179
175
 
180
176
 
181
- <span class="param-type">object</span>
177
+ <span class="param-type">Array.&lt;<a href="metadata.VLWholeSlideMicroscopyImage.html">metadata.VLWholeSlideMicroscopyImage</a>></span>
182
178
 
183
179
 
184
180
 
@@ -200,7 +196,7 @@ with Image Type LABEL.</div>
200
196
  </td>
201
197
 
202
198
 
203
- <td class="description last">DICOM JSON metadata object for a VL Whole Slide Microscopy Image instance</td>
199
+ <td class="description last">Metadata of DICOM VL Whole Slide Microscopy Image instances</td>
204
200
  </tr>
205
201
 
206
202
 
@@ -239,7 +235,8 @@ with Image Type LABEL.</div>
239
235
  </td>
240
236
 
241
237
 
242
- <td class="description last">Orientation of the slide (vertical: label on top, or horizontal: label on right side)</td>
238
+ <td class="description last">Orientation of the
239
+ slide (vertical: label on top, or horizontal: label on right side)</td>
243
240
  </tr>
244
241
 
245
242
 
@@ -278,7 +275,8 @@ with Image Type LABEL.</div>
278
275
  </td>
279
276
 
280
277
 
281
- <td class="description last">To which extent image should be reduced in size (fraction)</td>
278
+ <td class="description last">To which extent image should be
279
+ reduced in size (fraction)</td>
282
280
  </tr>
283
281
 
284
282
 
@@ -317,7 +315,8 @@ with Image Type LABEL.</div>
317
315
  </td>
318
316
 
319
317
 
320
- <td class="description last">Whether ICC Profile should be included for correction of image colors</td>
318
+ <td class="description last">Whether ICC Profile
319
+ should be included for correction of image colors</td>
321
320
  </tr>
322
321
 
323
322
 
@@ -365,7 +364,7 @@ with Image Type LABEL.</div>
365
364
 
366
365
  <dt class="tag-source">Source:</dt>
367
366
  <dd class="tag-source"><ul class="dummy"><li>
368
- <a href="viewer.js.html">viewer.js</a>, <a href="viewer.js.html#line4226">line 4226</a>
367
+ <a href="viewer.js.html">viewer.js</a>, <a href="viewer.js.html#line4241">line 4241</a>
369
368
  </li></ul></dd>
370
369
 
371
370
 
@@ -427,13 +426,13 @@ with Image Type LABEL.</div>
427
426
  </div>
428
427
 
429
428
  <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="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>
429
+ <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.SOPClass.html">SOPClass</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="scoord3d.Scoord3D.html">Scoord3D</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
430
  </nav>
432
431
 
433
432
  <br class="clear">
434
433
 
435
434
  <footer>
436
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri Mar 11 2022 16:15:51 GMT-0500 (Eastern Standard Time)
435
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Sat Mar 12 2022 12:50:08 GMT-0500 (Eastern Standard Time)
437
436
  </footer>
438
437
 
439
438
  <script> prettyPrint(); </script>