#671828 xmedcon: Cannot open file with YBR photometric interpretation

Package:
xmedcon
Source:
xmedcon
Description:
Medical Image (DICOM, ECAT, ...) conversion tool (GUI)
Submitter:
Mathieu Malaterre
Date:
2022-02-11 20:42:05 UTC
Severity:
normal
#671828#5
Date:
2012-05-07 09:03:02 UTC
From:
To:
I cannot open the following file:

$ xmedcon ACUSON-24-YBR_FULL-RLE-b.dcm

GUI X Window System Medical Image Conversion Utility
(X)MedCon 0.10.5
Copyright (C) 1997-2009 by Erik Nolf

Try 'xmedcon --help' for more information.

May 07 11:00:41 log[16373]: warning: Unknown PhotometricInterpretation


REf:
http://gdcm.git.sourceforge.net/git/gitweb.cgi?p=gdcm/gdcmData;a=history;f=ACUSON-24-YBR_FULL-RLE-b.dcm;h=d7eb4ab29784f6fbf95c44d65191630298a84820;hb=HEAD

#671828#10
Date:
2015-12-31 14:08:42 UTC
From:
To:
Hi,

I just uploaded a new upstream version of xmedcon.  Could you please
verify whether the problem you reported persists in this version?

Kind regards

       Andreas.

#671828#15
Date:
2022-02-11 20:38:08 UTC
From:
To:
Hello,

While working on upgrading xmedcon to 0.21.2, I believe that I
reproduced the issue using one image of the pydicom test suite:

	$ xmedcon pydicom/data/test_files/SC_ybr_full_422_uncompressed.dcm

	GUI X Window System Medical Image Conversion Utility
	(X)MedCon 0.21.2
	Copyright (C) 1997-2021 by Erik Nolf

	Try 'xmedcon --help' for more information.

	Feb 11 21:25:46 log[1851100]: warning: Unknown PhotometricInterpretation
	Feb 11 21:25:46 log[1851100]: warning: Incorrect PixelData length

The graphical interface shows a black square in place of the
image.

Kind Regards,