Project

General

Profile

Actions

Bug #886

open

CP-246 warning should be suppressed when reading Implicit VR

Added by Marco Eichelberg over 6 years ago. Updated over 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Library
Target version:
-
Start date:
2019-05-02
Due date:
% Done:

0%

Estimated time:
Module:
dcmdata
Operating System:
Compiler:

Description

Whenever DCMTK encounters a private tag with VR=UN and undefined length, the following warning is printed:

W: Found element (xxxx,xxxx) with VR UN and undefined length, reading a sequence with transfer syntax LittleEndianImplicit (CP-246)
This warning should be suppressed when the dataset currently being read is encoded in Implicit VR Little Endian, because in this case CP 246 is irrelevant and the warning is confusing at best. Unfortunately the warning is issued in DcmItem::newDicomElement(), a method that does not know which transfer syntax is currently in use. Therefore, an API change will be necessary to implement this.


Files

cp246_warning.dcm (2.15 KB) cp246_warning.dcm A short DICOM file (pixel data removed) that can be used to demonstrate the warning with dcmdump Marco Eichelberg, 2019-05-02 11:02
Actions

Also available in: Atom PDF