X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmPixelReadConvert.cxx;h=523201ce06ec5dbdea6054538819f22c1e56de8e;hb=3842530aeeb5ab67f9d7b0f1754108fd176ee51a;hp=efe00f20a80361887e3694c4b0f091eddff623bd;hpb=ba9886507166e82467379bd5787291a575aaaf06;p=gdcm.git 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