融合图像伪彩问题
continuous-integration/drone/push Build is passing Details

main
wangxiaoshuang 2025-12-25 15:14:52 +08:00
parent 11940798e8
commit da41fa1139
1 changed files with 7 additions and 1 deletions

View File

@ -351,6 +351,7 @@ const ctVolumeName = 'CT_VOLUME_ID' // Id of the volume less loader prefix
const ctVolumeId = `${volumeLoaderScheme}:${ctVolumeName}` // VolumeId with loader id + volume id const ctVolumeId = `${volumeLoaderScheme}:${ctVolumeName}` // VolumeId with loader id + volume id
const ptVolumeName = 'PT_VOLUME_ID' const ptVolumeName = 'PT_VOLUME_ID'
const ptVolumeId = `${volumeLoaderScheme}:${ptVolumeName}` const ptVolumeId = `${volumeLoaderScheme}:${ptVolumeName}`
const ptVolumeId2 = `${volumeLoaderScheme}:${ptVolumeName}2`
const ctToolGroupId = 'CT_TOOLGROUP_ID' const ctToolGroupId = 'CT_TOOLGROUP_ID'
const ptToolGroupId = 'PT_TOOLGROUP_ID' const ptToolGroupId = 'PT_TOOLGROUP_ID'
const fusionToolGroupId = 'FUSION_TOOLGROUP_ID' const fusionToolGroupId = 'FUSION_TOOLGROUP_ID'
@ -416,8 +417,10 @@ export default {
renderingEngineId: renderingEngineId, renderingEngineId: renderingEngineId,
ctVolumeId: `${volumeLoaderScheme}:${ctVolumeName}`, ctVolumeId: `${volumeLoaderScheme}:${ctVolumeName}`,
ptVolumeId: `${volumeLoaderScheme}:${ptVolumeName}`, ptVolumeId: `${volumeLoaderScheme}:${ptVolumeName}`,
ptVolumeId2: `${volumeLoaderScheme}:${ptVolumeName}2`,
ctVolume: null, ctVolume: null,
ptVolume: null, ptVolume: null,
ptVolume2: null,
isReadingShowSubjectInfo: false, isReadingShowSubjectInfo: false,
subjectCode: '', subjectCode: '',
taskBlindName: '', taskBlindName: '',
@ -988,6 +991,9 @@ export default {
this.ptVolume = await volumeLoader.createAndCacheVolume(ptVolumeId, { this.ptVolume = await volumeLoader.createAndCacheVolume(ptVolumeId, {
imageIds: ptImageIds imageIds: ptImageIds
}) })
this.ptVolume2 = await volumeLoader.createAndCacheVolume(ptVolumeId2, {
imageIds: ptImageIds
})
// //
this.resetTimer() this.resetTimer()
} catch (error) { } catch (error) {
@ -1495,7 +1501,7 @@ export default {
renderingEngine, renderingEngine,
[ [
{ {
volumeId: ptVolumeId, volumeId: ptVolumeId2,
callback: setPetColorMapTransferFunctionForVolumeActor callback: setPetColorMapTransferFunctionForVolumeActor
}, },
{ {