33 #include "dcmtk/config/osconfig.h"
35 #include "dcmtk/dcmimage/dilogger.h"
36 #include "dcmtk/dcmimgle/dipixel.h"
74 const Uint16 sample_rate = 0);
109 const unsigned long count,
110 const unsigned long fcount,
111 const unsigned long frames,
112 const int planar)
const = 0;
129 virtual unsigned long createDIB(
void *&data,
130 const unsigned long size,
133 const unsigned long frame,
137 const int upsideDown,
138 const int padding)
const = 0;
154 const unsigned long frame,
156 const int toBits)
const = 0;
167 const unsigned long count);
Abstract base class to handle monochrome pixel data.
Interface class to DICOM data management (dcmdata).
virtual ~DiColorPixel()
destructor
int getPlanes() const
get number of planes
int getPlanarConfiguration() const
get planar configuration of the original pixel data
virtual unsigned long createDIB(void *&data, const unsigned long size, const Uint16 width, const Uint16 height, const unsigned long frame, const int fromBits, const int toBits, const int mode, const int upsideDown, const int padding) const =0
create true color (24/32 bit) bitmap for MS Windows.
int PlanarConfiguration
planar configuration of the original pixel data (0 = color-by-pixel, 1 = color-by-plane) ...
Abstract base class to handle color pixel data.
DiColorPixel(const DiDocument *docu, const DiInputPixel *pixel, const Uint16 samples, EI_Status &status, const Uint16 sample_rate=0)
constructor
virtual OFBool getPixelData(void *data, const unsigned long count, const unsigned long fcount, const unsigned long frames, const int planar) const =0
fill given memory block with pixel data (all three image planes, RGB)
Abstract base class to handle pixel data.
virtual unsigned long createAWTBitmap(void *&data, const Uint16 width, const Uint16 height, const unsigned long frame, const int fromBits, const int toBits) const =0
create true color (32 bit) bitmap for Java (AWT default format).