Welcome to our Support Center

Magic Wand


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.


Input parameters


Image Src : class, type accepted U8 and I16.

Magic Wand Parameters : cluster,

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

Output parameters


Image Dst : class


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