CSJ2K.j2k.codestream.reader.BitstreamReaderAgent.getSynSubbandTree C# (CSharp) Метод

getSynSubbandTree() публичный Метод

Returns the subband tree, for the specified tile-component. This method returns the root element of the subband tree structure, see Subband and SubbandSyn. The tree comprises all the available resolution levels.

Note: this method is not able to return subband tree for a tile different than the current one.

The number of magnitude bits ('magBits' member variable) for each subband is not initialized.

public getSynSubbandTree ( int t, int c ) : CSJ2K.j2k.wavelet.synthesis.SubbandSyn
t int The tile index /// ///
c int The index of the component, from 0 to C-1. /// ///
Результат CSJ2K.j2k.wavelet.synthesis.SubbandSyn
        public SubbandSyn getSynSubbandTree(int t, int c)
        {
            if (t != TileIdx)
            {
                throw new System.ArgumentException("Can not request subband" + " tree of a different tile" + " than the current one");
            }
            if (c < 0 || c >= nc)
            {
                throw new System.ArgumentException("Component index out of range");
            }
            return subbTrees[c];
        }