Welcome to our Support Center

Get Color Pixel Line

Description

Extracts a line of pixels from a color image. Type : polymorphic.

 

Input parameters

 

Image Src : class, type accepted RGB and HSL.
Line Coordinates : array,
array specifying the start x, start y, end x, and end y coordinates of the two end points of the line to extract.

Output parameters

 

Pixel Line : array, returns the pixel values as a 1D array of unsigned 32-bit integer indicators.

 

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