# CSJ2K.j2k.wavelet.synthesis.MultiResImgData

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="CSJ2K_j2k_wavelet_synthesis_MultiResImgData" data-uid="CSJ2K.j2k.wavelet.synthesis.MultiResImgData" class="text-break">MultiResImgData Interface
</h1>
  <div class="markdown level0 summary"><p>This interface defines methods to access image attributes (width, height,
number of components, etc.) of multiresolution images, such as those
resulting from an inverse wavelet transform. 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 multi-resolution image data, such
as entropy decoders, dequantizers, etc. This interface, however, does not
define methods to transfer image data (i.e. pixel data), that is defined by
other interfaces, such as 'CBlkQuantDataSrcDec'.</p>
<pre><code>       &lt;p&gt;This interface is very similar to the 'ImgData' one. It differs only by
       the fact that it handles multiple resolutions.&lt;/p&gt;

       &lt;p&gt;Resolution levels are counted from 0 to L. Resolution level 0 is the
       lower resolution, while L is the maximum resolution level, or full
       resolution, which is returned by 'getMaxResLvl()'. Note that there are L+1
       resolution levels available.&lt;/p&gt;

       &lt;p&gt;As in the 'ImgData' interface a multi-resolution image lies on top of a
       canvas. The canvas coordinates are mapped from the full resolution
       reference grid (i.e. resolution level 'L' reference grid) to a resolution
       level 'l' reference grid by '(x_l,y_l) =
       (ceil(x_l/2^(L-l)),ceil(y_l/2^(L-l)))', where '(x,y)' are the full
       resolution reference grid coordinates and '(x_l,y_l)' are the level 'l'
       reference grid coordinates.&lt;/p&gt;

       &lt;p&gt;For details on the canvas system and its implications consult the
       'ImgData' interface.&lt;/p&gt;

       &lt;p&gt;Note that tile sizes may not be obtained by simply dividing the tile
       size in the reference grid by the subsampling factor.&lt;/p&gt;
