Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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.
Instances
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.