The documentation of the example offers following information:
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.
regards,
ThSa
Message Edited by ThSa on 01-04-2006 01:08 PM