Program: gdcm
Module: $RCSfile: gdcmPixelReadConvert.cxx,v $
Language: C++
- Date: $Date: 2005/01/11 23:26:55 $
- Version: $Revision: 1.23 $
+ Date: $Date: 2005/01/12 15:22:23 $
+ Version: $Revision: 1.25 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
/**
* \brief Try to deal with RLE 16 Bits.
- * We assume the RLE has allready been parsed and loaded in
+ * We assume the RLE has already been parsed and loaded in
* Raw (through \ref ReadAndDecompressJPEGFile ).
* We here need to make 16 Bits Pixels from Low Byte and
* High Byte 'Planes'...(for what it may mean)
case 3412:
case 2143:
case 4321:
-#ifndef GDCM_WORDS_BIGENDIAN
for( i = 0; i < RawSize / 2; i++ )
{
im16[i]= (im16[i] >> 8) | (im16[i] << 8 );
}
-#endif //GDCM_WORDS_BIGENDIAN
break;
default:
gdcmVerboseMacro("SwapCode value (16 bits) not allowed.");