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.
- package/README.md +44 -42
- package/{build → dist}/08929516bda4c4fd2597.module.wasm +0 -0
- package/{build → dist}/4f2853de305c1b5afcac.module.wasm +0 -0
- package/{build → dist}/6ae9c6e051fd2bd70fad.module.wasm +0 -0
- package/{build → dist}/6b62efd6c7f30afd4c78.module.wasm +0 -0
- package/{build → dist}/7e1d2da75b59525e1933.module.wasm +0 -0
- package/{build → dist}/d051f2d564fae150ce94.module.wasm +0 -0
- package/dist/dicom-microscopy-viewer.js +2 -0
- package/{build → dist}/dicom-microscopy-viewer.js.LICENSE.txt +0 -0
- package/dist/dicom-microscopy-viewer.js.map +1 -0
- package/{build → dist}/e6305f756142e57c92cd.module.wasm +0 -0
- package/{build → dist}/f3e0c999ad06a34a7f75.module.wasm +0 -0
- 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 +16 -17
- 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 +215 -282
- package/docs/viewer.html +2 -2
- package/docs/viewer.js.html +150 -133
- package/package.json +4 -3
- 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 +14 -15
- 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 +258 -207
- package/webpack.config.js +11 -1
- package/build/dicom-microscopy-viewer.js +0 -2
- package/build/dicom-microscopy-viewer.js.map +0 -1
|
@@ -29,14 +29,12 @@
|
|
|
29
29
|
<header>
|
|
30
30
|
|
|
31
31
|
<h2><span class="attribs"><span class="type-signature"></span></span>
|
|
32
|
-
<span class="ancestors"><a href="mapping.html">mapping</a>.</span>Transformation<span class="signature">()</span><span class="type-signature"></span></h2>
|
|
32
|
+
<span class="ancestors"><a href="mapping.html">mapping</a>.</span>Transformation<span class="signature">(options)</span><span class="type-signature"></span></h2>
|
|
33
33
|
|
|
34
|
-
<div class="class-description">
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
lookup table (LUT) or alternatively by the slope and intercept parameters if
|
|
39
|
-
the transformation can be described by a linear function.</div>
|
|
34
|
+
<div class="class-description">Transformation of a range of stored values into real world values in a
|
|
35
|
+
defined unit. The transformation may either be described by a lookup table
|
|
36
|
+
(LUT) or alternatively by the slope and intercept parameters if the
|
|
37
|
+
transformation can be described by a linear function.</div>
|
|
40
38
|
|
|
41
39
|
|
|
42
40
|
</header>
|
|
@@ -51,16 +49,13 @@ the transformation can be described by a linear function.</div>
|
|
|
51
49
|
|
|
52
50
|
|
|
53
51
|
|
|
54
|
-
<h4 class="name" id="Transformation"><span class="type-signature"></span>new Transformation<span class="signature">()</span><span class="type-signature"></span></h4>
|
|
52
|
+
<h4 class="name" id="Transformation"><span class="type-signature"></span>new Transformation<span class="signature">(options)</span><span class="type-signature"></span></h4>
|
|
55
53
|
|
|
56
54
|
|
|
57
55
|
|
|
58
56
|
|
|
59
57
|
|
|
60
58
|
|
|
61
|
-
<div class="description">
|
|
62
|
-
Create a new Transformation object.
|
|
63
|
-
</div>
|
|
64
59
|
|
|
65
60
|
|
|
66
61
|
|
|
@@ -69,6 +64,218 @@ the transformation can be described by a linear function.</div>
|
|
|
69
64
|
|
|
70
65
|
|
|
71
66
|
|
|
67
|
+
<h5>Parameters:</h5>
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
<table class="params">
|
|
71
|
+
<thead>
|
|
72
|
+
<tr>
|
|
73
|
+
|
|
74
|
+
<th>Name</th>
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
<th>Type</th>
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
<th class="last">Description</th>
|
|
84
|
+
</tr>
|
|
85
|
+
</thead>
|
|
86
|
+
|
|
87
|
+
<tbody>
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
<tr>
|
|
91
|
+
|
|
92
|
+
<td class="name"><code>options</code></td>
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
<td class="type">
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
<span class="param-type">Object</span>
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
</td>
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
<td class="description last">Options
|
|
109
|
+
<h6>Properties</h6>
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
<table class="params">
|
|
113
|
+
<thead>
|
|
114
|
+
<tr>
|
|
115
|
+
|
|
116
|
+
<th>Name</th>
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
<th>Type</th>
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
<th class="last">Description</th>
|
|
126
|
+
</tr>
|
|
127
|
+
</thead>
|
|
128
|
+
|
|
129
|
+
<tbody>
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
<tr>
|
|
133
|
+
|
|
134
|
+
<td class="name"><code>label</code></td>
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
<td class="type">
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
<span class="param-type">string</span>
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
</td>
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
<td class="description last">LUT Label</td>
|
|
151
|
+
</tr>
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
<tr>
|
|
156
|
+
|
|
157
|
+
<td class="name"><code>firstValueMapped</code></td>
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
<td class="type">
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
<span class="param-type">number</span>
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
</td>
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
<td class="description last">First value mapped by LUT</td>
|
|
174
|
+
</tr>
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
<tr>
|
|
179
|
+
|
|
180
|
+
<td class="name"><code>lastValueMapped</code></td>
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
<td class="type">
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
<span class="param-type">number</span>
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
</td>
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
<td class="description last">Last value mapped by LUT</td>
|
|
197
|
+
</tr>
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
<tr>
|
|
202
|
+
|
|
203
|
+
<td class="name"><code>lut</code></td>
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
<td class="type">
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
<span class="param-type">lut</span>
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
</td>
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
<td class="description last">LUT data</td>
|
|
220
|
+
</tr>
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
<tr>
|
|
225
|
+
|
|
226
|
+
<td class="name"><code>intercept</code></td>
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
<td class="type">
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
<span class="param-type">number</span>
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
</td>
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
<td class="description last">Intercept of linear function</td>
|
|
243
|
+
</tr>
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
<tr>
|
|
248
|
+
|
|
249
|
+
<td class="name"><code>slope</code></td>
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
<td class="type">
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
<span class="param-type">number</span>
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
</td>
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
<td class="description last">Slope of linear function</td>
|
|
266
|
+
</tr>
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
</tbody>
|
|
270
|
+
</table>
|
|
271
|
+
|
|
272
|
+
</td>
|
|
273
|
+
</tr>
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
</tbody>
|
|
277
|
+
</table>
|
|
278
|
+
|
|
72
279
|
|
|
73
280
|
|
|
74
281
|
|
|
@@ -103,7 +310,7 @@ the transformation can be described by a linear function.</div>
|
|
|
103
310
|
|
|
104
311
|
<dt class="tag-source">Source:</dt>
|
|
105
312
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
106
|
-
<a href="mapping.js.html">mapping.js</a>, <a href="mapping.js.html#
|
|
313
|
+
<a href="mapping.js.html">mapping.js</a>, <a href="mapping.js.html#line12">line 12</a>
|
|
107
314
|
</li></ul></dd>
|
|
108
315
|
|
|
109
316
|
|
|
@@ -165,13 +372,13 @@ the transformation can be described by a linear function.</div>
|
|
|
165
372
|
</div>
|
|
166
373
|
|
|
167
374
|
<nav>
|
|
168
|
-
<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>
|
|
375
|
+
<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>
|
|
169
376
|
</nav>
|
|
170
377
|
|
|
171
378
|
<br class="clear">
|
|
172
379
|
|
|
173
380
|
<footer>
|
|
174
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
381
|
+
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)
|
|
175
382
|
</footer>
|
|
176
383
|
|
|
177
384
|
<script> prettyPrint(); </script>
|
package/docs/mapping.html
CHANGED
|
@@ -127,13 +127,13 @@
|
|
|
127
127
|
</div>
|
|
128
128
|
|
|
129
129
|
<nav>
|
|
130
|
-
<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>
|
|
130
|
+
<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>
|
|
131
131
|
</nav>
|
|
132
132
|
|
|
133
133
|
<br class="clear">
|
|
134
134
|
|
|
135
135
|
<footer>
|
|
136
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
136
|
+
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)
|
|
137
137
|
</footer>
|
|
138
138
|
|
|
139
139
|
<script> prettyPrint(); </script>
|
package/docs/mapping.js.html
CHANGED
|
@@ -29,27 +29,31 @@
|
|
|
29
29
|
<pre class="prettyprint source linenums"><code>const _attrs = Symbol('attrs')
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
* lookup table (LUT) or alternatively by the slope and intercept parameters if
|
|
37
|
-
* the transformation can be described by a linear function.
|
|
32
|
+
* Transformation of a range of stored values into real world values in a
|
|
33
|
+
* defined unit. The transformation may either be described by a lookup table
|
|
34
|
+
* (LUT) or alternatively by the slope and intercept parameters if the
|
|
35
|
+
* transformation can be described by a linear function.
|
|
38
36
|
*
|
|
39
37
|
* @class
|
|
40
38
|
* @memberof mapping
|
|
41
39
|
*/
|
|
42
40
|
class Transformation {
|
|
43
41
|
/**
|
|
44
|
-
*
|
|
42
|
+
* @param {Object} options - Options
|
|
43
|
+
* @param {string} options.label - LUT Label
|
|
44
|
+
* @param {number} options.firstValueMapped - First value mapped by LUT
|
|
45
|
+
* @param {number} options.lastValueMapped - Last value mapped by LUT
|
|
46
|
+
* @param {lut} options.lut - LUT data
|
|
47
|
+
* @param {number} options.intercept - Intercept of linear function
|
|
48
|
+
* @param {number} options.slope - Slope of linear function
|
|
45
49
|
*/
|
|
46
50
|
constructor ({
|
|
47
51
|
label,
|
|
48
52
|
firstValueMapped,
|
|
49
53
|
lastValueMapped,
|
|
54
|
+
lut,
|
|
50
55
|
intercept,
|
|
51
|
-
slope
|
|
52
|
-
lut
|
|
56
|
+
slope
|
|
53
57
|
}) {
|
|
54
58
|
if (label === undefined) {
|
|
55
59
|
throw new Error('LUT Label is required.')
|
|
@@ -88,22 +92,27 @@ class Transformation {
|
|
|
88
92
|
}
|
|
89
93
|
|
|
90
94
|
/**
|
|
91
|
-
*
|
|
95
|
+
* Parameter Mapping.
|
|
96
|
+
*
|
|
97
|
+
* Describes an individual parameter encoded in a DICOM Parametric Map instance.
|
|
92
98
|
*
|
|
93
99
|
* @class
|
|
94
100
|
* @memberof mapping
|
|
95
101
|
*/
|
|
96
102
|
class ParameterMapping {
|
|
97
|
-
|
|
98
|
-
*
|
|
103
|
+
/**
|
|
99
104
|
* @param {Object} options
|
|
100
105
|
* @param {string} options.uid - Unique tracking identifier
|
|
101
106
|
* @param {number} options.number - Mapping Number (one-based index value)
|
|
102
107
|
* @param {string} options.label - Mapping Label
|
|
103
|
-
* @param {string} options.studyInstanceUID - Study Instance UID of
|
|
104
|
-
*
|
|
105
|
-
* @param {string
|
|
106
|
-
*
|
|
108
|
+
* @param {string} options.studyInstanceUID - Study Instance UID of DICOM
|
|
109
|
+
* Parametric Map instances
|
|
110
|
+
* @param {string} options.seriesInstanceUID - Series Instance UID of DICOM
|
|
111
|
+
* Parametric Map instances
|
|
112
|
+
* @param {string[]} options.sopInstanceUIDs - SOP Instance UIDs of DICOM
|
|
113
|
+
* Parametric Map instances
|
|
114
|
+
* @param {string|undefined} options.paletteColorLookupTableUID - Palette
|
|
115
|
+
* Color Lookup Table UID
|
|
107
116
|
*/
|
|
108
117
|
constructor ({
|
|
109
118
|
uid,
|
|
@@ -152,63 +161,63 @@ class ParameterMapping {
|
|
|
152
161
|
}
|
|
153
162
|
|
|
154
163
|
/**
|
|
155
|
-
*
|
|
164
|
+
* Unique Tracking Identifier
|
|
156
165
|
*
|
|
157
|
-
* @
|
|
166
|
+
* @type string
|
|
158
167
|
*/
|
|
159
168
|
get uid () {
|
|
160
169
|
return this[_attrs].uid
|
|
161
170
|
}
|
|
162
171
|
|
|
163
172
|
/**
|
|
164
|
-
*
|
|
173
|
+
* Mapping Number.
|
|
165
174
|
*
|
|
166
|
-
* @
|
|
175
|
+
* @type number
|
|
167
176
|
*/
|
|
168
177
|
get number () {
|
|
169
178
|
return this[_attrs].number
|
|
170
179
|
}
|
|
171
180
|
|
|
172
181
|
/**
|
|
173
|
-
*
|
|
182
|
+
* Mapping Label
|
|
174
183
|
*
|
|
175
|
-
* @
|
|
184
|
+
* @type string
|
|
176
185
|
*/
|
|
177
186
|
get label () {
|
|
178
187
|
return this[_attrs].label
|
|
179
188
|
}
|
|
180
189
|
|
|
181
190
|
/**
|
|
182
|
-
*
|
|
191
|
+
* Study Instance UID of DICOM Parametric Map instances.
|
|
183
192
|
*
|
|
184
|
-
* @
|
|
193
|
+
* @type string
|
|
185
194
|
*/
|
|
186
195
|
get studyInstanceUID () {
|
|
187
196
|
return this[_attrs].studyInstanceUID
|
|
188
197
|
}
|
|
189
198
|
|
|
190
199
|
/**
|
|
191
|
-
*
|
|
200
|
+
* Series Instance UID of DICOM Parametric Map instances.
|
|
192
201
|
*
|
|
193
|
-
* @
|
|
202
|
+
* @type string
|
|
194
203
|
*/
|
|
195
204
|
get seriesInstanceUID () {
|
|
196
205
|
return this[_attrs].seriesInstanceUID
|
|
197
206
|
}
|
|
198
207
|
|
|
199
208
|
/**
|
|
200
|
-
*
|
|
209
|
+
* SOP Instance UIDs of DICOM Parametric Map instances.
|
|
201
210
|
*
|
|
202
|
-
* @
|
|
211
|
+
* @type string[]
|
|
203
212
|
*/
|
|
204
213
|
get sopInstanceUIDs () {
|
|
205
214
|
return this[_attrs].sopInstanceUIDs
|
|
206
215
|
}
|
|
207
216
|
|
|
208
217
|
/**
|
|
209
|
-
*
|
|
218
|
+
* Palette Color Lookup Table UID.
|
|
210
219
|
*
|
|
211
|
-
* @
|
|
220
|
+
* @type string
|
|
212
221
|
*/
|
|
213
222
|
get paletteColorLookupTableUID () {
|
|
214
223
|
return this[_attrs].paletteColorLookupTableUID
|
|
@@ -288,13 +297,13 @@ export {
|
|
|
288
297
|
</div>
|
|
289
298
|
|
|
290
299
|
<nav>
|
|
291
|
-
<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>
|
|
300
|
+
<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>
|
|
292
301
|
</nav>
|
|
293
302
|
|
|
294
303
|
<br class="clear">
|
|
295
304
|
|
|
296
305
|
<footer>
|
|
297
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
306
|
+
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)
|
|
298
307
|
</footer>
|
|
299
308
|
|
|
300
309
|
<script> prettyPrint(); </script>
|