Implementation of a JPEG-LS plugin for the dcmimgle/dcmimage library.
More...
|
OFBool | trueLosslessMode_ |
| flag indicating the active compression mode
|
|
OFBool | force8BitMode_ |
| flag indicating the force-to-8-bit mode in rendered lossless mode
|
|
Implementation of a JPEG-LS plugin for the dcmimgle/dcmimage library.
◆ setForce8BitMode()
void DiJPLSPlugin::setForce8BitMode |
( |
OFBool |
mode | ) |
|
enable or disable forcing the output image bit depth to 8 bits in rendered lossless mode
- Parameters
-
mode,OFTrue | for force to 8 bits |
◆ setTrueLosslessMode()
void DiJPLSPlugin::setTrueLosslessMode |
( |
OFBool |
mode | ) |
|
enable or disable true lossless compression mode
- Parameters
-
mode,OFTrue | for true lossless, OFFalse for rendered lossless |
◆ write()
virtual int DiJPLSPlugin::write |
( |
DiImage * |
image, |
|
|
FILE * |
stream, |
|
|
const unsigned long |
frame = 0 |
|
) |
| const |
|
virtual |
write given image to a file stream (JPLS format)
- Parameters
-
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) |
- Returns
- true if successful, false otherwise
Implements DiPluginFormat.
The documentation for this class was generated from the following file:
- dcmjpls/include/dcmtk/dcmjpls/dipijpls.h