Skip to main content

Types

Miscellaneous types for the Vision Elements library.

EImageDisplay

This enum controls how an Image element is displayed.

  • Auto - Automatically chooses the display mode based on the pixel format (only) of the image
  • Mono - Grayscale image, multi-channel data is converted to single channel
  • Color - RGB image when the data has more than 1 channel
  • R - Only the red channel is displayed
  • G - Only the green channel is displayed
  • B - Only the blue channel is displayed
  • TurboColormap - Turbo colormap, multi-channel data is converted to single channel
  • SolidGradient - Solid color with linear transparency
  • TurboGradient - Turbo colormap with linear transparency

EImageDisplay

This enum controls how an Image element is normalized before it is displayed.

  • Auto - Automatically chooses the normalization mode based on the pixel format (only) of the image
  • None - No normalization is applied
  • Manual - The user must set the normalization values in separate props
  • Probability - Normalization between 0 and 1
  • MinMax - Normalization between the minimum and maximum values of the image
  • Max - Top normalization to the maximum value of the image
  • Min - Bottom normalization to the minimum value of the image