Project

General

Profile

Actions

Feature #1052

open

Ignore empty PixelDataProviderURL when compressing/decompressing images

Added by Marco Eichelberg over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Library
Target version:
-
Start date:
2022-12-08
Due date:
% Done:

0%

Estimated time:
Module:
Operating System:
Compiler:

Description

Method DcmDataset::chooseRepresentation() checks if a dataset contains a PixelDataProviderURL element and in this case refuses conversion to a transfer syntax that does not also use pixel data referenced by PixelDataProviderURL. We have received a sample image that contains both valid compressed PixelData and an empty PixelDataProviderURL element. dcmdjpeg refuses to decode this file because of the PixelDataProviderURL. Perhaps we should extend the code in DcmDataset::chooseRepresentation() to not only check for the presence of PixelDataProviderURL, but to also check if this element is non-empty, so that empty elements added by vendor that does not understand the specification are gracefully ignored.

Sample file available on Caesar in /share/dicom/contrib/20221208_empty_pixeldata_provider_url.

No data to display

Actions

Also available in: Atom PDF