摘要 |
Provided are an apparatus and method of measuring a distance using structured light. The apparatus includes a binarization unit binarizing an image, an image identification unit identifying an image having connected pixels in the binarized image, a length ratio calculation unit obtaining the length ratio of the major axis of the image having the connected pixels to a minor axis perpendicular to the major axis, a pixel mean calculation unit obtaining the mean of pixel values of the image having the connected pixels, and an image extraction unit extracting an image formed by the light irradiated from the light source, from the images having connected pixels using the length ratio and the mean of the pixel values.
|