CSJ2K.j2k.IntegerSpec.getMinInTile C# (CSharp) Method

getMinInTile() public method

Gets the minimum value of each component in specified tile
public getMinInTile ( int t ) : int
t int The tile index /// ///
return int
        public virtual int getMinInTile(int t)
        {
            int min = MAX_INT; // Big value
            int tmp;

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

            return min;
        }