# CSJ2K.j2k.image.ImgData

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="CSJ2K_j2k_image_ImgData" data-uid="CSJ2K.j2k.image.ImgData" class="text-break">ImgData Interface
</h1>
  <div class="markdown level0 summary"><p>This interface defines methods to access image attributes (width, height,
number of components, etc.). The image can be tiled or not (i.e. if the
image is not tiled then there is only 1 tile). It should be implemented by
all classes that provide image data, such as image file readers, color
transforms, wavelet transforms, etc. This interface, however, does not
define methods to transfer image data (i.e. pixel data), that is defined by
other interfaces, such as 'BlkImgDataSrc'.</p>
</div>
  <div class="markdown level0 conceptual"></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_ImgData_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface ImgData</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface ImgData</code></pre>
  </div>
  <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_ImgData_ImgHeight" data-uid="CSJ2K.j2k.image.ImgData.ImgHeight">
          <a class="xref" href="CSJ2K.j2k.image.ImgData.ImgHeight.html#CSJ2K_j2k_image_ImgData_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_ImgData_ImgULX" data-uid="CSJ2K.j2k.image.ImgData.ImgULX">
          <a class="xref" href="CSJ2K.j2k.image.ImgData.ImgULX.html#CSJ2K_j2k_image_ImgData_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_ImgData_ImgULY" data-uid="CSJ2K.j2k.image.ImgData.ImgULY">
          <a class="xref" href="CSJ2K.j2k.image.ImgData.ImgULY.html#CSJ2K_j2k_image_ImgData_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_ImgData_ImgWidth" data-uid="CSJ2K.j2k.image.ImgData.ImgWidth">
          <a class="xref" href="CSJ2K.j2k.image.ImgData.ImgWidth.html#CSJ2K_j2k_image_ImgData_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_ImgData_NomTileHeight" data-uid="CSJ2K.j2k.image.ImgData.NomTileHeight">
          <a class="xref" href="CSJ2K.j2k.image.ImgData.NomTileHeight.html#CSJ2K_j2k_image_ImgData_NomTileHeight">NomTileHeight</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the nominal tiles height</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_image_ImgData_NomTileWidth" data-uid="CSJ2K.j2k.image.ImgData.NomTileWidth">
          <a class="xref" href="CSJ2K.j2k.image.ImgData.NomTileWidth.html#CSJ2K_j2k_image_ImgData_NomTileWidth">NomTileWidth</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the nominal tiles width</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_image_ImgData_NumComps" data-uid="CSJ2K.j2k.image.ImgData.NumComps">
          <a class="xref" href="CSJ2K.j2k.image.ImgData.NumComps.html#CSJ2K_j2k_image_ImgData_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_ImgData_TileHeight" data-uid="CSJ2K.j2k.image.ImgData.TileHeight">
          <a class="xref" href="CSJ2K.j2k.image.ImgData.TileHeight.html#CSJ2K_j2k_image_ImgData_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. This is
also referred as the reference grid height in the current tile.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_image_ImgData_TileIdx" data-uid="CSJ2K.j2k.image.ImgData.TileIdx">
          <a class="xref" href="CSJ2K.j2k.image.ImgData.TileIdx.html#CSJ2K_j2k_image_ImgData_TileIdx">TileIdx</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the index of the current tile, relative to a standard scan-line
order.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_image_ImgData_TilePartULX" data-uid="CSJ2K.j2k.image.ImgData.TilePartULX">
          <a class="xref" href="CSJ2K.j2k.image.ImgData.TilePartULX.html#CSJ2K_j2k_image_ImgData_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_ImgData_TilePartULY" data-uid="CSJ2K.j2k.image.ImgData.TilePartULY">
          <a class="xref" href="CSJ2K.j2k.image.ImgData.TilePartULY.html#CSJ2K_j2k_image_ImgData_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_ImgData_TileWidth" data-uid="CSJ2K.j2k.image.ImgData.TileWidth">
          <a class="xref" href="CSJ2K.j2k.image.ImgData.TileWidth.html#CSJ2K_j2k_image_ImgData_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. This is
