Extract Color Planes

Description

Extracts the three planes (RGB, HSL, HSV, or HSI) from an image. Type : polymorphic.

 

Documentation illustration (illustration unavailable in the archive).

Input parameters

 

Documentation illustration (illustration unavailable in the archive). Image Src : class, type accepted RGB and HSL.
Documentation illustration (illustration unavailable in the archive).
Target Type : enum,
defines the image color format to use for the operation.

    • RGB : specifies the color format RGB (red, green, and blue)
    • HSL : specifies the color format HSI (hue, saturation, and luminance)

 

Output parameters

 

Documentation illustration (illustration unavailable in the archive). Red/Hue : class, reference to the image containing the red (or hue) plane of the source (input) image.
Documentation illustration (illustration unavailable in the archive).
Green/Saturation : class,
reference to the image containing the green (or saturation) plane of the source (input) image.
Documentation illustration (illustration unavailable in the archive).
Blue/Luminance/Value/Intensity : class,
reference to the image containing the blue (or luminance, value, or intensity) plane of the source (input) image.

Examples

All these examples are snippets PNG, you can drop these Snippet onto the block diagram and get the depicted code added to your VI (Do not forget to install Computer Vision ​library to run it).