/SwiftImageProcessor

Image processor implemented by Metal. Color conversion, Edge detection and Smoothing.

Primary LanguageMetalMIT LicenseMIT

SwiftImageProcessor

This is a sample project for image processing by Metal. Can try on macOS.

You can see the mechanism is here

Edge Detection

Input image.

lena

Derivatives

lena_derivatives

Laplace

lena_laplace

Smoothing

Input image.

landscape

Gaussian

landscape_derivatives

Bilateral

landscape_laplace

Beauty

Reference: here

Input image.

Original

Beauty

Beauty