Get Color Pixel Line

Description

Extracts a line of pixels from a color 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).
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

 

Documentation illustration (illustration unavailable in the archive). Pixel Line : array, returns the pixel values as a 1D array of unsigned 32-bit integer indicators.

 

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).