CIFilter_Reduction_AreaMaximumAlpha - linhay/Stem GitHub Wiki

CIFilter.Reduction.AreaMaximumAlpha

Discussion If more than one pixel exists with the maximum alpha value, Core Image returns the vector that has the lowest x and y coordinate. Image component values should range from 0.0 to 1.0, inclusive.

public struct AreaMaximumAlpha: CIFilterContainerProtocol

and later and in iOS 9 and later.

Inheritance

CIFilterContainerProtocol

Initializers

init()

init()

Properties

filter

var filter: CIFilter

image

A CIImage object whose display name is Image. This is the image data you want to process.

var image: CIImage?

extent

The rectangular region of interest.

var extent: Any?