[26] cuda 应用之 nppi 实现图像格式转换
- 讲述 nppi 接口定义
- 通过nppi实现 bayer 格式转rgb格式
- 官网参考信息:http://gwmodel.whu.edu.cn/docs/CUDA/npp/group__image__color__debayer.html#details
1. 接口定义
-
官网关于转换的原理是这么写的:
-
Grayscale Color Filter Array to RGB Color Debayer conversion.
-
Generates one RGB color pixel for every grayscale source pixel. Source and destination images must have even width and height. Missing pixel colors are generated using bilinear interpolation with chroma correlation of generated green values (eInterpolation MUST be set to 0). eGrid allo
-