fw4spl
fwDcmtkIO::reader::rgblookup::ImageRGBLookupReader Class Reference

This class is used to read the buffer of a DICOM image in DIRECT mode when a pixel lookup must be performed. More...

#include <ImageRGBLookupReader.hpp>

Public Types

typedef ::fwMedData::DicomSeries::DicomContainerType DicomContainerType
 

Static Public Member Functions

template<typename T , typename U >
static void fillImageBuffer (unsigned int rows, unsigned int columns, unsigned int depth, DicomContainerType &instances, void *destination, const T *redLookup, const T *greenLookup, const T *blueLookup)
 Fill the buffer of an image The template T is used to determine color format The template U is used to determine pixel value format. More...
 

Detailed Description

This class is used to read the buffer of a DICOM image in DIRECT mode when a pixel lookup must be performed.

Note
This class has only been tested on a single frame DICOM file

Definition at line 30 of file ImageRGBLookupReader.hpp.

Member Function Documentation

template<typename T , typename U >
static void fwDcmtkIO::reader::rgblookup::ImageRGBLookupReader::fillImageBuffer ( unsigned int  rows,
unsigned int  columns,
unsigned int  depth,
DicomContainerType &  instances,
void *  destination,
const T *  redLookup,
const T *  greenLookup,
const T *  blueLookup 
)
inlinestatic

Fill the buffer of an image The template T is used to determine color format The template U is used to determine pixel value format.

Parameters
[in]rowsNumber of rows
[in]columnsNumber of columns
[in]depthNumber of frames
[in]instancesPaths to the instances
[in]destinationDestination buffer
[in]redLookupRed color lookup table
[in]greenLookupGreen color lookup table
[in]blueLookupBlue color lookup table

Definition at line 50 of file ImageRGBLookupReader.hpp.


The documentation for this class was generated from the following file: