Welcome to our Support Center

Color Image To U8C3 Array

Description

Extracts the pixels from a color image or from part of a color image into a U8 3D array. Type : polymorphic.

 

Input parameters

 

Image Src : class, type accepted RGB and HSL.
Array Type : enum,
define the dimension order.
Color Order : enum, define the Red/Blue/Green channel Order in the output image.

Output parameters

 

Dup Image Src : class
Image Array : array,
returns the pixel values as a 3D array of unsigned 8-bit integers.

Example

All these exemples 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 TIGR library to run it).

Table of Contents