@Generated(value="software.amazon.awssdk:codegen") public final class PixelAnomaly extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PixelAnomaly.Builder,PixelAnomaly>
Information about the pixels in an anomaly mask. For more information, see Anomaly. PixelAnomaly
is only returned by image segmentation models.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PixelAnomaly.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PixelAnomaly.Builder |
builder() |
String |
color()
A hex color value for the mask that covers an anomaly type.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends PixelAnomaly.Builder> |
serializableBuilderClass() |
PixelAnomaly.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Float |
totalPercentageArea()
The percentage area of the image that the anomaly type covers.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Float totalPercentageArea()
The percentage area of the image that the anomaly type covers.
public final String color()
A hex color value for the mask that covers an anomaly type. Each anomaly type has a different mask color. The color maps to the color of the anomaly type used in the training dataset.
public PixelAnomaly.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PixelAnomaly.Builder,PixelAnomaly>public static PixelAnomaly.Builder builder()
public static Class<? extends PixelAnomaly.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.