Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 553 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 553 Bytes

SurfaceBlur

Surface Blur / Bilateral Filter for MetalPetal.

Preview

Preview

Photo by Ben Scott on Unsplash. https://unsplash.com/photos/tWb7IsL9CnY

Usage

MTISurfaceBlurFilter *filter = [[MTISurfaceBlurFilter alloc] initWithRadius:...];
filter.threshold = ...;
filter.inputImage = inputImage;
MTIImage *outputImage = filter.outputImage;

Install

pod 'MetalPetalSurfaceBlur', :git => 'https://github.com/MetalPetal/SurfaceBlur.git'

# Optional
pod 'MetalPetal/Swift'

License

MIT.