top of page
YUCHONG YE
The color image that has multiple channels, arranged as array of structures (RGBRGBRGB...). I first separate these three channel to different arrays and then apply gaussian kernel to each channel.
Each thread is responsible for a gather operation that compute the weighted average of a 3x3 kernel and then write the result to one location.
Pixel indices are clamped so that their values stay in bounds.


bottom of page