Implementation of a JPEG-LS plugin for the dcmimgle/dcmimage library.  
 More...
|  | 
|  | DiJPLSPlugin () | 
|  | constructor 
 | 
|  | 
| virtual | ~DiJPLSPlugin () | 
|  | destructor 
 | 
|  | 
| virtual int | write (DiImage *image, FILE *stream, const unsigned long frame=0) const | 
|  | write given image to a file stream (JPLS format) 
 | 
|  | 
| void | setTrueLosslessMode (OFBool mode) | 
|  | enable or disable true lossless compression mode 
 | 
|  | 
| void | setForce8BitMode (OFBool mode) | 
|  | enable or disable forcing the output image bit depth to 8 bits in rendered lossless mode 
 | 
|  | 
| virtual | ~DiPluginFormat () | 
|  | destructor (virtual) 
 | 
|  | 
|  | 
| OFBool | trueLosslessMode_ | 
|  | flag indicating the active compression mode 
 | 
|  | 
| OFBool | force8BitMode_ | 
|  | flag indicating the force-to-8-bit mode in rendered lossless mode 
 | 
|  | 
|  | 
|  | DiPluginFormat () | 
|  | constructor (protected) 
 | 
|  | 
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