https://github.com/metalpetal/surfaceblur
Surface Blur / Bilateral Filter for MetalPetal.
https://github.com/metalpetal/surfaceblur
bilateral bilateral-filter gpu image-processing ios macos metal metalpetal surface-blur
Last synced: about 1 month ago
JSON representation
Surface Blur / Bilateral Filter for MetalPetal.
- Host: GitHub
- URL: https://github.com/metalpetal/surfaceblur
- Owner: MetalPetal
- License: mit
- Created: 2019-03-19T11:27:35.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-01-28T15:16:08.000Z (over 3 years ago)
- Last Synced: 2025-03-27T02:43:40.270Z (about 2 months ago)
- Topics: bilateral, bilateral-filter, gpu, image-processing, ios, macos, metal, metalpetal, surface-blur
- Language: Objective-C
- Size: 653 KB
- Stars: 21
- Watchers: 2
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SurfaceBlur
Surface Blur / Bilateral Filter for MetalPetal.
## Preview

*Photo by Ben Scott on Unsplash. https://unsplash.com/photos/tWb7IsL9CnY*
## Usage
```Objective-C
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.