SessionFilterContrast

open class SessionFilterContrast : SessionFilter

Original Image Filtered Image

Applying the filter to an image:

let contrastFilter = SessionFilterContrast()
contrastFilter.normalizedIntensity = 0.6
session.image!.filters = [contrastFilter]

Applying the filter to a whole video:

let contrastFilter = SessionFilterContrast()
contrastFilter.normalizedIntensity = 0.6
session.video!.filters = [contrastFilter]

Applying the filter to the first segment of a video:

let contrastFilter = SessionFilterContrast()
contrastFilter.normalizedIntensity = 0.6
session.video!.videoSegments.first!.filters = [contrastFilter]

For more information about filters visit the super class SessionFilter.