[Gdcm-hackers] [ gdcm-Bugs-3051369 ] gdcmdump with incomplete Pixel Data
Cross-platform DICOM implementation
Brought to you by:
malat
|
From: SourceForge.net <no...@so...> - 2011-12-30 18:36:34
|
Bugs item #3051369, was opened at 2010-08-23 02:20 Message generated for change (Settings changed) made by malat You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=739587&aid=3051369&group_id=137895 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Tools (gdcmconv, ...) >Group: 2.3 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Mathieu Malaterre (malat) Assigned to: Mathieu Malaterre (malat) Summary: gdcmdump with incomplete Pixel Data Initial Comment: gdcmdump should report an error when Pixel Data is incomplete. See: if( failed ) { #ifdef GDCM_SUPPORT_BROKEN_IMPLEMENTATION if( TagField == Tag(0x7fe0,0x0010) ) { // BUG this should be moved to the ImageReader class, only this class knows // what 7fe0 actually is, and should tolerate partial Pixel Data element... // PMS-IncompletePixelData.dcm gdcmWarningMacro( "Incomplete Pixel Data found, use file at own risk" ); is.clear(); } else #endif /* GDCM_SUPPORT_BROKEN_IMPLEMENTATION */ { // Might be the famous UN 16bits ParseException pe; pe.SetLastElement( *this ); throw pe; } return is; ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=739587&aid=3051369&group_id=137895 |