CSJ2K.j2k.image.forwcomptransf.ForwCompTransf.getNomRangeBits C# (CSharp) 메소드

getNomRangeBits() 공개 메소드

Returns the number of bits, referred to as the "range bits", corresponding to the nominal range of the data in the specified component and in the current tile. If this number is b then for unsigned data the nominal range is between 0 and 2^b-1, and for signed data it is between -2^(b-1) and 2^(b-1)-1. Note that this value can be affected by the multiple component transform.
public getNomRangeBits ( int c ) : int
c int The index of the component. /// ///
리턴 int
        public override int getNomRangeBits(int c)
        {
            switch (transfType)
            {

                case FORW_RCT:
                case FORW_ICT:
                    return tdepth[c];

                case NONE:
                    return src.getNomRangeBits(c);

                default:
                    throw new System.ArgumentException("Non JPEG 2000 part I" + " component transformation");

            }
        }