Reduces noise by sharpening the edges of objects.
- iOS 13.0+
- macOS 10.15+
- tvOS 13.0+
- Core Image
The blurred image.
This method applies the noise reduction filter to an image. The effect calculates changes in luminance below the noise level and locally blurs the area. Values above the threshold are determined to be edges, and become sharpened.
The morphology noise reduction filter uses the following properties:
floatrepresenting the amount of noise reduction as an
floatrepresenting the sharpness of the final image as an
CIImagerepresenting the input image to apply the filter to.
The following code creates a filter that reduces noise in the input image: