Welcome to our Support Center

Get Pixel Line

Description

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

 

Input parameters

 

Image Src : class, type accepted U8 and I16.
Line Coordinates : array,
array specifying the pixel coordinates that form the end points of the line.

Output parameters

 

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

 

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