Interface PreprocessingConfig.DenoiseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PreprocessingConfig.Denoise,PreprocessingConfig.Denoise.Builder
- Enclosing class:
- PreprocessingConfig
public static interface PreprocessingConfig.DenoiseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiondoubleSet strength of the denoise.getTune()Set the denoiser mode.com.google.protobuf.ByteStringSet the denoiser mode.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getStrength
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:
- The strength.
-
getTune
String getTune()Set the denoiser mode. The default is `standard`. Supported denoiser modes: - `standard` - `grain`
string tune = 2;- Returns:
- The tune.
-
getTuneBytes
com.google.protobuf.ByteString getTuneBytes()Set the denoiser mode. The default is `standard`. Supported denoiser modes: - `standard` - `grain`
string tune = 2;- Returns:
- The bytes for tune.
-