多帧对齐更改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
53a9b3882d
commit
f5ec5505d4
|
@ -899,7 +899,7 @@ export default {
|
||||||
} else {
|
} else {
|
||||||
cornerstoneTools.setToolEnabledForElement(element, data.MeasureData.type, { mouseButtonMask: 1 })
|
cornerstoneTools.setToolEnabledForElement(element, data.MeasureData.type, { mouseButtonMask: 1 })
|
||||||
}
|
}
|
||||||
if (this.stack.instanceId.includes(data.InstanceId) && ((this.stack.isExistMutiFrames && data.MeasureData.frame === this.stack.frame) || !data.MeasureData.frame) && data.MeasureData) {
|
if (this.stack.instanceId.includes(data.InstanceId) && ((this.stack.isExistMutiFrames && data.MeasureData.frame === this.stack.frame && data.MeasureData) || (!this.stack.isExistMutiFrames && data.MeasureData))) {
|
||||||
const toolState = ToolStateManager.getImageIdToolState(e.detail.image.imageId, data.MeasureData.type)
|
const toolState = ToolStateManager.getImageIdToolState(e.detail.image.imageId, data.MeasureData.type)
|
||||||
if (toolState && toolState.data.length > 0) {
|
if (toolState && toolState.data.length > 0) {
|
||||||
var idx = toolState.data.findIndex(item => item.uuid === data.MeasureData.data.uuid)
|
var idx = toolState.data.findIndex(item => item.uuid === data.MeasureData.data.uuid)
|
||||||
|
|
|
@ -168,7 +168,7 @@ import store from '@/store'
|
||||||
import SrList from './SrList'
|
import SrList from './SrList'
|
||||||
cornerstoneWADOImageLoader.external.dicomParser = dicomParser
|
cornerstoneWADOImageLoader.external.dicomParser = dicomParser
|
||||||
cornerstoneWADOImageLoader.external.cornerstone = cornerstone
|
cornerstoneWADOImageLoader.external.cornerstone = cornerstone
|
||||||
const maximumSizeInBytes = 1024 * 1024 * 1024 * 3 // 1 GB
|
const maximumSizeInBytes = 1024 * 1024 * 1024 * 6
|
||||||
cornerstone.imageCache.setMaximumSizeBytes(maximumSizeInBytes)
|
cornerstone.imageCache.setMaximumSizeBytes(maximumSizeInBytes)
|
||||||
export default {
|
export default {
|
||||||
name: 'StudyList',
|
name: 'StudyList',
|
||||||
|
|
|
@ -891,7 +891,7 @@ export default {
|
||||||
}
|
}
|
||||||
// console.log('renderMeasuredData', this.stack.frame)
|
// console.log('renderMeasuredData', this.stack.frame)
|
||||||
|
|
||||||
if (this.stack.instanceId.includes(data.InstanceId) && ((this.stack.isExistMutiFrames && data.MeasureData.frame === this.stack.frame) || !data.MeasureData.frame) && data.MeasureData) {
|
if (this.stack.instanceId.includes(data.InstanceId) && ((this.stack.isExistMutiFrames && data.MeasureData.frame === this.stack.frame && data.MeasureData) || (!this.stack.isExistMutiFrame && data.MeasureData))) {
|
||||||
const toolState = ToolStateManager.getImageIdToolState(e.detail.image.imageId, data.MeasureData.type)
|
const toolState = ToolStateManager.getImageIdToolState(e.detail.image.imageId, data.MeasureData.type)
|
||||||
if (toolState && toolState.data.length > 0) {
|
if (toolState && toolState.data.length > 0) {
|
||||||
var idx = toolState.data.findIndex(item => item.uuid === data.MeasureData.data.uuid)
|
var idx = toolState.data.findIndex(item => item.uuid === data.MeasureData.data.uuid)
|
||||||
|
|
|
@ -914,9 +914,9 @@ export default {
|
||||||
this.getWwcTpl()
|
this.getWwcTpl()
|
||||||
// cornerstone.imageCache.setMaximumSizeBytes(0)
|
// cornerstone.imageCache.setMaximumSizeBytes(0)
|
||||||
|
|
||||||
const maximumSizeInBytes = 1024 * 1024 * 1024 * 3 // 1 GB
|
// const maximumSizeInBytes = 1024 * 1024 * 1024 * 3 // 1 GB
|
||||||
// const maximumSizeInBytes = 1024 * 1024 * 500
|
// const maximumSizeInBytes = 1024 * 1024 * 500
|
||||||
cornerstone.imageCache.setMaximumSizeBytes(maximumSizeInBytes)
|
// cornerstone.imageCache.setMaximumSizeBytes(maximumSizeInBytes)
|
||||||
this.customWwc = {
|
this.customWwc = {
|
||||||
visible: false,
|
visible: false,
|
||||||
title: this.$t('trials:reading:dagTitle:wwwcCustom')
|
title: this.$t('trials:reading:dagTitle:wwwcCustom')
|
||||||
|
|
|
@ -167,7 +167,7 @@ import store from '@/store'
|
||||||
import SrList from './../components/SrList'
|
import SrList from './../components/SrList'
|
||||||
cornerstoneWADOImageLoader.external.dicomParser = dicomParser
|
cornerstoneWADOImageLoader.external.dicomParser = dicomParser
|
||||||
cornerstoneWADOImageLoader.external.cornerstone = cornerstone
|
cornerstoneWADOImageLoader.external.cornerstone = cornerstone
|
||||||
const maximumSizeInBytes = 1024 * 1024 * 1024 * 3 // 1 GB
|
const maximumSizeInBytes = 1024 * 1024 * 1024 * 6 // 1 GB
|
||||||
cornerstone.imageCache.setMaximumSizeBytes(maximumSizeInBytes)
|
cornerstone.imageCache.setMaximumSizeBytes(maximumSizeInBytes)
|
||||||
export default {
|
export default {
|
||||||
name: 'StudyList',
|
name: 'StudyList',
|
||||||
|
|
Loading…
Reference in New Issue