First to third liquid crystal filters are arranged at first to third different
distances from a predeterminate image formation surface. Light flux passing through
the liquid crystal filters is received by a photodiode and converted into an electric
signal. A variable-density stripe pattern of a predetermined space frequency is
formed on the first liquid crystal filter while the second and the third liquid
crystal filter are in the state of entire transparency and a first signal is output
from the photodiode. Similarly, a variable-density stripe pattern is formed on
the second liquid crystal filter while the first and the third liquid crystal filter
are in the state of entire transparency and a second signal is output. Similarly,
a variable-density stripe pattern is formed on the third liquid crystal filter
while the first and the second liquid crystal filter are in the state of entire
transparency and a third signal is output. According to the first, second, and
third signals, a focal point position is calculated.