amazonka-lookoutvision-2.0: Amazon Lookout for Vision SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.LookoutVision.Types.PixelAnomaly

Description

 
Synopsis

Documentation

data PixelAnomaly Source #

Information about the pixels in an anomaly mask. For more information, see Anomaly. PixelAnomaly is only returned by image segmentation models.

See: newPixelAnomaly smart constructor.

Constructors

PixelAnomaly' 

Fields

  • color :: Maybe Text

    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.

  • totalPercentageArea :: Maybe Double

    The percentage area of the image that the anomaly type covers.

Instances

Instances details
FromJSON PixelAnomaly Source # 
Instance details

Defined in Amazonka.LookoutVision.Types.PixelAnomaly

Generic PixelAnomaly Source # 
Instance details

Defined in Amazonka.LookoutVision.Types.PixelAnomaly

Associated Types

type Rep PixelAnomaly :: Type -> Type #

Read PixelAnomaly Source # 
Instance details

Defined in Amazonka.LookoutVision.Types.PixelAnomaly

Show PixelAnomaly Source # 
Instance details

Defined in Amazonka.LookoutVision.Types.PixelAnomaly

NFData PixelAnomaly Source # 
Instance details

Defined in Amazonka.LookoutVision.Types.PixelAnomaly

Methods

rnf :: PixelAnomaly -> () #

Eq PixelAnomaly Source # 
Instance details

Defined in Amazonka.LookoutVision.Types.PixelAnomaly

Hashable PixelAnomaly Source # 
Instance details

Defined in Amazonka.LookoutVision.Types.PixelAnomaly

type Rep PixelAnomaly Source # 
Instance details

Defined in Amazonka.LookoutVision.Types.PixelAnomaly

type Rep PixelAnomaly = D1 ('MetaData "PixelAnomaly" "Amazonka.LookoutVision.Types.PixelAnomaly" "amazonka-lookoutvision-2.0-3cIJAF9xWxx8xGDY24BOkS" 'False) (C1 ('MetaCons "PixelAnomaly'" 'PrefixI 'True) (S1 ('MetaSel ('Just "color") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "totalPercentageArea") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))))

newPixelAnomaly :: PixelAnomaly Source #

Create a value of PixelAnomaly with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:color:PixelAnomaly', pixelAnomaly_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.

$sel:totalPercentageArea:PixelAnomaly', pixelAnomaly_totalPercentageArea - The percentage area of the image that the anomaly type covers.

pixelAnomaly_color :: Lens' PixelAnomaly (Maybe Text) Source #

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.

pixelAnomaly_totalPercentageArea :: Lens' PixelAnomaly (Maybe Double) Source #

The percentage area of the image that the anomaly type covers.