CSJ2K.j2k.IntegerSpec.getMaxInTile C# (CSharp) Метод

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

Gets the maximum value of all components in the specified tile.
public getMaxInTile ( int t ) : int
t int The tile index /// ///
Результат int
        public virtual int getMaxInTile(int t)
        {
            int max = 0;
            int tmp;

            for (int c = 0; c < nComp; c++)
            {
                tmp = ((System.Int32) getSpec(t, c));
                if (max < tmp)
                    max = tmp;
            }

            return max;
        }