Skip to content

Surface Blur / Bilateral Filter for MetalPetal.

License

Notifications You must be signed in to change notification settings

MetalPetal/SurfaceBlur

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.