体数据阅片四角信息
continuous-integration/drone/push Build is passing Details

uat_us
wangxiaoshuang 2026-03-30 16:19:05 +08:00
parent bc2d5463ff
commit 3fe16b4166
2 changed files with 7 additions and 4 deletions

View File

@ -127,7 +127,6 @@ export default {
sliceThickness: null,
wwwc: null,
total: 0,
sliceThickness: 0
},
digitPlaces: 2,
orientationMarkers: [],
@ -276,8 +275,8 @@ export default {
let imageIds = viewport.getImageIds(this.volumeId)
let imageId = imageIds[0]
let volume = cache.getVolume(this.volumeId)
console.log(volume, 'volume')
let spacing = volume ? volume.spacing : []
console.log(spacing, 'spacing')
// if (this.series.orientation === 'AXIAL') imageId = viewport.getCurrentImageId()
if (imageId && volume) {
this.$emit('setMPRInfo', { type: this.series.orientation, key: "imageNum", value: detail.numberOfSlices })

View File

@ -281,6 +281,10 @@ export default {
this.imageInfo.size = `${imagePlaneModule.columns}*${imagePlaneModule.rows}`
this.imageInfo.location = imagePlaneModule.sliceLocation
this.imageInfo.total = detail.numberOfSlices
let type = this.determineImagePlane(imagePlaneModule.imageOrientationPatient)
let volume = cache.getVolume(this.volumeId)
let spacing = volume ? volume.spacing : []
this.imageInfo.sliceThickness = type === 'AXIAL' ? spacing[2] : spacing[0]
this.getOrientationMarker()
if (this.series && this.series.Id) {
let annotations = cornerstoneTools.annotation.state.getAllAnnotations().filter(item => item.metadata.toolName !== 'ScaleOverlay' && item.metadata.volumeId !== this.volumeId && !item.metadata.segmentationId && item.seriesId !== this.series.Id)