Efferent-Health / fo-dicom.Codecs

Cross-platform Dicom native codecs for fo-dicom
Other
64 stars 22 forks source link

Problem with encoding DoseInfo with JPEG2000 (both Lossless/Lossy) #49

Closed bakhtvar closed 1 month ago

bakhtvar commented 11 months ago

Ensure you are reporting a defect related to encoding/decoding pixel data.

Describe the bug The output image with DicomFile.Open().Clone(DicomTransferSyntacx.LosslessJprg2000), on Siemens DoseInfo files are just problematic.

To Reproduce DicomFile.Open().Clone(DicomTransferSyntacx.LosslessJprg2000) on the attached file.

Screenshots Sometimes a screenshot helps to understand how an image is distorted Original File (JpegLossless) image Changed to Jpeg2000Lossless image

Environment: Latest version of the lib.

DoseInfo-Problem-2000.zip

cbeltran1306 commented 1 month ago

Hi @bakhtvar, this bug has been solved, please use the lastest stable nuget https://www.nuget.org/packages/fo-dicom.Codecs/5.13.0.