also referred as the reference grid width in the current tile.</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_ImgData_getCompImgHeight_System_Int32_" data-uid="CSJ2K.j2k.image.ImgData.getCompImgHeight(System.Int32)">
          <a class="xref" href="CSJ2K.j2k.image.ImgData.getCompImgHeight.html#CSJ2K_j2k_image_ImgData_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_ImgData_getCompImgWidth_System_Int32_" data-uid="CSJ2K.j2k.image.ImgData.getCompImgWidth(System.Int32)">
          <a class="xref" href="CSJ2K.j2k.image.ImgData.getCompImgWidth.html#CSJ2K_j2k_image_ImgData_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_ImgData_getCompSubsX_System_Int32_" data-uid="CSJ2K.j2k.image.ImgData.getCompSubsX(System.Int32)">
          <a class="xref" href="CSJ2K.j2k.image.ImgData.getCompSubsX.html#CSJ2K_j2k_image_ImgData_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_ImgData_getCompSubsY_System_Int32_" data-uid="CSJ2K.j2k.image.ImgData.getCompSubsY(System.Int32)">
          <a class="xref" href="CSJ2K.j2k.image.ImgData.getCompSubsY.html#CSJ2K_j2k_image_ImgData_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_ImgData_getCompULX_System_Int32_" data-uid="CSJ2K.j2k.image.ImgData.getCompULX(System.Int32)">
          <a class="xref" href="CSJ2K.j2k.image.ImgData.getCompULX.html#CSJ2K_j2k_image_ImgData_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_ImgData_getCompULY_System_Int32_" data-uid="CSJ2K.j2k.image.ImgData.getCompULY(System.Int32)">
          <a class="xref" href="CSJ2K.j2k.image.ImgData.getCompULY.html#CSJ2K_j2k_image_ImgData_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_ImgData_getNomRangeBits_System_Int32_" data-uid="CSJ2K.j2k.image.ImgData.getNomRangeBits(System.Int32)">
          <a class="xref" href="CSJ2K.j2k.image.ImgData.getNomRangeBits.html#CSJ2K_j2k_image_ImgData_getNomRangeBits_System_Int32_">getNomRangeBits(int)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_image_ImgData_getNumTiles" data-uid="CSJ2K.j2k.image.ImgData.getNumTiles">
          <a class="xref" href="CSJ2K.j2k.image.ImgData.getNumTiles.html#CSJ2K_j2k_image_ImgData_getNumTiles">getNumTiles()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the total number of tiles in the image.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_image_ImgData_getNumTiles_CSJ2K_j2k_image_Coord_" data-uid="CSJ2K.j2k.image.ImgData.getNumTiles(CSJ2K.j2k.image.Coord)">
          <a class="xref" href="CSJ2K.j2k.image.ImgData.getNumTiles.html#CSJ2K_j2k_image_ImgData_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.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_image_ImgData_getTile_CSJ2K_j2k_image_Coord_" data-uid="CSJ2K.j2k.image.ImgData.getTile(CSJ2K.j2k.image.Coord)">
          <a class="xref" href="CSJ2K.j2k.image.ImgData.getTile.html#CSJ2K_j2k_image_ImgData_getTile_CSJ2K_j2k_image_Coord_">getTile(Coord)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the indixes of the current tile. These are the horizontal and
vertical indexes of the current tile.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_image_ImgData_getTileCompHeight_System_Int32_System_Int32_" data-uid="CSJ2K.j2k.image.ImgData.getTileCompHeight(System.Int32,System.Int32)">
          <a class="xref" href="CSJ2K.j2k.image.ImgData.getTileCompHeight.html#CSJ2K_j2k_image_ImgData_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_ImgData_getTileCompWidth_System_Int32_System_Int32_" data-uid="CSJ2K.j2k.image.ImgData.getTileCompWidth(System.Int32,System.Int32)">
          <a class="xref" href="CSJ2K.j2k.image.ImgData.getTileCompWidth.html#CSJ2K_j2k_image_ImgData_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_ImgData_nextTile" data-uid="CSJ2K.j2k.image.ImgData.nextTile">
          <a class="xref" href="CSJ2K.j2k.image.ImgData.nextTile.html#CSJ2K_j2k_image_ImgData_nextTile">nextTile()</a>
        </td>
        <td class="markdown level1 summary"><p>Advances to the next tile, in standard scan-line order (by rows then
columns). An NoNextElementException is thrown if the current tile is
the last one (i.e. there is no next tile).</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_image_ImgData_setTile_System_Int32_System_Int32_" data-uid="CSJ2K.j2k.image.ImgData.setTile(System.Int32,System.Int32)">
          <a class="xref" href="CSJ2K.j2k.image.ImgData.setTile.html#CSJ2K_j2k_image_ImgData_setTile_System_Int32_System_Int32_">setTile(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Changes the current tile, given the new indices. 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.BlkImgDataSrc.html">BlkImgDataSrc</a></div>
  </div>

</div>
