![](dotnetdiagramimages/C1_WPF_PdfViewer_4_6_2_CSJ2K_j2k_entropy_encoder_EntropyCoder.png)
The source of data for objects of this class are 'CBlkQuantDataSrcEnc' objects.
For more details on the sign magnitude representation used see the Quantizer class.
This class provides default implemenations for most of the methods (wherever it makes sense), under the assumption that the image and component dimensions, and the tiles, are not modifed by the entropy coder. If that is not the case for a particular implementation then the methods should be overriden.
'Declaration
Public MustInherit Class EntropyCoder Inherits CSJ2K.j2k.image.ImgDataAdapter Implements CodedCBlkDataSrcEnc, CSJ2K.j2k.image.ImgData, CSJ2K.j2k.wavelet.analysis.ForwWTDataProps
public abstract class EntropyCoder : CSJ2K.j2k.image.ImgDataAdapter, CodedCBlkDataSrcEnc, CSJ2K.j2k.image.ImgData, CSJ2K.j2k.wavelet.analysis.ForwWTDataProps
System.Object
CSJ2K.j2k.image.ImgDataAdapter
CSJ2K.j2k.entropy.encoder.EntropyCoder
CSJ2K.j2k.entropy.encoder.StdEntropyCoder