This is a sample project for image processing by Metal. Can try on macOS.
You can see the mechanism is here
Input image.
Derivatives
Laplace
Input image.
Gaussian
Bilateral
Reference: here
Input image.
Beauty
Image processor implemented by Metal. Color conversion, Edge detection and Smoothing.
MetalMIT