@cornerstonejs/adapters 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3452,7 +3452,7 @@ var MeasurementReport = /** @class */ (function () {
|
|
|
3452
3452
|
// Loop through each image in the toolData
|
|
3453
3453
|
Object.keys(toolState).forEach(function (imageId) {
|
|
3454
3454
|
var sopCommonModule = metadataProvider.get("sopCommonModule", imageId);
|
|
3455
|
-
var instance = metadataProvider.
|
|
3455
|
+
var instance = metadataProvider.get("instance", imageId);
|
|
3456
3456
|
var sopInstanceUID = sopCommonModule.sopInstanceUID, sopClassUID = sopCommonModule.sopClassUID;
|
|
3457
3457
|
var seriesInstanceUID = instance.SeriesInstanceUID;
|
|
3458
3458
|
sopInstanceUIDsToSeriesInstanceUIDMap[sopInstanceUID] =
|
|
@@ -4213,8 +4213,8 @@ var RectangleROI = /** @class */ (function () {
|
|
|
4213
4213
|
points: [
|
|
4214
4214
|
worldCoords[0],
|
|
4215
4215
|
worldCoords[1],
|
|
4216
|
-
worldCoords[
|
|
4217
|
-
worldCoords[
|
|
4216
|
+
worldCoords[3],
|
|
4217
|
+
worldCoords[2]
|
|
4218
4218
|
],
|
|
4219
4219
|
activeHandleIndex: 0,
|
|
4220
4220
|
textBox: {
|
|
@@ -4244,7 +4244,13 @@ var RectangleROI = /** @class */ (function () {
|
|
|
4244
4244
|
});
|
|
4245
4245
|
var area = cachedStats.area, perimeter = cachedStats.perimeter;
|
|
4246
4246
|
return {
|
|
4247
|
-
points:
|
|
4247
|
+
points: [
|
|
4248
|
+
corners[0],
|
|
4249
|
+
corners[1],
|
|
4250
|
+
corners[3],
|
|
4251
|
+
corners[2],
|
|
4252
|
+
corners[0]
|
|
4253
|
+
],
|
|
4248
4254
|
area: area,
|
|
4249
4255
|
perimeter: perimeter,
|
|
4250
4256
|
trackingIdentifierTextValue: trackingIdentifierTextValue$3,
|