Skip to content

Commit

Permalink
LUT shape bugfix and version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandip117 committed Apr 16, 2024
1 parent 9928314 commit fb399a8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dicommake.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@



__version__ = '2.2.8'
__version__ = '2.3.0'

DISPLAY_TITLE = r"""
_ _ _ _
Expand Down Expand Up @@ -144,7 +144,6 @@ def npimage_get(image):
# file itself isn't compressed, saving it as a DICOM file would throw error.
# The below fix handles this.
# We change the transfer syntax UID (https://github.com/pydicom/pydicom/issues/1109)
ds.PresentationLUTShape = ''
ds.file_meta.TransferSyntaxUID = ExplicitVRLittleEndian
ds.PixelData = np_image.tobytes()
ds.AcquisitionTime = AcquisitionTime()
Expand Down

0 comments on commit fb399a8

Please sign in to comment.