SessionFilterBrightness

open class SessionFilterBrightness : SessionFilter

Original Image Filtered Image

Applying the filter to an image:

let brightnessFilter = SessionFilterBrightness()
brightnessFilter.normalizedIntensity = 0.6
session.image!.filters = [brightnessFilter]

Applying the filter to a whole video:

let brightnessFilter = SessionFilterBrightness()
brightnessFilter.normalizedIntensity = 0.6
session.video!.filters = [brightnessFilter]

Applying the filter to the first segment of a video:

let brightnessFilter = SessionFilterBrightness()
brightnessFilter.normalizedIntensity = 0.6
session.video!.videoSegments.first!.filters = [brightnessFilter]

For more information about filters visit the super class SessionFilter.