dicom-microscopy-viewer 0.36.3 → 0.37.0
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.
- package/README.md +44 -42
- package/dist/dicom-microscopy-viewer.js +1 -1
- package/dist/dicom-microscopy-viewer.js.map +1 -1
- package/docs/annotation.AnnotationGroup.html +142 -43
- package/docs/annotation.html +2 -2
- package/docs/annotation.js.html +47 -34
- package/docs/annotations__AnnotationManager.js.html +2 -2
- package/docs/annotations_markups__MarkupManager.js.html +2 -2
- package/docs/api.html +2 -2
- package/docs/color.PaletteColorLookupTable.html +42 -14
- package/docs/color.html +6 -6
- package/docs/color.js.html +14 -14
- package/docs/dicom-microscopy-viewer.js.html +2 -2
- package/docs/events.html +316 -2
- package/docs/events.js.html +13 -4
- package/docs/index.html +44 -44
- package/docs/mapping.ParameterMapping.html +342 -27
- package/docs/mapping.Transformation.html +221 -14
- package/docs/mapping.html +2 -2
- package/docs/mapping.js.html +41 -32
- package/docs/metadata.Comprehensive3DSR.html +254 -5
- package/docs/metadata.MicroscopyBulkSimpleAnnotations.html +254 -5
- package/docs/metadata.ParametricMap.html +254 -5
- package/docs/metadata.SOPClass.html +399 -0
- package/docs/metadata.Segmentation.html +254 -5
- package/docs/metadata.VLWholeSlideMicroscopyImage.html +255 -7
- package/docs/metadata.html +14 -32
- package/docs/metadata.js.html +55 -21
- package/docs/opticalPath.OpticalPath.html +453 -26
- package/docs/opticalPath.html +2 -2
- package/docs/opticalPath.js.html +17 -18
- package/docs/pyramid.js.html +2 -2
- package/docs/roi.ROI.html +317 -25
- package/docs/roi.html +2 -2
- package/docs/roi.js.html +26 -19
- package/docs/scoord3d.Ellipse.html +14 -18
- package/docs/scoord3d.Ellipsoid.html +14 -18
- package/docs/scoord3d.Multipoint.html +14 -18
- package/docs/scoord3d.Point.html +13 -17
- package/docs/scoord3d.Polygon.html +14 -18
- package/docs/scoord3d.Polyline.html +14 -18
- package/docs/scoord3d.Scoord3D.html +608 -0
- package/docs/scoord3d.html +5 -2
- package/docs/scoord3d.js.html +101 -54
- package/docs/segment.Segment.html +160 -48
- package/docs/segment.html +2 -2
- package/docs/segment.js.html +37 -33
- package/docs/utils.html +148 -4
- package/docs/utils.js.html +6 -6
- package/docs/viewer.LabelImageViewer.html +14 -15
- package/docs/viewer.OverviewImageViewer.html +15 -15
- package/docs/viewer.VolumeImageViewer.html +722 -396
- package/docs/viewer.html +2 -2
- package/docs/viewer.js.html +416 -407
- package/package.json +1 -1
- package/src/annotation.js +45 -32
- package/src/color.js +12 -12
- package/src/events.js +11 -2
- package/src/mapping.js +39 -30
- package/src/metadata.js +53 -19
- package/src/opticalPath.js +15 -16
- package/src/roi.js +24 -17
- package/src/scoord3d.js +99 -52
- package/src/segment.js +35 -31
- package/src/utils.js +4 -4
- package/src/viewer.js +414 -405
package/docs/segment.js.html
CHANGED
|
@@ -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 {
|
|
47
|
-
* @param {
|
|
48
|
-
* @param {
|
|
49
|
-
* @param {string} options.studyInstanceUID - Study Instance UID of
|
|
50
|
-
*
|
|
51
|
-
* @param {string
|
|
52
|
-
*
|
|
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
|
-
*
|
|
129
|
+
* Unique Tracking Identifier
|
|
126
130
|
*
|
|
127
|
-
* @
|
|
131
|
+
* @type string
|
|
128
132
|
*/
|
|
129
133
|
get uid () {
|
|
130
134
|
return this[_attrs].uid
|
|
131
135
|
}
|
|
132
136
|
|
|
133
137
|
/**
|
|
134
|
-
*
|
|
138
|
+
* Segment Number.
|
|
135
139
|
*
|
|
136
|
-
* @
|
|
140
|
+
* @type number
|
|
137
141
|
*/
|
|
138
142
|
get number () {
|
|
139
143
|
return this[_attrs].number
|
|
140
144
|
}
|
|
141
145
|
|
|
142
146
|
/**
|
|
143
|
-
*
|
|
147
|
+
* Segment Label
|
|
144
148
|
*
|
|
145
|
-
* @
|
|
149
|
+
* @type string
|
|
146
150
|
*/
|
|
147
151
|
get label () {
|
|
148
152
|
return this[_attrs].label
|
|
149
153
|
}
|
|
150
154
|
|
|
151
155
|
/**
|
|
152
|
-
*
|
|
156
|
+
* Segment Algorithm Name
|
|
153
157
|
*
|
|
154
|
-
* @
|
|
158
|
+
* @type string
|
|
155
159
|
*/
|
|
156
160
|
get algorithmName () {
|
|
157
161
|
return this[_attrs].algorithmName
|
|
158
162
|
}
|
|
159
163
|
|
|
160
164
|
/**
|
|
161
|
-
*
|
|
165
|
+
* Segment Algorithm Type
|
|
162
166
|
*
|
|
163
|
-
* @
|
|
167
|
+
* @type object
|
|
164
168
|
*/
|
|
165
169
|
get algorithmType () {
|
|
166
170
|
return this[_attrs].algorithmType
|
|
167
171
|
}
|
|
168
172
|
|
|
169
173
|
/**
|
|
170
|
-
*
|
|
174
|
+
* Segmented Property Category Code
|
|
171
175
|
*
|
|
172
|
-
* @
|
|
176
|
+
* @type object
|
|
173
177
|
*/
|
|
174
178
|
get propertyCategory () {
|
|
175
179
|
return this[_attrs].propertyCategory
|
|
176
180
|
}
|
|
177
181
|
|
|
178
182
|
/**
|
|
179
|
-
*
|
|
183
|
+
* Segmented Property Type Code
|
|
180
184
|
*
|
|
181
|
-
* @
|
|
185
|
+
* @type object
|
|
182
186
|
*/
|
|
183
187
|
get propertyType () {
|
|
184
188
|
return this[_attrs].propertyType
|
|
185
189
|
}
|
|
186
190
|
|
|
187
191
|
/**
|
|
188
|
-
*
|
|
192
|
+
* Study Instance UID of DICOM Segmentation instances.
|
|
189
193
|
*
|
|
190
|
-
* @
|
|
194
|
+
* @type string
|
|
191
195
|
*/
|
|
192
196
|
get studyInstanceUID () {
|
|
193
197
|
return this[_attrs].studyInstanceUID
|
|
194
198
|
}
|
|
195
199
|
|
|
196
200
|
/**
|
|
197
|
-
*
|
|
201
|
+
* Series Instance UID of DICOM Segmentation instances.
|
|
198
202
|
*
|
|
199
|
-
* @
|
|
203
|
+
* @type string
|
|
200
204
|
*/
|
|
201
205
|
get seriesInstanceUID () {
|
|
202
206
|
return this[_attrs].seriesInstanceUID
|
|
203
207
|
}
|
|
204
208
|
|
|
205
209
|
/**
|
|
206
|
-
*
|
|
210
|
+
* SOP Instance UIDs of DICOM Segmentation instances.
|
|
207
211
|
*
|
|
208
|
-
* @
|
|
212
|
+
* @type string[]
|
|
209
213
|
*/
|
|
210
214
|
get sopInstanceUIDs () {
|
|
211
215
|
return this[_attrs].sopInstanceUIDs
|
|
212
216
|
}
|
|
213
217
|
|
|
214
218
|
/**
|
|
215
|
-
*
|
|
219
|
+
* Palette Color Lookup Table UID.
|
|
216
220
|
*
|
|
217
|
-
* @
|
|
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
|
|
245
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Mon May 16 2022 08:28:05 GMT-0400 (Eastern Daylight 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
|
|
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.<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.<Array.<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
|
|
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.<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.<Array.<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
|
|
3637
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Mon May 16 2022 08:28:05 GMT-0400 (Eastern Daylight Time)
|
|
3494
3638
|
</footer>
|
|
3495
3639
|
|
|
3496
3640
|
<script> prettyPrint(); </script>
|
package/docs/utils.js.html
CHANGED
|
@@ -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
|
-
* @
|
|
217
|
-
* @
|
|
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
|
-
* @
|
|
324
|
-
* @
|
|
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
|
|
717
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Mon May 16 2022 08:28:05 GMT-0400 (Eastern Daylight 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">
|
|
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">
|
|
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">
|
|
177
|
+
<span class="param-type">Array.<<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">
|
|
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
|
|
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
|
|
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
|
|
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#
|
|
367
|
+
<a href="viewer.js.html">viewer.js</a>, <a href="viewer.js.html#line4233">line 4233</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
|
|
435
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Mon May 16 2022 08:28:05 GMT-0400 (Eastern Daylight Time)
|
|
437
436
|
</footer>
|
|
438
437
|
|
|
439
438
|
<script> prettyPrint(); </script>
|