体数据阅片四角信息
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
bc2d5463ff
commit
3fe16b4166
|
|
@ -40,10 +40,10 @@
|
||||||
<div v-if="series" class="right-bottom-text">
|
<div v-if="series" class="right-bottom-text">
|
||||||
<div v-show="imageInfo.location">Location: {{
|
<div v-show="imageInfo.location">Location: {{
|
||||||
`${Number(imageInfo.location).toFixed(digitPlaces)} mm`
|
`${Number(imageInfo.location).toFixed(digitPlaces)} mm`
|
||||||
}}</div>
|
}}</div>
|
||||||
<div v-show="imageInfo.sliceThickness">Slice Thickness: {{
|
<div v-show="imageInfo.sliceThickness">Slice Thickness: {{
|
||||||
`${Number(imageInfo.sliceThickness).toFixed(digitPlaces)} mm`
|
`${Number(imageInfo.sliceThickness).toFixed(digitPlaces)} mm`
|
||||||
}}</div>
|
}}</div>
|
||||||
<div v-show="imageInfo.wwwc">WW/WL: {{ imageInfo.wwwc }}</div>
|
<div v-show="imageInfo.wwwc">WW/WL: {{ imageInfo.wwwc }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="orientation-top">
|
<div class="orientation-top">
|
||||||
|
|
@ -127,7 +127,6 @@ export default {
|
||||||
sliceThickness: null,
|
sliceThickness: null,
|
||||||
wwwc: null,
|
wwwc: null,
|
||||||
total: 0,
|
total: 0,
|
||||||
sliceThickness: 0
|
|
||||||
},
|
},
|
||||||
digitPlaces: 2,
|
digitPlaces: 2,
|
||||||
orientationMarkers: [],
|
orientationMarkers: [],
|
||||||
|
|
@ -276,8 +275,8 @@ export default {
|
||||||
let imageIds = viewport.getImageIds(this.volumeId)
|
let imageIds = viewport.getImageIds(this.volumeId)
|
||||||
let imageId = imageIds[0]
|
let imageId = imageIds[0]
|
||||||
let volume = cache.getVolume(this.volumeId)
|
let volume = cache.getVolume(this.volumeId)
|
||||||
console.log(volume, 'volume')
|
|
||||||
let spacing = volume ? volume.spacing : []
|
let spacing = volume ? volume.spacing : []
|
||||||
|
console.log(spacing, 'spacing')
|
||||||
// if (this.series.orientation === 'AXIAL') imageId = viewport.getCurrentImageId()
|
// if (this.series.orientation === 'AXIAL') imageId = viewport.getCurrentImageId()
|
||||||
if (imageId && volume) {
|
if (imageId && volume) {
|
||||||
this.$emit('setMPRInfo', { type: this.series.orientation, key: "imageNum", value: detail.numberOfSlices })
|
this.$emit('setMPRInfo', { type: this.series.orientation, key: "imageNum", value: detail.numberOfSlices })
|
||||||
|
|
|
||||||
|
|
@ -281,6 +281,10 @@ export default {
|
||||||
this.imageInfo.size = `${imagePlaneModule.columns}*${imagePlaneModule.rows}`
|
this.imageInfo.size = `${imagePlaneModule.columns}*${imagePlaneModule.rows}`
|
||||||
this.imageInfo.location = imagePlaneModule.sliceLocation
|
this.imageInfo.location = imagePlaneModule.sliceLocation
|
||||||
this.imageInfo.total = detail.numberOfSlices
|
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()
|
this.getOrientationMarker()
|
||||||
if (this.series && this.series.Id) {
|
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)
|
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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue