We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83e939b commit 5ffaa8bCopy full SHA for 5ffaa8b
wsidicom/instance/dataset.py
@@ -738,7 +738,8 @@ def create_instance_dataset(
738
dataset.ImagedVolumeHeight = (
739
image_data.image_size.height * image_data.pixel_spacing.height
740
)
741
- dataset.ImagedVolumeDepth = pixel_measure_sequence.SliceThickness
+ # SliceThickness is in mm, ImagedVolumeDepth in um
742
+ dataset.ImagedVolumeDepth = pixel_measure_sequence.SliceThickness * 1000
743
# DICOM 2022a part 3 IODs - C.8.12.9 Whole Slide Microscopy Image
744
# Frame Type Macro. Analogous to ImageType and shared by all
745
# frames so clone
0 commit comments