By sensing an object without performing light projection with a light
projection unit, a first image is acquired, and by sensing the object
while performing light projection with the light projection unit, a
second image is acquired. Based on the acquired first image and the
second image, a pixel having a specific color in the first image is
extracted.