|
DCMTK
Version 3.6.1 20170228
OFFIS DICOM Toolkit
|
Implementation of a TIFF plugin for the dcmimgle/dcmimage library. More...
Inheritance diagram for DiTIFFPlugin:Public Member Functions | |
| DiTIFFPlugin () | |
| constructor | |
| virtual | ~DiTIFFPlugin () |
| destructor | |
| virtual int | write (DiImage *image, FILE *stream, const unsigned long frame=0) const |
| write given image to a file stream (TIFF format) More... | |
| void | setCompressionType (DiTIFFCompression ctype) |
| set compression type for TIFF creation More... | |
| void | setLZWPredictor (DiTIFFLZWPredictor pred) |
| set predictor type for LZW compression More... | |
| void | setRowsPerStrip (unsigned long rows=0) |
| set rows per strip for TIFF creation. More... | |
Public Member Functions inherited from DiPluginFormat | |
| virtual | ~DiPluginFormat () |
| destructor (virtual) | |
Static Public Member Functions | |
| static OFString | getLibraryVersionString () |
| get version information of the TIFF library. More... | |
Private Attributes | |
| DiTIFFCompression | compressionType |
| TIFF compression type. | |
| DiTIFFLZWPredictor | predictor |
| TIFF predictor type. | |
| unsigned long | rowsPerStrip |
| TIFF rows per strip. | |
Additional Inherited Members | |
Protected Member Functions inherited from DiPluginFormat | |
| DiPluginFormat () | |
| constructor (protected) | |
Implementation of a TIFF plugin for the dcmimgle/dcmimage library.
|
static |
get version information of the TIFF library.
Typical output format: "LIBTIFF, Version 3.5.7"
| void DiTIFFPlugin::setCompressionType | ( | DiTIFFCompression | ctype | ) |
set compression type for TIFF creation
| ctype | compression type |
| void DiTIFFPlugin::setLZWPredictor | ( | DiTIFFLZWPredictor | pred | ) |
set predictor type for LZW compression
| pred | predictor type |
| void DiTIFFPlugin::setRowsPerStrip | ( | unsigned long | rows = 0 | ) |
set rows per strip for TIFF creation.
| rows | rows per strip. By default (value 0), rows per strip is calculated automatically such that each strip contains about 8 kByte of data. |
|
virtual |
write given image to a file stream (TIFF format)
| image | pointer to DICOM image object to be written |
| stream | stream to which the image is written (open in binary mode!) |
| frame | index of frame used for output (default: first frame = 0) |
Implements DiPluginFormat.