This demo differs from my demo on color detection by thresholding in the hsv color space because with that one you are essentially extracting out a pie-shaped sector out of the LAB color space gamut while in this demo we're extracting out a sphere centered at the mean LAB color of the user-drawn region. by ImageAnalyst, Ph.D.