Class BlurBaselineConfig (3.41.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.aiplatform.v1.BlurBaselineConfig

Static Fields

MAX_BLUR_SIGMA_FIELD_NUMBER

public static final int MAX_BLUR_SIGMA_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BlurBaselineConfig getDefaultInstance()
Returns
TypeDescription
BlurBaselineConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static BlurBaselineConfig.Builder newBuilder()
Returns
TypeDescription
BlurBaselineConfig.Builder

newBuilder(BlurBaselineConfig prototype)

public static BlurBaselineConfig.Builder newBuilder(BlurBaselineConfig prototype)
Parameter
NameDescription
prototypeBlurBaselineConfig
Returns
TypeDescription
BlurBaselineConfig.Builder

parseDelimitedFrom(InputStream input)

public static BlurBaselineConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BlurBaselineConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BlurBaselineConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BlurBaselineConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BlurBaselineConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BlurBaselineConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BlurBaselineConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BlurBaselineConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BlurBaselineConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BlurBaselineConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BlurBaselineConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BlurBaselineConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BlurBaselineConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BlurBaselineConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BlurBaselineConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BlurBaselineConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static BlurBaselineConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BlurBaselineConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BlurBaselineConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BlurBaselineConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static BlurBaselineConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BlurBaselineConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BlurBaselineConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BlurBaselineConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<BlurBaselineConfig> parser()
Returns
TypeDescription
Parser<BlurBaselineConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public BlurBaselineConfig getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
float

The maxBlurSigma.

getParserForType()

public Parser<BlurBaselineConfig> getParserForType()
Returns
TypeDescription
Parser<BlurBaselineConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public BlurBaselineConfig.Builder newBuilderForType()
Returns
TypeDescription
BlurBaselineConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BlurBaselineConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BlurBaselineConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public BlurBaselineConfig.Builder toBuilder()
Returns
TypeDescription
BlurBaselineConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException