Closed CPBridge closed 1 year ago
Hi, I tested this (#211) and it fixes the issue! I ran it on 2 test DICOM that were giving errors before when I tried to create GSPS.
Got it working on a third DICOM now after fixing a problem on my end. Looks good.
GSPS creation fails with some images that have value multiplicity > 1 for WindowWidth, WindowCenter and/or WindowCenterWidthExplanation, which is allowed in the standard but is fairly rare. This is because the code to copy the VOI from the source images was not designed to deal with these
This fix addresses this and should make it possible to correctly copy the VOI LUT transformation from source images with multiple values.
Resolves #210