Converting Image Formats

VisionPro supports an Image Convert tool to transform the format of an image from one type to another. For example, your vision application might acquire color images and you need to convert the color format to an 8-bit greyscale format to be analyzed by vision tools that do not support color images. See the topic Vision Tools and Supported Image Types for a list of which vision tools support which image formats.

The Image Convert tool accepts the following types of color images: 

  • Hue, Saturation, Intensity (HSI)

    VisionPro supports Image24PlanarColor images with three 8-bit planes of color representing: 

    • Hue: Describes the color in the form of an angle between [0,360] degrees
    • Saturation: Describes how much the color is diluted with white light, in the range between [0,1]
    • Intensity: Represents brightness in the range between [0,1] where 0 represents all black and 1 represents all white
  • Red, Green, Blue (RGB)

    VisionPro supports Image24PlanarColor images with three 8-bit planes of color representing the Red, Green and Blue values of the RGB color format.

  • Bayer

    VisionPro supports Image8Grey images processed with a Bayer filter.

Most image convert operations product an Image8Grey images that represent the greyscale intensity of a color image.

See the ImageConvertTool API or the topic Image Convert Tool for the QuickBuild interface to the tool.