Sharpen

public struct Sharpen: Filter

Increases image detail by sharpening.

  • The name of the Core Image filter (e.g. CIBloom)

    Declaration

    Swift

    public let filterName = "CISharpenLuminance"
  • A Double value by which to sharpen the image. Default value: 0.4

    Declaration

    Swift

    public var sharpness: Double = 0.4
  • Initializes a new filter

    Declaration

    Swift

    public init() {}
  • Applies the properties of the receiver to create a new CIFilter object

    Declaration

    Swift

    public func createCoreImageFilter(inputImage: CIImage) -> CIFilter

    Parameters

    inputImage

    The image to use as input to the filter.

    Return Value

    The new CIFilter object.