# CSJ2K.j2k.roi.encoder.ArbROIMaskGenerator

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="CSJ2K_j2k_roi_encoder_ArbROIMaskGenerator" data-uid="CSJ2K.j2k.roi.encoder.ArbROIMaskGenerator" class="text-break">ArbROIMaskGenerator Class
</h1>
  <div class="markdown level0 summary"></div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="CSJ2K.j2k.roi.encoder.ROIMaskGenerator.html">ROIMaskGenerator</a></div>
    <div class="level2"><span class="xref">ArbROIMaskGenerator</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="CSJ2K.j2k.roi.encoder.html">CSJ2K.j2k.roi.encoder</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.ReportViewer.4.6.2.dll</h6>
  <h5 id="CSJ2K_j2k_roi_encoder_ArbROIMaskGenerator_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ArbROIMaskGenerator : ROIMaskGenerator</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ArbROIMaskGenerator
    Inherits ROIMaskGenerator</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="CSJ2K_j2k_roi_encoder_ArbROIMaskGenerator__ctor_CSJ2K_j2k_roi_encoder_ROI___System_Int32_CSJ2K_j2k_quantization_quantizer_Quantizer_" data-uid="CSJ2K.j2k.roi.encoder.ArbROIMaskGenerator.#ctor(CSJ2K.j2k.roi.encoder.ROI[],System.Int32,CSJ2K.j2k.quantization.quantizer.Quantizer)">
          <a class="xref" href="CSJ2K.j2k.roi.encoder.ArbROIMaskGenerator.-ctor.html#CSJ2K_j2k_roi_encoder_ArbROIMaskGenerator__ctor_CSJ2K_j2k_roi_encoder_ROI___System_Int32_CSJ2K_j2k_quantization_quantizer_Quantizer_">ArbROIMaskGenerator(ROI[], int, Quantizer)</a>
        </td>
        <td class="markdown level1 summary"><p>The constructor of the arbitrary mask generator</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="CSJ2K_j2k_roi_encoder_ArbROIMaskGenerator_ToString" data-uid="CSJ2K.j2k.roi.encoder.ArbROIMaskGenerator.ToString">
          <a class="xref" href="CSJ2K.j2k.roi.encoder.ArbROIMaskGenerator.ToString.html#CSJ2K_j2k_roi_encoder_ArbROIMaskGenerator_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>This function returns the relevant data of the mask generator</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_roi_encoder_ArbROIMaskGenerator_getROIMask_CSJ2K_j2k_image_DataBlkInt_CSJ2K_j2k_wavelet_Subband_System_Int32_System_Int32_" data-uid="CSJ2K.j2k.roi.encoder.ArbROIMaskGenerator.getROIMask(CSJ2K.j2k.image.DataBlkInt,CSJ2K.j2k.wavelet.Subband,System.Int32,System.Int32)">
          <a class="xref" href="CSJ2K.j2k.roi.encoder.ArbROIMaskGenerator.getROIMask.html#CSJ2K_j2k_roi_encoder_ArbROIMaskGenerator_getROIMask_CSJ2K_j2k_image_DataBlkInt_CSJ2K_j2k_wavelet_Subband_System_Int32_System_Int32_">getROIMask(DataBlkInt, Subband, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>This functions gets a DataBlk with the size of the current code-block
and fills it with the ROI mask. The lowest scaling value in the mask
for this code-block is returned by the function to be used for
modifying the rate distortion estimations.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_roi_encoder_ArbROIMaskGenerator_makeMask_CSJ2K_j2k_wavelet_Subband_System_Int32_System_Int32_" data-uid="CSJ2K.j2k.roi.encoder.ArbROIMaskGenerator.makeMask(CSJ2K.j2k.wavelet.Subband,System.Int32,System.Int32)">
          <a class="xref" href="CSJ2K.j2k.roi.encoder.ArbROIMaskGenerator.makeMask.html#CSJ2K_j2k_roi_encoder_ArbROIMaskGenerator_makeMask_CSJ2K_j2k_wavelet_Subband_System_Int32_System_Int32_">makeMask(Subband, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>This function generates the ROI mask for the entire tile. The mask is
generated for one component. This method is called once for each tile
and component.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
