# CSJ2K.Color.ChannelDefinitionMapper

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="CSJ2K_Color_ChannelDefinitionMapper" data-uid="CSJ2K.Color.ChannelDefinitionMapper" class="text-break">ChannelDefinitionMapper Class
</h1>
  <div class="markdown level0 summary"><p>This class is responsible for the mapping between
requested components and image channels.</p>
</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.image.ImgDataAdapter.html">ImgDataAdapter</a></div>
    <div class="level2"><a class="xref" href="CSJ2K.Color.ColorSpaceMapper.html">ColorSpaceMapper</a></div>
    <div class="level3"><span class="xref">ChannelDefinitionMapper</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="CSJ2K.j2k.image.BlkImgDataSrc.html">BlkImgDataSrc</a></div>
    <div><a class="xref" href="CSJ2K.j2k.image.ImgData.html">ImgData</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="CSJ2K.Color.html">CSJ2K.Color</a></h6>
  <h6><strong>Assembly</strong>: C1.C1Pdf.4.8.dll</h6>
  <h5 id="CSJ2K_Color_ChannelDefinitionMapper_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ChannelDefinitionMapper : ColorSpaceMapper, BlkImgDataSrc, ImgData</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ChannelDefinitionMapper
    Inherits ColorSpaceMapper
    Implements BlkImgDataSrc, ImgData</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_Color_ChannelDefinitionMapper__ctor_CSJ2K_j2k_image_BlkImgDataSrc_CSJ2K_Color_ColorSpace_" data-uid="CSJ2K.Color.ChannelDefinitionMapper.#ctor(CSJ2K.j2k.image.BlkImgDataSrc,CSJ2K.Color.ColorSpace)">
          <a class="xref" href="CSJ2K.Color.ChannelDefinitionMapper.-ctor.html#CSJ2K_Color_ChannelDefinitionMapper__ctor_CSJ2K_j2k_image_BlkImgDataSrc_CSJ2K_Color_ColorSpace_">ChannelDefinitionMapper(BlkImgDataSrc, ColorSpace)</a>
        </td>
        <td class="markdown level1 summary"><p>Ctor which creates an ICCProfile for the image and initializes
