EnhancementOptions

class EnhancementOptions


Properties of a EnhancementSession.

Summary

Public constructors

EnhancementOptions(
    width: Int,
    height: Int,
    @EnhancementMode enhancementMode: Int,
    isTonemappingEnabled: Boolean,
    isDeblurAndDenoisePhotoEnabled: Boolean,
    isDeblurAndDenoiseVideoEnabled: Boolean,
    isUpscalePhotoEnabled: Boolean,
    isUpscaleVideoEnabled: Boolean
)

Public properties

Int

Enhancement mode of the session.

Int

Input height of the frames to be processed.

Boolean

Initial boost mode of the session.

Boolean

Whether deblur and denoise for video is enabled.

Boolean

Whether tonemapping is enabled.

Boolean

Whether upscale for photo is enabled.

Boolean

Whether upscale for video is enabled.

Int

Input width of the frames to be processed.

Public constructors

EnhancementOptions

EnhancementOptions(
    width: Int,
    height: Int,
    @EnhancementMode enhancementMode: Int = EnhancementMode.SURFACE,
    isTonemappingEnabled: Boolean = false,
    isDeblurAndDenoisePhotoEnabled: Boolean = false,
    isDeblurAndDenoiseVideoEnabled: Boolean = false,
    isUpscalePhotoEnabled: Boolean = false,
    isUpscaleVideoEnabled: Boolean = false
)

Public properties

enhancementMode

val enhancementMode: Int

Enhancement mode of the session.

height

val height: Int

Input height of the frames to be processed.

isDeblurAndDenoisePhotoEnabled

val isDeblurAndDenoisePhotoEnabled: Boolean

Initial boost mode of the session.

isDeblurAndDenoiseVideoEnabled

val isDeblurAndDenoiseVideoEnabled: Boolean

Whether deblur and denoise for video is enabled.

isTonemappingEnabled

val isTonemappingEnabled: Boolean

Whether tonemapping is enabled.

isUpscalePhotoEnabled

val isUpscalePhotoEnabled: Boolean

Whether upscale for photo is enabled.

isUpscaleVideoEnabled

val isUpscaleVideoEnabled: Boolean

Whether upscale for video is enabled.

width

val width: Int

Input width of the frames to be processed.