Welcome to our Support Center

Image To Array

Description

Extracts the pixels from an image, into a U8 or I16 2D array.​ Type : polymorphic.

 

Input parameters

 

Image Src : class, type accepted U8 and I16.

Output parameters

 

Image Dst : class
Image Array (U8) : array, returns the extracted pixel values into a 2D array of unsigned 8-bit integers.
Image Array (I16) : array, returns the extracted pixel values into a 2D array of 16-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