all data objects (input, working, and output).</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_Color_ChannelDefinitionMapper_ToString" data-uid="CSJ2K.Color.ChannelDefinitionMapper.ToString">
          <a class="xref" href="CSJ2K.Color.ChannelDefinitionMapper.ToString.html#CSJ2K_Color_ChannelDefinitionMapper_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="CSJ2K_Color_ChannelDefinitionMapper_createInstance_CSJ2K_j2k_image_BlkImgDataSrc_CSJ2K_Color_ColorSpace_" data-uid="CSJ2K.Color.ChannelDefinitionMapper.createInstance(CSJ2K.j2k.image.BlkImgDataSrc,CSJ2K.Color.ColorSpace)">
          <a class="xref" href="CSJ2K.Color.ChannelDefinitionMapper.createInstance.html#CSJ2K_Color_ChannelDefinitionMapper_createInstance_CSJ2K_j2k_image_BlkImgDataSrc_CSJ2K_Color_ColorSpace_">createInstance(BlkImgDataSrc, ColorSpace)</a>
        </td>
        <td class="markdown level1 summary"><p>Factory method for creating instances of this class.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_Color_ChannelDefinitionMapper_getCompData_CSJ2K_j2k_image_DataBlk_System_Int32_" data-uid="CSJ2K.Color.ChannelDefinitionMapper.getCompData(CSJ2K.j2k.image.DataBlk,System.Int32)">
          <a class="xref" href="CSJ2K.Color.ChannelDefinitionMapper.getCompData.html#CSJ2K_Color_ChannelDefinitionMapper_getCompData_CSJ2K_j2k_image_DataBlk_System_Int32_">getCompData(DataBlk, int)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="CSJ2K_Color_ChannelDefinitionMapper_getCompImgHeight_System_Int32_" data-uid="CSJ2K.Color.ChannelDefinitionMapper.getCompImgHeight(System.Int32)">
          <a class="xref" href="CSJ2K.Color.ChannelDefinitionMapper.getCompImgHeight.html#CSJ2K_Color_ChannelDefinitionMapper_getCompImgHeight_System_Int32_">getCompImgHeight(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the height in pixels of the specified component in the overall
image.</p>
<pre><code>       &lt;p&gt;This default implementation returns the value of the source.&lt;/p&gt;
</code></pre>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_Color_ChannelDefinitionMapper_getCompImgWidth_System_Int32_" data-uid="CSJ2K.Color.ChannelDefinitionMapper.getCompImgWidth(System.Int32)">
          <a class="xref" href="CSJ2K.Color.ChannelDefinitionMapper.getCompImgWidth.html#CSJ2K_Color_ChannelDefinitionMapper_getCompImgWidth_System_Int32_">getCompImgWidth(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the width in pixels of the specified component in the overall
image.</p>
<pre><code>       &lt;p&gt;This default implementation returns the value of the source.&lt;/p&gt;
</code></pre>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_Color_ChannelDefinitionMapper_getCompSubsX_System_Int32_" data-uid="CSJ2K.Color.ChannelDefinitionMapper.getCompSubsX(System.Int32)">
          <a class="xref" href="CSJ2K.Color.ChannelDefinitionMapper.getCompSubsX.html#CSJ2K_Color_ChannelDefinitionMapper_getCompSubsX_System_Int32_">getCompSubsX(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the component subsampling factor in the horizontal direction,
for the specified component. This is, approximately, the ratio of
dimensions between the reference grid and the component itself, see the
'ImgData' interface desription for details.</p>
<pre><code>       &lt;p&gt;This default implementation returns the value of the source.&lt;/p&gt;
</code></pre>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_Color_ChannelDefinitionMapper_getCompSubsY_System_Int32_" data-uid="CSJ2K.Color.ChannelDefinitionMapper.getCompSubsY(System.Int32)">
          <a class="xref" href="CSJ2K.Color.ChannelDefinitionMapper.getCompSubsY.html#CSJ2K_Color_ChannelDefinitionMapper_getCompSubsY_System_Int32_">getCompSubsY(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the component subsampling factor in the vertical direction, for
the specified component. This is, approximately, the ratio of
dimensions between the reference grid and the component itself, see the
'ImgData' interface desription for details.</p>
<pre><code>       &lt;p&gt;This default implementation returns the value of the source.&lt;/p&gt;
</code></pre>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_Color_ChannelDefinitionMapper_getCompULX_System_Int32_" data-uid="CSJ2K.Color.ChannelDefinitionMapper.getCompULX(System.Int32)">
          <a class="xref" href="CSJ2K.Color.ChannelDefinitionMapper.getCompULX.html#CSJ2K_Color_ChannelDefinitionMapper_getCompULX_System_Int32_">getCompULX(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the horizontal coordinate of the upper-left corner of the
specified component in the current tile.</p>
<pre><code>       &lt;p&gt;This default implementation returns the value of the source.&lt;/p&gt;
</code></pre>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_Color_ChannelDefinitionMapper_getCompULY_System_Int32_" data-uid="CSJ2K.Color.ChannelDefinitionMapper.getCompULY(System.Int32)">
          <a class="xref" href="CSJ2K.Color.ChannelDefinitionMapper.getCompULY.html#CSJ2K_Color_ChannelDefinitionMapper_getCompULY_System_Int32_">getCompULY(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the vertical coordinate of the upper-left corner of the
specified component in the current tile.</p>
<pre><code>       &lt;p&gt;This default implementation returns the value of the source.&lt;/p&gt;
</code></pre>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_Color_ChannelDefinitionMapper_getFixedPoint_System_Int32_" data-uid="CSJ2K.Color.ChannelDefinitionMapper.getFixedPoint(System.Int32)">
          <a class="xref" href="CSJ2K.Color.ChannelDefinitionMapper.getFixedPoint.html#CSJ2K_Color_ChannelDefinitionMapper_getFixedPoint_System_Int32_">getFixedPoint(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the position of the fixed point in the specified component, or
equivalently the number of fractional bits. This is the position of the
least significant integral (i.e. non-fractional) bit, which is
equivalent to the number of fractional bits. For instance, for
fixed-point values with 2 fractional bits, 2 is returned. For
floating-point data this value does not apply and 0 should be
returned. Position 0 is the position of the least significant bit in
the data.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_Color_ChannelDefinitionMapper_getInternCompData_CSJ2K_j2k_image_DataBlk_System_Int32_" data-uid="CSJ2K.Color.ChannelDefinitionMapper.getInternCompData(CSJ2K.j2k.image.DataBlk,System.Int32)">
          <a class="xref" href="CSJ2K.Color.ChannelDefinitionMapper.getInternCompData.html#CSJ2K_Color_ChannelDefinitionMapper_getInternCompData_CSJ2K_j2k_image_DataBlk_System_Int32_">getInternCompData(DataBlk, int)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="CSJ2K_Color_ChannelDefinitionMapper_getNomRangeBits_System_Int32_" data-uid="CSJ2K.Color.ChannelDefinitionMapper.getNomRangeBits(System.Int32)">
          <a class="xref" href="CSJ2K.Color.ChannelDefinitionMapper.getNomRangeBits.html#CSJ2K_Color_ChannelDefinitionMapper_getNomRangeBits_System_Int32_">getNomRangeBits(int)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="CSJ2K_Color_ChannelDefinitionMapper_getTileCompHeight_System_Int32_System_Int32_" data-uid="CSJ2K.Color.ChannelDefinitionMapper.getTileCompHeight(System.Int32,System.Int32)">
          <a class="xref" href="CSJ2K.Color.ChannelDefinitionMapper.getTileCompHeight.html#CSJ2K_Color_ChannelDefinitionMapper_getTileCompHeight_System_Int32_System_Int32_">getTileCompHeight(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the height in pixels of the specified tile-component.</p>
<pre><code>       &lt;p&gt;This default implementation returns the value of the source.&lt;/p&gt;
</code></pre>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_Color_ChannelDefinitionMapper_getTileCompWidth_System_Int32_System_Int32_" data-uid="CSJ2K.Color.ChannelDefinitionMapper.getTileCompWidth(System.Int32,System.Int32)">
          <a class="xref" href="CSJ2K.Color.ChannelDefinitionMapper.getTileCompWidth.html#CSJ2K_Color_ChannelDefinitionMapper_getTileCompWidth_System_Int32_System_Int32_">getTileCompWidth(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the width in pixels of the specified tile-component
tile.</p>
<pre><code>       &lt;p&gt;This default implementation returns the value of the source.&lt;/p&gt;
</code></pre>
</td>
      </tr>
    </tbody>
  </table>

</div>
