Interface PixelAnomaly.Builder

    • Method Detail

      • totalPercentageArea

        PixelAnomaly.Builder totalPercentageArea​(Float totalPercentageArea)

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

        Parameters:
        totalPercentageArea - The percentage area of the image that the anomaly type covers.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • color

        PixelAnomaly.Builder color​(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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.