# CSJ2K.j2k.roi

## Content

<div class="doc-site-dotnet-api-container">

  <h1 id="CSJ2K_j2k_roi" data-uid="CSJ2K.j2k.roi" class="text-break">CSJ2K.j2k.roi Namespace
</h1>
  <div class="markdown level0 summary"></div>
  <div class="markdown level0 conceptual"></div>
  <div class="markdown level0 remarks"></div>
    <h3 id="classes">
Classes
</h3>
      <h4><a class="xref" href="CSJ2K.j2k.roi.MaxShiftSpec.html">MaxShiftSpec</a></h4>
      <section><p>This class contains the maxshift scaling value for each tile-component.
The scaling values used are calculated in the ROIScaler class</p>
</section>
      <h4><a class="xref" href="CSJ2K.j2k.roi.ROIDeScaler.html">ROIDeScaler</a></h4>
      <section><p>This class takes care of the de-scaling of ROI coefficients. The de-scaler
works on a tile basis and any mask that is generated is for the current
mask only</p>
<pre><code>       &lt;p&gt;Default implementations of the methods in 'MultiResImgData' are provided
       through the 'MultiResImgDataAdapter' abstract class.&lt;/p&gt;

       &lt;p&gt;Sign-magnitude representation is used (instead of two's complement) for
       the output data. The most significant bit is used for the sign (0 if
       positive, 1 if negative). Then the magnitude of the quantized coefficient
       is stored in the next most significat bits. The most significant magnitude
       bit corresponds to the most significant bit-plane and so on.&lt;/p&gt;
</code></pre>
</section>


</div>
