This module contains classes to access and render DICOM color images. Support for monochrome images is provided by the module dcmimgle. Support for JPEG compressed images is provide by the module dcmjpeg.
The main interface class is:
Tools
This module contains the following command line tools:
Examples
The following example shows how to load a DICOM single-frame image (monochrome or color) and render its pixel data:
#include "dcmtk/dcmimage/diregist.h"
if (image != NULL)
{
{
if (pixelData != NULL)
{
}
} else
}
delete image;
Interface class for dcmimgle/dcmimage module.
Definition: dcmimage.h:58
EI_Status getStatus() const
get current status information
Definition: dcmimage.h:202
static const char * getString(const EI_Status status)
convert status code to status string
const void * getOutputData(const int bits=0, const unsigned long frame=0, const int planar=0)
render pixel data and return pointer to internal memory buffer.
Definition: dcmimage.h:422
@ EIS_Normal
normal, no error
Definition: diutils.h:226