2026-05-08-01-53-07 修正DICOM范围和切割Mask预览

This commit is contained in:
2026-05-08 01:59:36 +08:00
parent 4ba85eba6e
commit 22b0a93654
7 changed files with 348 additions and 29 deletions

View File

@@ -705,7 +705,7 @@ function createDicomFusionVolume(files: string[], start: number, end: number, mo
physicalSize: {
width: volume.width * volume.columnSpacing,
height: volume.height * volume.rowSpacing,
depth: Math.max(1, rangeLength) * volume.sliceSpacing,
depth: Math.max(1, total) * volume.sliceSpacing,
unit: 'mm',
},
};