</code></pre>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="CSJ2K.j2k.wavelet.synthesis.html">CSJ2K.j2k.wavelet.synthesis</a></h6>
  <h6><strong>Assembly</strong>: C1.C1Pdf.4.8.dll</h6>
  <h5 id="CSJ2K_j2k_wavelet_synthesis_MultiResImgData_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface MultiResImgData</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface MultiResImgData</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_wavelet_synthesis_MultiResImgData_NomTileHeight" data-uid="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.NomTileHeight">
          <a class="xref" href="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.NomTileHeight.html#CSJ2K_j2k_wavelet_synthesis_MultiResImgData_NomTileHeight">NomTileHeight</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the nominal tiles height</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_wavelet_synthesis_MultiResImgData_NomTileWidth" data-uid="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.NomTileWidth">
          <a class="xref" href="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.NomTileWidth.html#CSJ2K_j2k_wavelet_synthesis_MultiResImgData_NomTileWidth">NomTileWidth</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the nominal tiles width</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_wavelet_synthesis_MultiResImgData_NumComps" data-uid="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.NumComps">
          <a class="xref" href="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.NumComps.html#CSJ2K_j2k_wavelet_synthesis_MultiResImgData_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_wavelet_synthesis_MultiResImgData_TileIdx" data-uid="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.TileIdx">
          <a class="xref" href="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.TileIdx.html#CSJ2K_j2k_wavelet_synthesis_MultiResImgData_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_wavelet_synthesis_MultiResImgData_TilePartULX" data-uid="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.TilePartULX">
          <a class="xref" href="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.TilePartULX.html#CSJ2K_j2k_wavelet_synthesis_MultiResImgData_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_wavelet_synthesis_MultiResImgData_TilePartULY" data-uid="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.TilePartULY">
          <a class="xref" href="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.TilePartULY.html#CSJ2K_j2k_wavelet_synthesis_MultiResImgData_TilePartULY">TilePartULY</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the vertical tile partition offset in the reference grid</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_wavelet_synthesis_MultiResImgData_getCompImgHeight_System_Int32_System_Int32_" data-uid="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.getCompImgHeight(System.Int32,System.Int32)">
          <a class="xref" href="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.getCompImgHeight.html#CSJ2K_j2k_wavelet_synthesis_MultiResImgData_getCompImgHeight_System_Int32_System_Int32_">getCompImgHeight(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the height in pixels of the specified component in the overall
image, for the given resolution level.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_wavelet_synthesis_MultiResImgData_getCompImgWidth_System_Int32_System_Int32_" data-uid="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.getCompImgWidth(System.Int32,System.Int32)">
          <a class="xref" href="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.getCompImgWidth.html#CSJ2K_j2k_wavelet_synthesis_MultiResImgData_getCompImgWidth_System_Int32_System_Int32_">getCompImgWidth(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the width in pixels of the specified component in the overall
image, for the given resolution level.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_wavelet_synthesis_MultiResImgData_getCompSubsX_System_Int32_" data-uid="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.getCompSubsX(System.Int32)">
          <a class="xref" href="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.getCompSubsX.html#CSJ2K_j2k_wavelet_synthesis_MultiResImgData_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_wavelet_synthesis_MultiResImgData_getCompSubsY_System_Int32_" data-uid="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.getCompSubsY(System.Int32)">
          <a class="xref" href="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.getCompSubsY.html#CSJ2K_j2k_wavelet_synthesis_MultiResImgData_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_wavelet_synthesis_MultiResImgData_getImgHeight_System_Int32_" data-uid="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.getImgHeight(System.Int32)">
          <a class="xref" href="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.getImgHeight.html#CSJ2K_j2k_wavelet_synthesis_MultiResImgData_getImgHeight_System_Int32_">getImgHeight(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the overall height of the image in pixels, for the given
resolution level. This is the image's height without accounting for any
component subsampling or tiling. The resolution level is indexed from
the lowest number of resolution levels of all components of the current
tile.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_wavelet_synthesis_MultiResImgData_getImgULX_System_Int32_" data-uid="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.getImgULX(System.Int32)">
          <a class="xref" href="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.getImgULX.html#CSJ2K_j2k_wavelet_synthesis_MultiResImgData_getImgULX_System_Int32_">getImgULX(int)</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 at the specified
resolution level.  The resolution level is indexed from the lowest
number of resolution levels of all components of the current tile.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_wavelet_synthesis_MultiResImgData_getImgULY_System_Int32_" data-uid="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.getImgULY(System.Int32)">
          <a class="xref" href="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.getImgULY.html#CSJ2K_j2k_wavelet_synthesis_MultiResImgData_getImgULY_System_Int32_">getImgULY(int)</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 at the specified
resolution level.  The resolution level is indexed from the lowest
number of resolution levels of all components of the current tile.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_wavelet_synthesis_MultiResImgData_getImgWidth_System_Int32_" data-uid="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.getImgWidth(System.Int32)">
          <a class="xref" href="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.getImgWidth.html#CSJ2K_j2k_wavelet_synthesis_MultiResImgData_getImgWidth_System_Int32_">getImgWidth(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the overall width of the image in pixels, for the given
resolution level. This is the image's width without accounting for any
component subsampling or tiling. The resolution level is indexed from
the lowest number of resolution levels of all components of the current
tile.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_wavelet_synthesis_MultiResImgData_getNumTiles" data-uid="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.getNumTiles">
          <a class="xref" href="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.getNumTiles.html#CSJ2K_j2k_wavelet_synthesis_MultiResImgData_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_wavelet_synthesis_MultiResImgData_getNumTiles_CSJ2K_j2k_image_Coord_" data-uid="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.getNumTiles(CSJ2K.j2k.image.Coord)">
          <a class="xref" href="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.getNumTiles.html#CSJ2K_j2k_wavelet_synthesis_MultiResImgData_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_wavelet_synthesis_MultiResImgData_getResULX_System_Int32_System_Int32_" data-uid="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.getResULX(System.Int32,System.Int32)">
          <a class="xref" href="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.getResULX.html#CSJ2K_j2k_wavelet_synthesis_MultiResImgData_getResULX_System_Int32_System_Int32_">getResULX(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the horizontal coordinate of the upper-left corner of the
specified resolution in the given component of the current tile.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_wavelet_synthesis_MultiResImgData_getResULY_System_Int32_System_Int32_" data-uid="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.getResULY(System.Int32,System.Int32)">
          <a class="xref" href="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.getResULY.html#CSJ2K_j2k_wavelet_synthesis_MultiResImgData_getResULY_System_Int32_System_Int32_">getResULY(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the vertical coordinate of the upper-left corner of the
specified resolution in the given component of the current tile.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_wavelet_synthesis_MultiResImgData_getSynSubbandTree_System_Int32_System_Int32_" data-uid="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.getSynSubbandTree(System.Int32,System.Int32)">
          <a class="xref" href="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.getSynSubbandTree.html#CSJ2K_j2k_wavelet_synthesis_MultiResImgData_getSynSubbandTree_System_Int32_System_Int32_">getSynSubbandTree(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the specified synthesis subband tree</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_wavelet_synthesis_MultiResImgData_getTile_CSJ2K_j2k_image_Coord_" data-uid="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.getTile(CSJ2K.j2k.image.Coord)">
          <a class="xref" href="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.getTile.html#CSJ2K_j2k_wavelet_synthesis_MultiResImgData_getTile_CSJ2K_j2k_image_Coord_">getTile(Coord)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the indexes of the current tile. These are the horizontal and
vertical indexes of the current tile.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_wavelet_synthesis_MultiResImgData_getTileCompHeight_System_Int32_System_Int32_System_Int32_" data-uid="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.getTileCompHeight(System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.getTileCompHeight.html#CSJ2K_j2k_wavelet_synthesis_MultiResImgData_getTileCompHeight_System_Int32_System_Int32_System_Int32_">getTileCompHeight(int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the height in pixels of the specified tile-component for the
given resolution level.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_wavelet_synthesis_MultiResImgData_getTileCompWidth_System_Int32_System_Int32_System_Int32_" data-uid="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.getTileCompWidth(System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.getTileCompWidth.html#CSJ2K_j2k_wavelet_synthesis_MultiResImgData_getTileCompWidth_System_Int32_System_Int32_System_Int32_">getTileCompWidth(int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the width in pixels of the specified tile-component for the
given resolution level.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_wavelet_synthesis_MultiResImgData_getTileHeight_System_Int32_" data-uid="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.getTileHeight(System.Int32)">
          <a class="xref" href="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.getTileHeight.html#CSJ2K_j2k_wavelet_synthesis_MultiResImgData_getTileHeight_System_Int32_">getTileHeight(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the overall height of the current tile in pixels, for the given
resolution level. This is the tile's height without accounting for any
component subsampling. The resolution level is indexed from the lowest
number of resolution levels of all components of the current tile.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_wavelet_synthesis_MultiResImgData_getTileWidth_System_Int32_" data-uid="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.getTileWidth(System.Int32)">
          <a class="xref" href="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.getTileWidth.html#CSJ2K_j2k_wavelet_synthesis_MultiResImgData_getTileWidth_System_Int32_">getTileWidth(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the overall width of the current tile in pixels for the given
resolution level. This is the tile's width without accounting for any
component subsampling. The resolution level is indexed from the lowest
number of resolution levels of all components of the current tile.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_wavelet_synthesis_MultiResImgData_nextTile" data-uid="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.nextTile">
          <a class="xref" href="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.nextTile.html#CSJ2K_j2k_wavelet_synthesis_MultiResImgData_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_wavelet_synthesis_MultiResImgData_setTile_System_Int32_System_Int32_" data-uid="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.setTile(System.Int32,System.Int32)">
          <a class="xref" href="CSJ2K.j2k.wavelet.synthesis.MultiResImgData.setTile.html#CSJ2K_j2k_wavelet_synthesis_MultiResImgData_setTile_System_Int32_System_Int32_">setTile(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Changes the current tile, given the new indexes. An
IllegalArgumentException is thrown if the indexes do not correspond to
a valid tile.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
