Efficient, High-Quality Bayer Demosaic Filtering on GPUs
Williams College
Journal of Graphics, GPU, & Game Tools, Volume 13, Number 4 / 2008, p.1-16
@article{mcguire2008efficient,
title={Efficient, high-quality bayer demosaic filtering on gpus},
author={McGuire, M.},
journal={Journal of Graphics, GPU, & Game Tools},
volume={13},
number={4},
pages={1–16},
issn={2151-237X},
year={2008},
publisher={AK Peters}
}
This paper describes a series of optimizations for implementing the high-quality Malvar-He-Cutler Bayer demosaicing filter on a GPU in OpenGL. Applying this filter is the first step in most video-processing pipelines but is generally considered too slow for real time on a CPU. The optimized implementation contains 66% fewer ALU operations than a direct GPU implementation and can filter 40 simultaneous HD 1080p video streams at 30 fps (2728 Mpix/s) on current hardware. It is two to three times faster than a straightforward GPU implementation of the same algorithm on many GPUs. Most of the optimizations are applicable to other kinds of processors that support SIMD instructions, like CPUs and DSPs. Source code is available online.
December 18, 2010 by hgpu