# CSJ2K.j2k.image.ImgDataJoiner

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="CSJ2K_j2k_image_ImgDataJoiner" data-uid="CSJ2K.j2k.image.ImgDataJoiner" class="text-break">ImgDataJoiner Class
</h1>
  <div class="markdown level0 summary"><p>This class implements the ImgData interface and allows to obtain data from
different sources. Here, one source is represented by an ImgData and a
component index. The typical use of this class is when the encoder needs
different components (Red, Green, Blue, alpha, ...) from different input
files (i.e. from different ImgReader objects).</p>
<pre><code>       &lt;p&gt;All input ImgData must not be tiled (i.e. must have only 1 tile) and the
       image origin must be the canvas origin. The different inputs can have
       different dimensions though (this will lead to different subsampling
       factors for each component).&lt;/p&gt;&lt;p&gt;The input ImgData and component index list must be defined when
       constructing this class and can not be modified later.&lt;/p&gt;
</code></pre>
</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"><span class="xref">ImgDataJoiner</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.j2k.image.html">CSJ2K.j2k.image</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.ReportViewer.4.6.2.dll</h6>
  <h5 id="CSJ2K_j2k_image_ImgDataJoiner_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ImgDataJoiner : BlkImgDataSrc, ImgData</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ImgDataJoiner
    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_j2k_image_ImgDataJoiner__ctor_CSJ2K_j2k_image_BlkImgDataSrc___System_Int32___" data-uid="CSJ2K.j2k.image.ImgDataJoiner.#ctor(CSJ2K.j2k.image.BlkImgDataSrc[],System.Int32[])">
          <a class="xref" href="CSJ2K.j2k.image.ImgDataJoiner.-ctor.html#CSJ2K_j2k_image_ImgDataJoiner__ctor_CSJ2K_j2k_image_BlkImgDataSrc___System_Int32___">ImgDataJoiner(BlkImgDataSrc[], int[])</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="CSJ2K_j2k_image_ImgDataJoiner_ImgHeight" data-uid="CSJ2K.j2k.image.ImgDataJoiner.ImgHeight">
          <a class="xref" href="CSJ2K.j2k.image.ImgDataJoiner.ImgHeight.html#CSJ2K_j2k_image_ImgDataJoiner_ImgHeight">ImgHeight</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the overall height of the image in pixels. This is the image's
height without accounting for any component subsampling or tiling.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_image_ImgDataJoiner_ImgULX" data-uid="CSJ2K.j2k.image.ImgDataJoiner.ImgULX">
          <a class="xref" href="CSJ2K.j2k.image.ImgDataJoiner.ImgULX.html#CSJ2K_j2k_image_ImgDataJoiner_ImgULX">ImgULX</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the horizontal coordinate of the image origin, the top-left
corner, in the canvas system, on the reference grid.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_image_ImgDataJoiner_ImgULY" data-uid="CSJ2K.j2k.image.ImgDataJoiner.ImgULY">
          <a class="xref" href="CSJ2K.j2k.image.ImgDataJoiner.ImgULY.html#CSJ2K_j2k_image_ImgDataJoiner_ImgULY">ImgULY</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the vertical coordinate of the image origin, the top-left
corner, in the canvas system, on the reference grid.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_image_ImgDataJoiner_ImgWidth" data-uid="CSJ2K.j2k.image.ImgDataJoiner.ImgWidth">
          <a class="xref" href="CSJ2K.j2k.image.ImgDataJoiner.ImgWidth.html#CSJ2K_j2k_image_ImgDataJoiner_ImgWidth">ImgWidth</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the overall width of the image in pixels. This is the image's
width without accounting for any component subsampling or tiling.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_image_ImgDataJoiner_NomTileHeight" data-uid="CSJ2K.j2k.image.ImgDataJoiner.NomTileHeight">
          <a class="xref" href="CSJ2K.j2k.image.ImgDataJoiner.NomTileHeight.html#CSJ2K_j2k_image_ImgDataJoiner_NomTileHeight">NomTileHeight</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the nominal tiles height</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_image_ImgDataJoiner_NomTileWidth" data-uid="CSJ2K.j2k.image.ImgDataJoiner.NomTileWidth">
          <a class="xref" href="CSJ2K.j2k.image.ImgDataJoiner.NomTileWidth.html#CSJ2K_j2k_image_ImgDataJoiner_NomTileWidth">NomTileWidth</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the nominal tiles width</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_image_ImgDataJoiner_NumComps" data-uid="CSJ2K.j2k.image.ImgDataJoiner.NumComps">
          <a class="xref" href="CSJ2K.j2k.image.ImgDataJoiner.NumComps.html#CSJ2K_j2k_image_ImgDataJoiner_NumComps">NumComps</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the number of components in the image.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_image_ImgDataJoiner_TileHeight" data-uid="CSJ2K.j2k.image.ImgDataJoiner.TileHeight">
          <a class="xref" href="CSJ2K.j2k.image.ImgDataJoiner.TileHeight.html#CSJ2K_j2k_image_ImgDataJoiner_TileHeight">TileHeight</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the overall height of the current tile in pixels. This is the
