Get Pixel Line

Description

Extracts the intensity values of a line of pixels. Type : polymorphic.

 

Documentation illustration (illustration unavailable in the archive).

Input parameters

 

Documentation illustration (illustration unavailable in the archive). Image Src : class, type accepted U8 and I16.
Documentation illustration (illustration unavailable in the archive).
Line Coordinates : array,
array specifying the pixel coordinates that form the end points of the line.

Output parameters

 

Documentation illustration (illustration unavailable in the archive). Pixel Line (U8) : array, returns the intensity values for the specified line of pixels. Use this output only when image is an 8-bit image.
Documentation illustration (illustration unavailable in the archive). Pixel Line (I16) : array, returns the intensity values for the specified line of pixels. Use this output only when image is an 16-bit 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).