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.