Welcome to our Support Center

Get Pixel Value

Description

Reads a pixel value from an image. Type : polymorphic.

 

Input parameters

 

Image Src : class, type accepted U8 and I16.

Coordinate : cluster,

X : integer, horizontal coordinate of the pixel.
Y : integer, 
vertical coordinate of the pixel.

Output parameters

 

Pixel Value (U8) : integer, returns the specified pixel value. This output is used only for an 8-bit image.
Pixel Value (I16) : integer, returns the specified pixel value. This output is used only for 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