摘要 |
An imaging device is provided that includes an image blur evaluator, an imaging processor, an edge contour extraction processor, an image divider, and a distance information detector. The image blur evaluator evaluates the amount of blurring in an image. The imaging processor captures secondary images of the same object at different lens positions. The edge contour extraction processor extracts edge contour components of the secondary images and creates an edge-contour extracted image for each of the secondary images. The image divider divides each edge-contour extracted image into a plurality of relatively large blocks when blurring is evaluated to be relatively substantial, and into relatively small blocks when the blurring is evaluated to be moderate. The distance information detector detects distance information of the objects captured in each block based on the contrast. |