tile's height without accounting for any component subsampling.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_image_ImgDataJoiner_TileIdx" data-uid="CSJ2K.j2k.image.ImgDataJoiner.TileIdx">
          <a class="xref" href="CSJ2K.j2k.image.ImgDataJoiner.TileIdx.html#CSJ2K_j2k_image_ImgDataJoiner_TileIdx">TileIdx</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the index of the current tile, relative to a standard scan-line
order. This default implementations assumes no tiling, so 0 is always
returned.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_image_ImgDataJoiner_TilePartULX" data-uid="CSJ2K.j2k.image.ImgDataJoiner.TilePartULX">
          <a class="xref" href="CSJ2K.j2k.image.ImgDataJoiner.TilePartULX.html#CSJ2K_j2k_image_ImgDataJoiner_TilePartULX">TilePartULX</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the horizontal tile partition offset in the reference grid</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_image_ImgDataJoiner_TilePartULY" data-uid="CSJ2K.j2k.image.ImgDataJoiner.TilePartULY">
          <a class="xref" href="CSJ2K.j2k.image.ImgDataJoiner.TilePartULY.html#CSJ2K_j2k_image_ImgDataJoiner_TilePartULY">TilePartULY</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the vertical tile partition offset in the reference grid</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_image_ImgDataJoiner_TileWidth" data-uid="CSJ2K.j2k.image.ImgDataJoiner.TileWidth">
          <a class="xref" href="CSJ2K.j2k.image.ImgDataJoiner.TileWidth.html#CSJ2K_j2k_image_ImgDataJoiner_TileWidth">TileWidth</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the overall width of the current tile in pixels. This is the
tile's width without accounting for any component subsampling.</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_image_ImgDataJoiner_ToString" data-uid="CSJ2K.j2k.image.ImgDataJoiner.ToString">
          <a class="xref" href="CSJ2K.j2k.image.ImgDataJoiner.ToString.html#CSJ2K_j2k_image_ImgDataJoiner_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a string of information about the object, more than 1 line
