]> Creatis software - gdcm.git/blobdiff - src/gdcmPixelReadConvert.cxx
Two ;; at end of line can cause troubles
[gdcm.git] / src / gdcmPixelReadConvert.cxx
index cd2bc609e059d65003f68f42afc9f3fe9dfc38db..3e4a1e346c8b0db4cc26618b18ec9bc0e4759363 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmPixelReadConvert.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/07/30 18:27:00 $
-  Version:   $Revision: 1.75 $
+  Date:      $Date: 2005/09/07 14:12:23 $
+  Version:   $Revision: 1.77 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -283,7 +283,7 @@ bool PixelReadConvert::ReadAndDecompressPixelData( std::ifstream *fp )
    ConvertReorderEndianity();
    ConvertReArrangeBits();
    ConvertFixGreyLevels();
-   if (UserFunction) // user is allowed to Mirror, TopDown, Rotate, .. the image
+   if (UserFunction) // user is allowed to Mirror, TopDown, Rotate,...the image
       UserFunction( Raw, FileInternal);
    ConvertHandleColor();
 
@@ -950,15 +950,7 @@ bool PixelReadConvert::ConvertReArrangeBits() throw ( FormatError )
             // nmask : to propagate sign bit on negative values
             int16_t nmask = (int16_t)0x8000;  
             nmask = nmask >> ( BitsAllocated - BitsStored - 1 );
-/*
-std::cout  << "BitsStored "     << BitsStored 
-           << " BitsAllocated " << BitsAllocated 
-           << std::endl;
-std::cout  << std::hex  << "pmask " << pmask
-           << " smask " << smask
-           << " nmask " << nmask
-           << std::endl;
-*/ 
             for(int i = 0; i<l; i++)
             {
                *deb = *deb >> (BitsStored - HighBitPosition - 1);
@@ -1287,14 +1279,3 @@ void PixelReadConvert::Print( std::ostream &os, std::string const &indent )
 
 //-----------------------------------------------------------------------------
 } // end namespace gdcm
-
-// NOTES on File internal calls
-// User
-// ---> GetImageData
-//     ---> GetImageDataIntoVector
-//        |---> GetImageDataIntoVectorRaw
-//        | lut intervention
-// User
-// ---> GetImageDataRaw
-//     ---> GetImageDataIntoVectorRaw
-