2011/4/4 Emil Madsen <sove...@gmail.com>:
> And a more specific question; say one wants to blur a picture
> with Gaussian blur, how would D ranges deal with the 2d array?

foreach (r; image.rows)
 convolute1d(r, gaussianKernel);

foreach (c; image.cols)
 convolute1d(c, gaussianKernel);

Torarin

Reply via email to