long. The information string includes information from the several
input ImgData (their toString() method are called one after the other).</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_image_ImgDataJoiner_getCompData_CSJ2K_j2k_image_DataBlk_System_Int32_" data-uid="CSJ2K.j2k.image.ImgDataJoiner.getCompData(CSJ2K.j2k.image.DataBlk,System.Int32)">
          <a class="xref" href="CSJ2K.j2k.image.ImgDataJoiner.getCompData.html#CSJ2K_j2k_image_ImgDataJoiner_getCompData_CSJ2K_j2k_image_DataBlk_System_Int32_">getCompData(DataBlk, int)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_image_ImgDataJoiner_getCompImgHeight_System_Int32_" data-uid="CSJ2K.j2k.image.ImgDataJoiner.getCompImgHeight(System.Int32)">
          <a class="xref" href="CSJ2K.j2k.image.ImgDataJoiner.getCompImgHeight.html#CSJ2K_j2k_image_ImgDataJoiner_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>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_image_ImgDataJoiner_getCompImgWidth_System_Int32_" data-uid="CSJ2K.j2k.image.ImgDataJoiner.getCompImgWidth(System.Int32)">
          <a class="xref" href="CSJ2K.j2k.image.ImgDataJoiner.getCompImgWidth.html#CSJ2K_j2k_image_ImgDataJoiner_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>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_image_ImgDataJoiner_getCompSubsX_System_Int32_" data-uid="CSJ2K.j2k.image.ImgDataJoiner.getCompSubsX(System.Int32)">
          <a class="xref" href="CSJ2K.j2k.image.ImgDataJoiner.getCompSubsX.html#CSJ2K_j2k_image_ImgDataJoiner_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>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_image_ImgDataJoiner_getCompSubsY_System_Int32_" data-uid="CSJ2K.j2k.image.ImgDataJoiner.getCompSubsY(System.Int32)">
          <a class="xref" href="CSJ2K.j2k.image.ImgDataJoiner.getCompSubsY.html#CSJ2K_j2k_image_ImgDataJoiner_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>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_image_ImgDataJoiner_getCompULX_System_Int32_" data-uid="CSJ2K.j2k.image.ImgDataJoiner.getCompULX(System.Int32)">
          <a class="xref" href="CSJ2K.j2k.image.ImgDataJoiner.getCompULX.html#CSJ2K_j2k_image_ImgDataJoiner_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>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_image_ImgDataJoiner_getCompULY_System_Int32_" data-uid="CSJ2K.j2k.image.ImgDataJoiner.getCompULY(System.Int32)">
          <a class="xref" href="CSJ2K.j2k.image.ImgDataJoiner.getCompULY.html#CSJ2K_j2k_image_ImgDataJoiner_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>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_image_ImgDataJoiner_getFixedPoint_System_Int32_" data-uid="CSJ2K.j2k.image.ImgDataJoiner.getFixedPoint(System.Int32)">
          <a class="xref" href="CSJ2K.j2k.image.ImgDataJoiner.getFixedPoint.html#CSJ2K_j2k_image_ImgDataJoiner_getFixedPoint_System_Int32_">getFixedPoint(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the position of the fixed point in the specified
component. 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_j2k_image_ImgDataJoiner_getInternCompData_CSJ2K_j2k_image_DataBlk_System_Int32_" data-uid="CSJ2K.j2k.image.ImgDataJoiner.getInternCompData(CSJ2K.j2k.image.DataBlk,System.Int32)">
          <a class="xref" href="CSJ2K.j2k.image.ImgDataJoiner.getInternCompData.html#CSJ2K_j2k_image_ImgDataJoiner_getInternCompData_CSJ2K_j2k_image_DataBlk_System_Int32_">getInternCompData(DataBlk, int)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_image_ImgDataJoiner_getNomRangeBits_System_Int32_" data-uid="CSJ2K.j2k.image.ImgDataJoiner.getNomRangeBits(System.Int32)">
          <a class="xref" href="CSJ2K.j2k.image.ImgDataJoiner.getNomRangeBits.html#CSJ2K_j2k_image_ImgDataJoiner_getNomRangeBits_System_Int32_">getNomRangeBits(int)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_image_ImgDataJoiner_getNumTiles" data-uid="CSJ2K.j2k.image.ImgDataJoiner.getNumTiles">
          <a class="xref" href="CSJ2K.j2k.image.ImgDataJoiner.getNumTiles.html#CSJ2K_j2k_image_ImgDataJoiner_getNumTiles">getNumTiles()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the total number of tiles in the image. This default
implementation assumes no tiling, so 1 is always returned.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_image_ImgDataJoiner_getNumTiles_CSJ2K_j2k_image_Coord_" data-uid="CSJ2K.j2k.image.ImgDataJoiner.getNumTiles(CSJ2K.j2k.image.Coord)">
          <a class="xref" href="CSJ2K.j2k.image.ImgDataJoiner.getNumTiles.html#CSJ2K_j2k_image_ImgDataJoiner_getNumTiles_CSJ2K_j2k_image_Coord_">getNumTiles(Coord)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the number of tiles in the horizontal and vertical
directions. This default implementation assumes no tiling, so (1,1) is
always returned.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_image_ImgDataJoiner_getTile_CSJ2K_j2k_image_Coord_" data-uid="CSJ2K.j2k.image.ImgDataJoiner.getTile(CSJ2K.j2k.image.Coord)">
          <a class="xref" href="CSJ2K.j2k.image.ImgDataJoiner.getTile.html#CSJ2K_j2k_image_ImgDataJoiner_getTile_CSJ2K_j2k_image_Coord_">getTile(Coord)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the coordinates of the current tile. This default
implementation assumes no-tiling, so (0,0) is returned.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_image_ImgDataJoiner_getTileCompHeight_System_Int32_System_Int32_" data-uid="CSJ2K.j2k.image.ImgDataJoiner.getTileCompHeight(System.Int32,System.Int32)">
          <a class="xref" href="CSJ2K.j2k.image.ImgDataJoiner.getTileCompHeight.html#CSJ2K_j2k_image_ImgDataJoiner_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>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_image_ImgDataJoiner_getTileCompWidth_System_Int32_System_Int32_" data-uid="CSJ2K.j2k.image.ImgDataJoiner.getTileCompWidth(System.Int32,System.Int32)">
          <a class="xref" href="CSJ2K.j2k.image.ImgDataJoiner.getTileCompWidth.html#CSJ2K_j2k_image_ImgDataJoiner_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</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_image_ImgDataJoiner_nextTile" data-uid="CSJ2K.j2k.image.ImgDataJoiner.nextTile">
          <a class="xref" href="CSJ2K.j2k.image.ImgDataJoiner.nextTile.html#CSJ2K_j2k_image_ImgDataJoiner_nextTile">nextTile()</a>
        </td>
        <td class="markdown level1 summary"><p>Advances to the next tile, in standard scan-line order (by rows then
columns). A NoNextElementException is thrown if the current tile is the
last one (i.e. there is no next tile). This default implementation
assumes no tiling, so NoNextElementException() is always thrown.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_image_ImgDataJoiner_setTile_System_Int32_System_Int32_" data-uid="CSJ2K.j2k.image.ImgDataJoiner.setTile(System.Int32,System.Int32)">
          <a class="xref" href="CSJ2K.j2k.image.ImgDataJoiner.setTile.html#CSJ2K_j2k_image_ImgDataJoiner_setTile_System_Int32_System_Int32_">setTile(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Changes the current tile, given the new coordinates. An
IllegalArgumentException is thrown if the coordinates do not correspond
to a valid tile.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="seealso">See Also</h3>
  <div class="seealso">
      <div><a class="xref" href="CSJ2K.j2k.image.ImgData.html">ImgData</a></div>
  </div>

</div>
