Search found 4 matches

by spencermanwell
Tue, 2023-11-14, 19:29
Forum: DCMTK - General
Topic: How to override incorrectly labeled VR values
Replies: 6
Views: 4949

Re: How to override incorrectly labeled VR values

Excellent, thank you very much for your help.
by spencermanwell
Tue, 2023-11-14, 18:16
Forum: DCMTK - General
Topic: How to override incorrectly labeled VR values
Replies: 6
Views: 4949

Re: How to override incorrectly labeled VR values

You need to enable a specific global flag for this purpose. This is done by adding the following line to your code: dcmEnableUnknownVRConversion.set(OFTrue); I just confirmed that this resolved the issue by making the call in the same function noted in my original post. My application will instanti...
by spencermanwell
Tue, 2023-11-14, 18:03
Forum: DCMTK - General
Topic: How to override incorrectly labeled VR values
Replies: 6
Views: 4949

Re: How to override incorrectly labeled VR values

@Michael Onken Thanks for your reply! I've responded to your questions below. Sorry for the delay. Are you on Windows or a Unix-like system? - Windows What happens if you read other string values, like the Patient Name? - Almost all fields, including the Patient Name are being interpreted the way I'...
by spencermanwell
Thu, 2023-11-09, 19:35
Forum: DCMTK - General
Topic: How to override incorrectly labeled VR values
Replies: 6
Views: 4949

How to override incorrectly labeled VR values

I've recently come across a PET series for which the VR for a date time (DT) attribute is was set to unknown (UN) by the scanner that acquired it. Note that the transfer syntax for this data set is Little Endian - Explicit. I am using code like following to extract the Radiopharmaceutical Start Date...