dicom预览更改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
16581bd7b9
commit
8b6714806e
|
@ -212,8 +212,10 @@ export default {
|
|||
this.toolState.clipPlaying = false
|
||||
const element = this.$refs.canvas
|
||||
cornerstone.enable(element)
|
||||
cornerstoneTools.stopClip(this.canvas)
|
||||
this.toolState.clipPlaying = false
|
||||
this.loading = true
|
||||
|
||||
|
||||
cornerstone.loadAndCacheImage(this.stack.imageIds[this.stack.currentImageIdIndex])
|
||||
.then(image => {
|
||||
this.loading = false
|
||||
|
|
|
@ -155,7 +155,7 @@ import store from '@/store'
|
|||
import { changeURLStatic } from '@/utils/history.js'
|
||||
cornerstoneWADOImageLoader.external.dicomParser = dicomParser
|
||||
cornerstoneWADOImageLoader.external.cornerstone = cornerstone
|
||||
const maximumSizeInBytes = 1024 * 1024 * 1024 * 3// 3 GB
|
||||
const maximumSizeInBytes = 1024 * 1024 * 1024 * 6
|
||||
export default {
|
||||
components: {
|
||||
'dicom-viewer': dicomViewer
|
||||
|
|
|
@ -168,7 +168,7 @@ import store from '@/store'
|
|||
import SrList from './SrList'
|
||||
cornerstoneWADOImageLoader.external.dicomParser = dicomParser
|
||||
cornerstoneWADOImageLoader.external.cornerstone = cornerstone
|
||||
const maximumSizeInBytes = 1024 * 1024 * 1024 * 3
|
||||
const maximumSizeInBytes = 1024 * 1024 * 1024 * 6
|
||||
cornerstone.imageCache.setMaximumSizeBytes(maximumSizeInBytes)
|
||||
export default {
|
||||
name: 'StudyList',
|
||||
|
|
|
@ -914,9 +914,9 @@ export default {
|
|||
this.getWwcTpl()
|
||||
// cornerstone.imageCache.setMaximumSizeBytes(0)
|
||||
|
||||
const maximumSizeInBytes = 1024 * 1024 * 1024 * 3
|
||||
// const maximumSizeInBytes = 1024 * 1024 * 1024 * 6
|
||||
// const maximumSizeInBytes = 1024 * 1024 * 500
|
||||
cornerstone.imageCache.setMaximumSizeBytes(maximumSizeInBytes)
|
||||
// cornerstone.imageCache.setMaximumSizeBytes(maximumSizeInBytes)
|
||||
this.customWwc = {
|
||||
visible: false,
|
||||
title: this.$t('trials:reading:dagTitle:wwwcCustom')
|
||||
|
|
|
@ -167,7 +167,7 @@ import store from '@/store'
|
|||
import SrList from './../components/SrList'
|
||||
cornerstoneWADOImageLoader.external.dicomParser = dicomParser
|
||||
cornerstoneWADOImageLoader.external.cornerstone = cornerstone
|
||||
const maximumSizeInBytes = 1024 * 1024 * 1024 * 3
|
||||
const maximumSizeInBytes = 1024 * 1024 * 1024 * 6
|
||||
cornerstone.imageCache.setMaximumSizeBytes(maximumSizeInBytes)
|
||||
export default {
|
||||
name: 'StudyList',
|
||||
|
|
Loading…
Reference in New Issue