CSJ2K.j2k.wavelet.analysis.ForwWTFull.nextTile C# (CSharp) Method

nextTile() public method

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).

This method resets the 'subbTrees' array, and recalculates the values of the 'reversible' array. It also resets the decomposed component buffers.

public nextTile ( ) : void
return void
        public override void nextTile()
        {
            int i;

            // Change tile
            base.nextTile();
            // Reset the decomposed component buffers
            if (decomposedComps != null)
            {
                for (i = decomposedComps.Length - 1; i >= 0; i--)
                {
                    decomposedComps[i] = null;
                    currentSubband[i] = null;
                }
            }
        }