# CSJ2K.Icc.Lut.MonochromeTransformTosRGB.apply

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="CSJ2K_Icc_Lut_MonochromeTransformTosRGB_apply_" data-uid="CSJ2K.Icc.Lut.MonochromeTransformTosRGB.apply*">apply Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="CSJ2K_Icc_Lut_MonochromeTransformTosRGB_apply_" data-uid="CSJ2K.Icc.Lut.MonochromeTransformTosRGB.apply*"></a>
<h4 id="CSJ2K_Icc_Lut_MonochromeTransformTosRGB_apply_CSJ2K_j2k_image_DataBlkInt_CSJ2K_j2k_image_DataBlkInt_" data-uid="CSJ2K.Icc.Lut.MonochromeTransformTosRGB.apply(CSJ2K.j2k.image.DataBlkInt,CSJ2K.j2k.image.DataBlkInt)">apply(DataBlkInt, DataBlkInt)</h4>
<div class="markdown level1 summary"><p>Populate the output block by looking up the values in the lut, using the input
as lut indices.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public virtual void apply(DataBlkInt inb, DataBlkInt outb)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overridable Sub apply(inb As DataBlkInt, outb As DataBlkInt)</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.image.DataBlkInt.html">DataBlkInt</a></td>
      <td><span class="parametername">inb</span></td>
      <td><p>input samples</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="CSJ2K.j2k.image.DataBlkInt.html">DataBlkInt</a></td>
      <td><span class="parametername">outb</span></td>
      <td><p>output samples.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="CSJ2K.Icc.Lut.MonochromeTransformException.html">MonochromeTransformException</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="CSJ2K_Icc_Lut_MonochromeTransformTosRGB_apply_" data-uid="CSJ2K.Icc.Lut.MonochromeTransformTosRGB.apply*"></a>
<h4 id="CSJ2K_Icc_Lut_MonochromeTransformTosRGB_apply_CSJ2K_j2k_image_DataBlkFloat_CSJ2K_j2k_image_DataBlkFloat_" data-uid="CSJ2K.Icc.Lut.MonochromeTransformTosRGB.apply(CSJ2K.j2k.image.DataBlkFloat,CSJ2K.j2k.image.DataBlkFloat)">apply(DataBlkFloat, DataBlkFloat)</h4>
<div class="markdown level1 summary"><p>Populate the output block by looking up the values in the lut, using the input
as lut indices.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public virtual void apply(DataBlkFloat inb, DataBlkFloat outb)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overridable Sub apply(inb As DataBlkFloat, outb As DataBlkFloat)</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.image.DataBlkFloat.html">DataBlkFloat</a></td>
      <td><span class="parametername">inb</span></td>
      <td><p>input samples</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="CSJ2K.j2k.image.DataBlkFloat.html">DataBlkFloat</a></td>
      <td><span class="parametername">outb</span></td>
      <td><p>output samples.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="CSJ2K.Icc.Lut.MonochromeTransformException.html">MonochromeTransformException</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
