Interface PreprocessingConfig.DenoiseOrBuilder (1.50.0)

public static interface PreprocessingConfig.DenoiseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getStrength()

public abstract double getStrength()

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.

double strength = 1;

Returns
Type Description
double

The strength.

getTune()

public abstract String getTune()

Set the denoiser mode. The default is standard.

Supported denoiser modes:

  • standard
  • grain

string tune = 2;

Returns
Type Description
String

The tune.

getTuneBytes()

public abstract ByteString getTuneBytes()

Set the denoiser mode. The default is standard.

Supported denoiser modes:

  • standard
  • grain

string tune = 2;

Returns
Type Description
ByteString

The bytes for tune.