# CSJ2K.j2k.codestream.reader.HeaderDecoder.createROIDeScaler

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="CSJ2K_j2k_codestream_reader_HeaderDecoder_createROIDeScaler_" data-uid="CSJ2K.j2k.codestream.reader.HeaderDecoder.createROIDeScaler*">createROIDeScaler Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="CSJ2K_j2k_codestream_reader_HeaderDecoder_createROIDeScaler_" data-uid="CSJ2K.j2k.codestream.reader.HeaderDecoder.createROIDeScaler*"></a>
<h4 id="CSJ2K_j2k_codestream_reader_HeaderDecoder_createROIDeScaler_CSJ2K_j2k_quantization_dequantizer_CBlkQuantDataSrcDec_CSJ2K_j2k_util_ParameterList_CSJ2K_j2k_decoder_DecoderSpecs_" data-uid="CSJ2K.j2k.codestream.reader.HeaderDecoder.createROIDeScaler(CSJ2K.j2k.quantization.dequantizer.CBlkQuantDataSrcDec,CSJ2K.j2k.util.ParameterList,CSJ2K.j2k.decoder.DecoderSpecs)">createROIDeScaler(CBlkQuantDataSrcDec, ParameterList, DecoderSpecs)</h4>
<div class="markdown level1 summary"><p>Creates and returns the ROIDeScaler corresponding to the information
read from the codestream header and with the special additional
parameters from the parameter list.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public virtual ROIDeScaler createROIDeScaler(CBlkQuantDataSrcDec src, ParameterList pl, DecoderSpecs decSpec2)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overridable Function createROIDeScaler(src As CBlkQuantDataSrcDec, pl As ParameterList, decSpec2 As DecoderSpecs) As ROIDeScaler</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.quantization.dequantizer.CBlkQuantDataSrcDec.html">CBlkQuantDataSrcDec</a></td>
      <td><span class="parametername">src</span></td>
      <td><p>The bit stream reader agent where to get code-block data
from.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="CSJ2K.j2k.util.ParameterList.html">ParameterList</a></td>
      <td><span class="parametername">pl</span></td>
      <td><p>The parameter list containing parameters applicable to the
entropy decoder (other parameters can also be present).</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="CSJ2K.j2k.decoder.DecoderSpecs.html">DecoderSpecs</a></td>
      <td><span class="parametername">decSpec2</span></td>
      <td><p>The DecoderSpecs instance after any image manipulation.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="CSJ2K.j2k.roi.ROIDeScaler.html">ROIDeScaler</a></td>
      <td><p>The ROI descaler.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
