摘要 |
PROBLEM TO BE SOLVED: To determine a calculation parameter for calculating distance information with high accuracy in a short time.SOLUTION: An image acquisition unit 11 acquires captured images 1a-1e obtained by imaging the same subject with different focal positions. A calculation unit 12 executes processing, multiple times, of generating a first information group having distance information corresponding to a distance between each of corresponding pixels in the images 1a-1e and the subject, on the basis of a focusing measure indicating a focus degree in each of the pixels of the images 1a-1e, while changing a calculation parameter for the focusing measure. A parameter determination unit 13 selects one second information group from the first information group, on the basis of the amount of noise component included in each of the first information group and the time required for calculating each of the first information group, to output a calculation parameter used in calculating the second information group.SELECTED DRAWING: Figure 1 |