影像浏览问题修复
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
6674989249
commit
99dd28a713
|
@ -378,6 +378,7 @@ export default {
|
|||
this.stack.imageIdIndex = newImageIdIndex
|
||||
this.series.imageIdIndex = newImageIdIndex
|
||||
this.height = (this.stack.currentImageIdIndex) * 100 / (this.stack.imageIds.length - 1)
|
||||
this.resetWwwc()
|
||||
},
|
||||
stackScrollCallback(e) {
|
||||
const { detail } = e
|
||||
|
@ -423,9 +424,6 @@ export default {
|
|||
this.dicomInfo.zoom = viewport.scale.toFixed(4)
|
||||
var data = e.detail.image.data
|
||||
const position = data.string('x00201041')
|
||||
const windowCenter = data.string('x00281050')
|
||||
const windowWidth = data.string('x00281051')
|
||||
this.setWwwc(windowWidth, windowCenter)
|
||||
this.dicomInfo.location = position
|
||||
},
|
||||
getOrientationMarker(element) {
|
||||
|
|
|
@ -403,7 +403,8 @@ export default {
|
|||
this.series = { ...obj }
|
||||
const renderingEngine = getRenderingEngine(this.renderingEngineId)
|
||||
const viewport = renderingEngine.getViewport(this.viewportId)
|
||||
const image = await cornerstoneDICOMImageLoader.wadouri.loadImage(obj.ImageIds[obj.SliceIndex]).promise
|
||||
let imageId = obj.ImageIds[obj.SliceIndex] ? obj.ImageIds[obj.SliceIndex] : obj.ImageIds[0]
|
||||
const image = await cornerstoneDICOMImageLoader.wadouri.loadImage(imageId).promise
|
||||
if (obj.Modality === 'PT') {
|
||||
this.cachePTMetadata([image])
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue