Interface PreprocessingConfig.DenoiseOrBuilder (1.8.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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for tune.