Type Method

process(with:arguments:output:)

Method to override for customizing the kernel's image processing.

Declaration

class func process(with inputs: [CIImageProcessorInput]?, arguments: [String : Any]?, output: CIImageProcessorOutput) throws

Parameters

inputs

Inputs to this processor stage.

arguments

Dictionary of arguments mapping keys such as "thresholdValue" to their values.

output

The output image following processing.

error

Pointer to the NSError object into which processing errors will be written.

Return Value

Returns true if processing succeeded, and false if processing failed.

Discussion

Override this method to perform custom image processing.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software