Color Neighborhoods
A color neighborhood can specify a set of colors perceptually similar to a specific color. Color neighborhoods are specifically effective in image processing algorithms such as color-based image segmentation. Use ColorsNear to specify the radius and color distance metric that specify the size and shape of the neighborhood.
Visualize three different color neighborhoods.
The "CIE76" color distance metric is defined as the Euclidean distance in the Lab color space. Color neighborhoods using this metric in 3D Lab space show perfect spheres.
Use a color neighborhood to detect the green screen in an image.
Use the mask as the image alpha channel to remove the green screen.