You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've run into an issue when writing DICOMs which I have modified. In my source DICOM the SmallestImagePixelValue has a VR of 'US'. When I try to write it to a buffer, I get the following erro:
"ValueType does not match the specified type in the VR"
While debugging, I found an internal error with some more contex:
"ERROR dicomio.veryifyElement: VR mismatch for tag (0028,0106)[SmallestImagePixelValue]. Element.VR=US, but DICOM standard defines VR to be SS"
I think I mentioned solving for this in #169 . For now I can disable write verification, but it would be nice to be able to turn it on.
The text was updated successfully, but these errors were encountered:
bpeake-illuscio
changed the title
dicom.Write fails on SmallestImagePixelValue with VR of SS
dicom.Write fails on SmallestImagePixelValue with VR of US
Mar 23, 2021
bpeake-illuscio
changed the title
dicom.Write fails on SmallestImagePixelValue with VR of US
dicom.Write fails on 'SmallestImagePixelValue' with VR of 'US'
Mar 23, 2021
Hello!
I've run into an issue when writing DICOMs which I have modified. In my source DICOM the SmallestImagePixelValue has a VR of 'US'. When I try to write it to a buffer, I get the following erro:
While debugging, I found an internal error with some more contex:
However, this is not correct, the DICOM spec defines the VR of 'SmallestImagePixelValue' as 'US or SS'.
Here is a basic reproduction of the issue:
I think I mentioned solving for this in #169 . For now I can disable write verification, but it would be nice to be able to turn it on.
The text was updated successfully, but these errors were encountered: