ArcEngine打开大于3个波段的数据

来源:互联网 发布:ica 四阶累积量算法 编辑:程序博客网 时间:2024/05/17 04:14
    IRasterBandCollection pRasterBandCollection = (IRasterBandCollection)pRasterDataset;                    IRaster pTempRaster = new RasterClass();                    IRasterBandCollection pTempRasterBandCollection = (IRasterBandCollection)pTempRaster;                    IRasterBand pBand = pRasterBandCollection.Item(3);                    pTempRasterBandCollection.AppendBand(pBand);                    pRasterLayer.CreateFromRaster((IRaster)pTempRasterBandCollection);

原创粉丝点击