Example: Magic Wand

NI Vision for Visual Basic

Example: Magic Wand

This example shows how to create an image mask by extracting a region surrounding a reference pixel, called the origin, and using a tolerance (+ or –) of intensity variations based on this reference pixel. Using this origin, the Magic Wand Tool searches for its neighbors with an intensity equal to or falling within the tolerance value of the point of reference.

Example Location

<Vision>\Examples\MSVB\2. Functions\Grayscale Processing