overlayType property

String? overlayType
getter/setter pair

How the original image is displayed in the visualization.

Adjusting the overlay can help increase visual clarity if the original image makes it difficult to view the visualization. Defaults to NONE. Possible string values are:

  • "OVERLAY_TYPE_UNSPECIFIED" : Default value. This is the same as NONE.
  • "NONE" : No overlay.
  • "ORIGINAL" : The attributions are shown on top of the original image.
  • "GRAYSCALE" : The attributions are shown on top of grayscaled version of the original image.
  • "MASK_BLACK" : The attributions are used as a mask to reveal predictive parts of the image and hide the un-predictive parts.

Implementation

core.String? overlayType;