OFFIS DCMTK  Version 3.6.0
Public Types | Public Member Functions | Public Attributes | Private Member Functions | List of all members
DefaultTraitsT< sample, pixel > Struct Template Reference

Public Types

typedef sample SAMPLE
 
typedef pixel PIXEL
 

Public Member Functions

 DefaultTraitsT (const DefaultTraitsT &src)
 
 DefaultTraitsT (LONG max, LONG jls_near)
 
inlinehint LONG ComputeErrVal (LONG e) const
 
inlinehint SAMPLE ComputeReconstructedSample (LONG Px, LONG ErrVal)
 
inlinehint bool IsNear (LONG lhs, LONG rhs) const
 
bool IsNear (Triplet< SAMPLE > lhs, Triplet< SAMPLE > rhs) const
 
inlinehint LONG CorrectPrediction (LONG Pxc) const
 
inlinehint LONG ModRange (LONG Errval) const
 

Public Attributes

LONG MAXVAL
 
LONG RANGE
 
LONG NEAR
 
LONG qbpp
 
LONG bpp
 
LONG LIMIT
 
LONG RESET
 

Private Member Functions

LONG Quantize (LONG Errval) const
 
inlinehint LONG DeQuantize (LONG Errval) const
 
inlinehint SAMPLE FixReconstructedValue (LONG val) const
 

Detailed Description

template<class sample, class pixel>
struct DefaultTraitsT< sample, pixel >

Definition at line 17 of file deftrait.h.


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


Generated on Thu Dec 20 2012 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.8.2