CSJ2K.j2k.image.forwcomptransf.ForwCompTransf.getInternCompData C# (CSharp) Method

getInternCompData() public method

Apply the component transformation associated with the current tile. If no component transformation has been requested by the user, data are not modified. Else, appropriate method is called (forwRCT or forwICT).
public getInternCompData ( CSJ2K.j2k.image.DataBlk blk, int c ) : CSJ2K.j2k.image.DataBlk
blk CSJ2K.j2k.image.DataBlk Determines the rectangular area to return. /// ///
c int Index of the output component. /// ///
return CSJ2K.j2k.image.DataBlk
        public virtual DataBlk getInternCompData(DataBlk blk, int c)
        {
            switch (transfType)
            {

                case NONE:
                    return src.getInternCompData(blk, c);

                case FORW_RCT:
                    return forwRCT(blk, c);

                case FORW_ICT:
                    return forwICT(blk, c);

                default:
                    throw new System.ArgumentException("Non JPEG 2000 part 1 " + "component" + " transformation for tile: " + tIdx);

            }
        }