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 enhancementModeInt

Enhancement mode of the session.

height

val heightInt

Input height of the frames to be processed.

isDeblurAndDenoisePhotoEnabled

val isDeblurAndDenoisePhotoEnabledBoolean

Initial boost mode of the session.

isDeblurAndDenoiseVideoEnabled

val isDeblurAndDenoiseVideoEnabledBoolean

Whether deblur and denoise for video is enabled.

isTonemappingEnabled

val isTonemappingEnabledBoolean

Whether tonemapping is enabled.

isUpscalePhotoEnabled

val isUpscalePhotoEnabledBoolean

Whether upscale for photo is enabled.

isUpscaleVideoEnabled

val isUpscaleVideoEnabledBoolean

Whether upscale for video is enabled.

width

val widthInt

Input width of the frames to be processed.