Class BlurBaselineConfig (1.5.0)

public final class BlurBaselineConfig extends GeneratedMessageV3 implements BlurBaselineConfigOrBuilder

Config for blur baseline.

When enabled, a linear path from the maximally blurred image to the input image is created. Using a blurred baseline instead of zero (black image) is motivated by the BlurIG approach explained here: https://arxiv.org/abs/2004.03383

Protobuf type google.cloud.vertexai.v1.BlurBaselineConfig

Static Fields

MAX_BLUR_SIGMA_FIELD_NUMBER

public static final int MAX_BLUR_SIGMA_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BlurBaselineConfig getDefaultInstance()
Returns
Type Description
BlurBaselineConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static BlurBaselineConfig.Builder newBuilder()
Returns
Type Description
BlurBaselineConfig.Builder

newBuilder(BlurBaselineConfig prototype)

public static BlurBaselineConfig.Builder newBuilder(BlurBaselineConfig prototype)
Parameter
Name Description
prototype BlurBaselineConfig
Returns
Type Description
BlurBaselineConfig.Builder

parseDelimitedFrom(InputStream input)

public static BlurBaselineConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BlurBaselineConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BlurBaselineConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BlurBaselineConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BlurBaselineConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BlurBaselineConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BlurBaselineConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BlurBaselineConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BlurBaselineConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BlurBaselineConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BlurBaselineConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BlurBaselineConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BlurBaselineConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BlurBaselineConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BlurBaselineConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BlurBaselineConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BlurBaselineConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BlurBaselineConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BlurBaselineConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BlurBaselineConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BlurBaselineConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BlurBaselineConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BlurBaselineConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BlurBaselineConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BlurBaselineConfig> parser()
Returns
Type Description
Parser<BlurBaselineConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public BlurBaselineConfig getDefaultInstanceForType()
Returns
Type Description
BlurBaselineConfig

getMaxBlurSigma()

public float getMaxBlurSigma()

The standard deviation of the blur kernel for the blurred baseline. The same blurring parameter is used for both the height and the width dimension. If not set, the method defaults to the zero (i.e. black for images) baseline.

float max_blur_sigma = 1;

Returns
Type Description
float

The maxBlurSigma.

getParserForType()

public Parser<BlurBaselineConfig> getParserForType()
Returns
Type Description
Parser<BlurBaselineConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BlurBaselineConfig.Builder newBuilderForType()
Returns
Type Description
BlurBaselineConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BlurBaselineConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BlurBaselineConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BlurBaselineConfig.Builder toBuilder()
Returns
Type Description
BlurBaselineConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException