From 846cd8d3b4c47ab49101d9a2a0704e31fd7b4e7b Mon Sep 17 00:00:00 2001 From: malaterre Date: Wed, 26 Oct 2005 14:54:51 +0000 Subject: [PATCH] ENH: Remove check on value we know is true, also remove my stupid comment --- src/gdcmPixelReadConvert.cxx | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/src/gdcmPixelReadConvert.cxx b/src/gdcmPixelReadConvert.cxx index efe00f20..523201ce 100644 --- a/src/gdcmPixelReadConvert.cxx +++ b/src/gdcmPixelReadConvert.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmPixelReadConvert.cxx,v $ Language: C++ - Date: $Date: 2005/10/26 13:16:45 $ - Version: $Revision: 1.91 $ + Date: $Date: 2005/10/26 14:54:51 $ + Version: $Revision: 1.92 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -128,19 +128,8 @@ void PixelReadConvert::GrabInformationsFromFile( File *file ) { std::string ts = file->GetTransferSyntax(); - -// if ( ts == GDCM_UNKNOWN ) -// { -// gdcmErrorMacro( "Could someone tell me how in the world could this happen !" ); -// --> -//--> on ALL acr-nema images ! JPRx -//--> -// abort(); // DO NOT REMOVE. WE SHOULD NEVER READ SUCH IMAGE EVER (only gdcm can write such broekn dicom file) -// } - IsRaw = - ( ! file->IsDicomV3() ) // Should be ACR-NEMA file - || Global::GetTS()->GetSpecialTransferSyntax(ts) == TS::ImplicitVRLittleEndian + Global::GetTS()->GetSpecialTransferSyntax(ts) == TS::ImplicitVRLittleEndian || Global::GetTS()->GetSpecialTransferSyntax(ts) == TS::ImplicitVRBigEndianPrivateGE || Global::GetTS()->GetSpecialTransferSyntax(ts) == TS::ExplicitVRLittleEndian || Global::GetTS()->GetSpecialTransferSyntax(ts) == TS::ExplicitVRBigEndian -- 2.46.2