GDCM 3.2.1

gdcmUnpacker12Bits.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: GDCM (Grassroots DICOM). A DICOM library
4
5 Copyright (c) 2006-2011 Mathieu Malaterre
6 All rights reserved.
7 See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
8
9 This software is distributed WITHOUT ANY WARRANTY; without even
10 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11 PURPOSE. See the above copyright notice for more information.
12
13=========================================================================*/
14#ifndef GDCMUNPACKER12BITS_H
15#define GDCMUNPACKER12BITS_H
16
17#include "gdcmTypes.h"
18
19 namespace gdcm
20{
34 class GDCM_EXPORT Unpacker12Bits
35{
36 public:
40 static bool Pack(char *out, const char *in, size_t n);
41
45 static bool Unpack(char *out, const char *in, size_t n);
46};
47
48} // end namespace gdcm
49
50#endif //GDCMUNPACKER12BITS_H
gdcm::Unpacker12Bits
Pack/Unpack 12 bits pixel into 16bits.
Definition gdcmUnpacker12Bits.h:35
gdcm::Unpacker12Bits::Unpack
static bool Unpack(char *out, const char *in, size_t n)
gdcm::Unpacker12Bits::Pack
static bool Pack(char *out, const char *in, size_t n)
gdcmTypes.h
GDCM_EXPORT
#define GDCM_EXPORT
Definition gdcmWin32.h:34
gdcm
Definition gdcmASN1.h:21