OFFIS DCMTK  Version 3.6.0
Public Member Functions | List of all members
DiRegister Class Reference

Class to register color support to dcmimgle library. More...

Inheritance diagram for DiRegister:
[legend]
Collaboration diagram for DiRegister:
[legend]

Public Member Functions

 DiRegister ()
 constructor
 
virtual ~DiRegister ()
 destructor
 
virtual DiImagecreateImage (const DiDocument *docu, const EI_Status status, const EP_Interpretation photo)
 create color image representation
 
virtual DiMonoPixelcreateMonoImageData (const DiColorImage *image, const double red, const double green, const double blue)
 create monochrome pixel data from color image
 
- Public Member Functions inherited from DiRegisterBase
 DiRegisterBase ()
 constructor, default
 
virtual ~DiRegisterBase ()
 destructor
 

Additional Inherited Members

- Static Public Attributes inherited from DiRegisterBase
static DiRegisterBasePointer
 global pointer to registered 'dcmimage' library
 

Detailed Description

Class to register color support to dcmimgle library.

Definition at line 44 of file diregist.h.

Member Function Documentation

virtual DiImage* DiRegister::createImage ( const DiDocument docu,
const EI_Status  status,
const EP_Interpretation  photo 
)
virtual

create color image representation

Parameters
docupointer to dataset (encapsulated)
statusimage status
photophotometric interpretation
Returns
pointer to new DiImage object (NULL if an error occurred)

Implements DiRegisterBase.

virtual DiMonoPixel* DiRegister::createMonoImageData ( const DiColorImage image,
const double  red,
const double  green,
const double  blue 
)
virtual

create monochrome pixel data from color image

Parameters
imagepointer to color image
redcoefficient by which the red component is weighted
greencoefficient by which the green component is weighted
bluecoefficient by which the blue component is weighted
Returns
pointer to new DiImage object (NULL if an error occurred)

Implements DiRegisterBase.


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


Generated on Thu Dec 20 2012 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.8.2