class Google::Apis::TranscoderV1::Denoise

Denoise preprocessing configuration. Note: This configuration is not supported.

Attributes

strength[RW]

Set strength of the denoise. Enter a value between 0 and 1. The higher the value, the smoother the image. 0 is no denoising. The default is 0. Corresponds to the JSON property ‘strength` @return [Float]

tune[RW]

Set the denoiser mode. The default is ‘standard`. Supported denoiser modes: - ` standard` - `grain` Corresponds to the JSON property `tune` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/transcoder_v1/classes.rb, line 430
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/transcoder_v1/classes.rb, line 435
def update!(**args)
  @strength = args[:strength] if args.key?(:strength)
  @tune = args[:tune] if args.key?(:tune)
end