DCMTK  Version 3.6.1 20120515
OFFIS DICOM Toolkit
Public Member Functions | Private Attributes
DJLSRepresentationParameter Class Reference

representation parameter for JPEG-LS More...

+ Inheritance diagram for DJLSRepresentationParameter:

List of all members.

Public Member Functions

 DJLSRepresentationParameter (Uint16 nearlosslessDeviation=2, OFBool losslessProcess=OFTrue)
 constructor
 DJLSRepresentationParameter (const DJLSRepresentationParameter &arg)
 copy constructor
virtual ~DJLSRepresentationParameter ()
 destructor
virtual
DcmRepresentationParameter
clone () const
 this methods creates a copy of type DcmRepresentationParameter * it must be overweritten in every subclass.
virtual const char * className () const
 returns the class name as string.
virtual OFBool operator== (const DcmRepresentationParameter &arg) const
 compares an object to another DcmRepresentationParameter.
Uint16 getnearlosslessDeviation () const
 returns the desired NEAR parameter
OFBool useLosslessProcess () const
 returns true if lossless compression is desired

Private Attributes

Uint16 nearlosslessDeviation_
 desired NEAR parameter Default is 0 (lossless compression).
OFBool losslessProcess_
 true if lossless process should be used even in lossy transfer syntax

Detailed Description

representation parameter for JPEG-LS


Constructor & Destructor Documentation

DJLSRepresentationParameter::DJLSRepresentationParameter ( Uint16  nearlosslessDeviation = 2,
OFBool  losslessProcess = OFTrue 
)

constructor

Parameters:
nearlosslessDeviationused as parameter NEAR in JPEG-LS nearlossless-encoding process
losslessProcesstrue if lossless process is requested

Member Function Documentation

virtual const char* DJLSRepresentationParameter::className ( ) const [virtual]

returns the class name as string.

can be used in operator== as poor man's RTTI replacement.

Implements DcmRepresentationParameter.

this methods creates a copy of type DcmRepresentationParameter * it must be overweritten in every subclass.

Returns:
copy of this object

Implements DcmRepresentationParameter.

returns the desired NEAR parameter

Returns:
return desired NEAR-Parameter
virtual OFBool DJLSRepresentationParameter::operator== ( const DcmRepresentationParameter arg) const [virtual]

compares an object to another DcmRepresentationParameter.

Implementation must make sure that classes are comparable.

Parameters:
argrepresentation parameter to compare with
Returns:
true if equal, false otherwise.

Implements DcmRepresentationParameter.

returns true if lossless compression is desired

Returns:
true if lossless compression is desired

Member Data Documentation

desired NEAR parameter Default is 0 (lossless compression).

Ignored during lossless compression.


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


Generated on Tue May 15 2012 for DCMTK Version 3.6.1 20120515 by Doxygen 1.7.5.1-20111027