Photoshop uses Integral Images approximation for the Gaussian Blur.
Its Unsharp Mask is once applied for "Dark Halos" and on the other for "Light Halos".
They clip the image after each operation.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!