DCMTK
Version 3.6.6
OFFIS DICOM Toolkit
|
Implementation of the plugable image support for the DICOMDIR class. More...
Public Member Functions | |
DicomDirImageImplementation () | |
constructor | |
virtual | ~DicomDirImageImplementation () |
destructor | |
virtual OFBool | scaleData (const Uint8 *srcData, const unsigned int srcWidth, const unsigned int srcHeight, Uint8 *dstData, const unsigned int dstWidth, const unsigned int dstHeight) const |
scale given pixel data (monochrome only). More... | |
virtual OFBool | scaleImage (DcmItem *dataset, Uint8 *pixel, const unsigned long count, const unsigned long frame, const unsigned int width, const unsigned int height, const OFBool decompressAll=OFFalse) const |
get scaled pixel data from DICOM image. More... | |
![]() | |
virtual | ~DicomDirImagePlugin () |
destructor (virtual) | |
Additional Inherited Members | |
![]() | |
DicomDirImagePlugin () | |
constructor (protected) | |
Implementation of the plugable image support for the DICOMDIR class.
|
virtual |
scale given pixel data (monochrome only).
The destination pixel data array needs to be allocated by the caller.
srcData | source pixel data (byte array) |
srcWidth | width of the source pixel data (in pixels) |
srcHeight | height of the source pixel data (in pixels) |
dstData | destination pixel data (resulting byte array, not NULL) |
dstWidth | width of the scaled pixel data (in pixels) |
dstHeight | height of the scaled pixel data (in pixels) |
Implements DicomDirImagePlugin.
|
virtual |
get scaled pixel data from DICOM image.
The resulting scaled image (pixel array) is always monochrome. The resulting pixel data array needs to be allocated by the caller.
dataset | DICOM dataset in which the DICOM image is stored |
pixel | resulting pixel data array (not NULL) |
count | number of pixels allocated for the resulting array |
frame | index of the frame to be scaled (1..n) |
width | width of the scaled image (in pixels) |
height | height of the scaled image (in pixels) |
decompressAll | always decompress complete pixel data if true |
Implements DicomDirImagePlugin.