Magic Wand

Description

Creates an image mask by extracting a region surrounding a reference pixel, called the origin, and using a tolerance of intensity variations based on this reference pixel. 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). Magic Wand Parameters : cluster,

Documentation illustration (illustration unavailable in the archive). HotSpot X : integer, coordinates X of the origin pixel chosen from the image source.
Documentation illustration (illustration unavailable in the archive).
HotSpot Y : integer,
coordinates Y of the origin pixel chosen from the image source.
Documentation illustration (illustration unavailable in the archive).
Tolerance : float,
is the maximum allowed deviation from the origin.
Documentation illustration (illustration unavailable in the archive).
Fill Value : integer,
is the value used for the highlighted pixels in the destination image.

Documentation illustration (illustration unavailable in the archive).

Output parameters

 

Documentation illustration (illustration unavailable in the archive). Image Dst : class

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