High Performance CUDA Debayer Library
Updated:
Fastvideo CUDA Debayer Library adds high-quality GPU demosaicing — HQLI, DFPD, and MG algorithms — to your own image processing pipeline as a linkable CUDA component. It runs entirely on NVIDIA GPUs and is integrated to match your setup, so demosaicing keeps up with high-resolution, high-frame-rate camera streams.
Prefer a ready application or the algorithm background? Use the GPU Debayer software, or read how the demosaicing algorithms (HQLI, DFPD, MG) work. This page is the linkable CUDA debayer library for developers.
CUDA Debayer Library Features
Which demosaicing algorithms are in the CUDA Debayer library?
- All Bayer mosaic patterns for input data supported (RGGB, BGGR, GBRG, GRBG)
- Input format: 8/10/12/14/16-bit input data array from CPU memory
- Output format: 24/48-bit output data array in CPU or GPU memory
- High quality and high speed debayer algorithms on CUDA: L7, DFPD, MG
- Interface to show processed data via OpenGL with minimum latency
- Quality measurements according to MSE, PSNR and SSIM
- Timing and performance measurements
- Streams for high throughput optimization
- Multi-GPU solutions
- Compatibility with Windows-10/11, Linux, L4T
Options for CUDA Debayer Library
We can combine CUDA Debayer Library with other image processing algorithms on GPU to achieve outstanding performance and high image quality. For example, it's possible to perform full image processing for color video camera on CUDA. Below there are some additional algorithms / options from Fastvideo Image & Video Processing SDK which could be combined online with debayer library on CUDA:
- Black Level Subtraction
- FPN Subtraction
- Flat-Field-Correction
- White Balance
- Demosaicing for standard Bayer pattern
- Denoising
- Resize / Rotate / Flip / Crop
- Image Filtering
- Color Correction
- Data transform with LUT or gamma (10/12/14/16 bits to 8 bits per component)
- Global tone mapping with 3D LUT (RGB, HSV)
- Adaptive local tone mapping
- DCP profile support
- Undistortion via LCP profiles
- Sharpening
- OpenGL Output
- JPEG Codec
- JPEG2000 Codec
We also offer custom software design for fast image processing and fast image compression / decompression on CUDA.
CUDA Debayer Library FAQ
How do I integrate the CUDA Debayer Library?
It is a linkable CUDA component with a C++ API: you call it inside your own GPU pipeline, so the Bayer-to-RGB step stays in GPU memory between your other stages. It works as a demosaicing library for high-resolution cameras.
What is the difference between the library and GPU Debayer?
The GPU Debayer application is a ready-to-run demo and benchmarking tool; the CUDA Debayer Library is the same algorithms as an embeddable component for your own software.
Roadmap for further improvements of CUDA Debayer
- Super high quality MG debayer algorithm (average PSNR for Kodak data set is 40.5 dB) - done
- Integration of 16-bit high quality MG debayer into Fast CinemaDNG Processor software - done
- Debayer optimizations for Pascal, Volta, Turing, Ampere, Ada - done
- Improved MG debayer with CA removal option - in progress
- Next generation debayer development - in progress