Patent ID: 8890942

Claim:
A camera module, comprising: a first imaging lens and a second imaging lens each of which introduces light from a subject and forms a subject image; a first image sensor that acquires a first image by imaging the subject image formed by the first imaging lens, and outputs a first image signal; a second image sensor that acquires a second image by imaging the subject image formed by the second imaging lens, and outputs a second image signal; and an image processing apparatus that executes signal processing on the first image signal from the first image sensor and the second image signal from the second image sensor, wherein the image processing apparatus includes a parallax amount calculating unit that calculates a parallax amount between the first image and the second image based on the first image signal and the second image signal, a subject distance calculating unit that calculates a subject distance from the subject based on the parallax amount calculated by the parallax amount calculating unit, a refocus filter generating unit that generates a refocus filter whose filtering level is adjusted according to the subject distance of a subject to be focused and sighted among a plurality of subjects projected in the first image and the second image, and a refocus image generating unit that executes a filtering process using the refocus filter generated by the refocus filter generating unit and generates a refocus image, and wherein the parallax amount calculating unit calculates the parallax amount based on first brightness information that is brightness information generated from the first image signal and second brightness information that is brightness information generated from the second image signal.