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 think I've found an issue for tags with VR=DT at least for AcquisitionDateTime.
The reader found the tag 0008,002A, but as you can see in the screenshot, the value is null.
I've tested with several series from different sources, and at least the 0008002A tag always has the problem.
And here is how I access the tags;
var elements = DICOMObject
.Read(dicomFilename).Elements
.ToList();
foreach (IDICOMElement element in elements)
{
var vm = 0;
var value = new StringBuilder();
if (element.DatType != typeof(byte))
{
foreach (var e in element.DData_)
{
if (value.Length > 0)
value.Append("\\");
vm += 1;
value.Append(e.ToString());
}
else
{
var array = (element.DData_ as List<byte>).ToArray();
value.Append(ByteHelper.ByteArrayToHexString(array));
vm = 1;
}
...
}
And here what I expect
Regards.
The text was updated successfully, but these errors were encountered:
Hi,
I think I've found an issue for tags with VR=DT at least for AcquisitionDateTime.
The reader found the tag 0008,002A, but as you can see in the screenshot, the value is null.
I've tested with several series from different sources, and at least the 0008002A tag always has the problem.
And here is how I access the tags;
And here what I expect
Regards.
The text was updated successfully, but these errors were encountered: