Surface Blur / Bilateral Filter for MetalPetal.
Photo by Ben Scott on Unsplash. https://unsplash.com/photos/tWb7IsL9CnY
MTISurfaceBlurFilter *filter = [[MTISurfaceBlurFilter alloc] initWithRadius:...];
filter.threshold = ...;
filter.inputImage = inputImage;
MTIImage *outputImage = filter.outputImage;
pod 'MetalPetalSurfaceBlur', :git => 'https://github.com/MetalPetal/SurfaceBlur.git'
# Optional
pod 'MetalPetal/Swift'
MIT.