Type Method

processWithInputs:arguments:output:error:

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

Declaration

+ (BOOL)processWithInputs:(NSArray<id<CIImageProcessorInput>> *)inputs arguments:(NSDictionary<NSString *,id> *)arguments output:(id<CIImageProcessorOutput>)output error:(NSError * _Nullable *)error;

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 YES if processing succeeded, and NO 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