SessionFilterGamma

open class SessionFilterGamma : SessionFilter

Original Image Filtered Image

Applying the filter to an image:

let gammaFilter = SessionFilterGamma()
gammaFilter.normalizedIntensity = 0.6
session.image!.filters = [gammaFilter]

Applying the filter to a whole video:

let gammaFilter = SessionFilterGamma()
gammaFilter.normalizedIntensity = 0.6
session.video!.filters = [gammaFilter]

Applying the filter to the first segment of a video:

let gammaFilter = SessionFilterGamma()
gammaFilter.normalizedIntensity = 0.6
session.video!.videoSegments.first!.filters = [gammaFilter]

For more information about filters visit the super class SessionFilter.