# CSJ2K.j2k.quantization.quantizer.StdQuantizer.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="CSJ2K_j2k_quantization_quantizer_StdQuantizer__ctor_" data-uid="CSJ2K.j2k.quantization.quantizer.StdQuantizer.#ctor*">StdQuantizer Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="CSJ2K_j2k_quantization_quantizer_StdQuantizer__ctor_" data-uid="CSJ2K.j2k.quantization.quantizer.StdQuantizer.#ctor*"></a>
<h4 id="CSJ2K_j2k_quantization_quantizer_StdQuantizer__ctor_CSJ2K_j2k_wavelet_analysis_CBlkWTDataSrc_CSJ2K_j2k_encoder_EncoderSpecs_" data-uid="CSJ2K.j2k.quantization.quantizer.StdQuantizer.#ctor(CSJ2K.j2k.wavelet.analysis.CBlkWTDataSrc,CSJ2K.j2k.encoder.EncoderSpecs)">StdQuantizer(CBlkWTDataSrc, EncoderSpecs)</h4>
<div class="markdown level1 summary"><p>Initializes the source of wavelet transform coefficients. The
constructor takes information on whether the quantizer is in
reversible, derived or expounded mode. If the quantizer is reversible
the value of 'derived' is ignored. If the source data is not integer
(int) then the quantizer can not be reversible.</p>
<pre><code>       &lt;p&gt;After initializing member attributes, getAnSubbandTree is called for
       all components setting the 'stepWMSE' for all subbands in the current
       tile.&lt;/p&gt;
</code></pre>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public StdQuantizer(CBlkWTDataSrc src, EncoderSpecs encSpec)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(src As CBlkWTDataSrc, encSpec As EncoderSpecs)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="CSJ2K.j2k.wavelet.analysis.CBlkWTDataSrc.html">CBlkWTDataSrc</a></td>
      <td><span class="parametername">src</span></td>
      <td><p>The source of wavelet transform coefficients.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="CSJ2K.j2k.encoder.EncoderSpecs.html">EncoderSpecs</a></td>
      <td><span class="parametername">encSpec</span></td>
      <td><p>The encoder specifications</p>
</td>
    </tr>
  </tbody>
</table>
</div>
