.TH "MPSImageTent" 3 "Mon Jul 9 2018" "Version MetalPerformanceShaders-119.3" "MetalPerformanceShaders.framework" \" -*- nroff -*- .ad l .nh .SH NAME MPSImageTent .SH SYNOPSIS .br .PP .PP \fC#import \fP .PP Inherits \fBMPSImageBox\fP\&. .SS "Additional Inherited Members" .SH "Detailed Description" .PP The box filter, while fast, may yield square-ish looking blur effects\&. However, multiple passes of the box filter tend to smooth out with each additional pass\&. For example, two 3-wide box blurs produces the same effective convolution as a 5-wide tent blur: .PP .nf 1 1 1 1 1 1 + 1 1 1 ================= 1 2 3 2 1 .fi .PP Addition passes tend to approximate a gaussian line shape\&. .PP The \fBMPSImageTent\fP convolves an image with a tent filter\&. These form a tent shape with incrementally increasing sides, for example: .PP .nf 1 2 3 2 1 1 2 1 2 4 2 1 2 1 .fi .PP .PP Like the box filter, this arrangement allows for much faster algorithms, espcially for for larger blur radii but with a more pleasing appearance\&. .PP The tent blur is a separable filter\&. The implementation is aware of this and will act accordingly to give best performance for multi-dimensional blurs\&. .SH "Author" .PP Generated automatically by Doxygen for MetalPerformanceShaders\&.framework from the source code\&.