CSJ2K.j2k.wavelet.synthesis.InvWTFull.isReversible C# (CSharp) Метод

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

Returns the reversibility of the wavelet transform for the specified component, in the current tile. A wavelet transform is reversible when it is suitable for lossless and lossy-to-lossless compression.
public isReversible ( int t, int c ) : bool
t int The index of the tile. /// ///
c int The index of the component. /// ///
Результат bool
        public override bool isReversible(int t, int c)
        {
            if (reversible[t] == null)
            {
                // Reversibility not yet calculated for this tile
                reversible[t] = new bool[NumComps];
                for (int i = reversible[t].Length - 1; i >= 0; i--)
                {
                    reversible[t][i] = isSubbandReversible(src.getSynSubbandTree(t, i));
                }
            }
            return reversible[t][c];
        }