[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
-