diff --git a/nifti2dicom/converter.py b/nifti2dicom/converter.py index abb5f40..7196eff 100644 --- a/nifti2dicom/converter.py +++ b/nifti2dicom/converter.py @@ -80,7 +80,7 @@ def create_rgb_dicom_from_slice(slice_array, series_tag_values, reference_metada ds.PixelSpacing = reference_metadata.PixelSpacing if hasattr(reference_metadata, 'PixelSpacing') else '' # Set image-specific attributes - ds.Modality = 'OT' + ds.Modality = 'SC' ds.PhotometricInterpretation = 'RGB' ds.PixelRepresentation = 0 ds.SamplesPerPixel = 3 diff --git a/setup.py b/setup.py index f926d70..640ea41 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setup( name='nifti2dicom', - version='1.1.8', + version='1.1.9', packages=find_packages(), install_requires=[ 'pydicom',