GPU Debayer

  • Converts 8/16-bit raw bayer image from camera or DSLR to 24/48-bit RGB
  • Can do that very fast on NVIDIA GPU, much faster than on any CPU
  • High quality debayer methods
  • Strong moire suppression
  • Immediate time measurements for each method
  • Makes comparison with etalon images and calculates PSNR/MSE

Bayer pattern RGGBWhat's unique in GPU Debayer software

  • This is, probably, the fastest debayer
  • Sophisticated debayer algorithms with high PSNR / SSIM and low artifacts
  • Simple to use, fast to work and easy to check
  • Testing tool to check quality, timing and performance of debayer algorithms prior to developing heavy loaded services for image processing
  • Created by company with years of CUDA experience and world-class achievements

GPU Debayer Software Features

  • All Bayer patterns for input data supported (RGGB, BGGR, GBRG, GRBG)
  • Mosaic algorithm to prepare bayer image from any 24/48-bit PPM
  • Read 8/16-bit input bayer raw image from camera, DSLR or from HDD/SSD/RAID in PGM format
  • Output format: 24/48-bit PPM
  • Min image resolution 128 × 128 pixels
  • Debayer quality for the following algorithms:
    • HQLI debayer (High Quality Linear Interpolation, window 5×5) – avr. PSNR ~ 36 dB (SSIM ~ 0.965) for Kodak data set
    • L7 debayer (High Quality Linear Interpolation, window 7×7) – avr. PSNR ~ 37.1 dB (SSIM ~ 0.971) for Kodak data set
    • DFPD debayer (Directional Filtering and a Posteriori Decision, window 11×11) – avr. PSNR ~ 39 dB (SSIM ~ 0.978) for Kodak data set
    • MG debayer (Multiple Gradients, window 23×23) – avr. PSNR ~ 40.5 dB for Kodak data set
  • Peak performance (GPU computations only, for 62 MPix resolution, 16-bit image, no batch, no streaming) on NVIDIA GeForce RTX 4090:
    • HQLI debayer – up to 69 GPix/s
    • L7 debayer – up to 62 GPix/s
    • DFPD debayer – up to 48 GPix/s
    • MG debayer – up to 20 GPix/s
  • Quality measurements: MSE and PSNR
  • Timing and performance measurements for each algorithm
  • Command-line demo application for Windows-10/11 and Linux Ubuntu, L4T
  • Compatibility with NVIDIA Jetson NX/AGX Xavier, Orin

What else is interesting in Fastvideo GPU Debayer

Fastvideo GPU Debayer is a tool to demonstrate the power of high performance parallel computations on GPU with NVIDIA CUDA technology. It's difficult to imagine how fast could be parallel implementation of GPU debayer for high quality color debayer algorithms.

  • We can offer high performance debayer library for your specific needs, particularly for high speed batch debayers
  • We are also offering custom software design for combined debayer and JPEG compression on NVIDIA GPUs
  • We have designed fast image processing SDK on GPU for high speed and high resolution cameras: dark frame subtraction, flat-field correction, white balance, demosaicing, denoising, color correction, tone mapping, image filtering, rotating, cropping, resizing, sharpening, OpenGL rendering and output, jpeg/jpeg2000/bayer/h264/h265/av1 encoding, CUDA FFmpeg integration, streaming, etc.
  • The above GPU debayers are constituent parts of FastVCR software for machine vision cameras

Roadmap for further improvements of GPU 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 FastVCR software - done
  • Debayer optimizations for Ampere, Ada - done
  • New high performance demosaicing algorithm MG2 with better image quality - in progress

Contact Form

This form collects your name and email. Check out our Privacy Policy on how we protect and manage your personal data.