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

getMinInComp() public method

Gets the minimum value of all tiles for the specified component.
public getMinInComp ( int c ) : int
c int The component index /// ///
return int
        public virtual int getMinInComp(int c)
        {
            int min = MAX_INT; // Big value
            int tmp;

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

            return min;
        }