×

Automatic focus for image sensors

  • US 7,589,781 B2
  • Filed: 01/26/2005
  • Issued: 09/15/2009
  • Est. Priority Date: 01/26/2005
  • Status: Active Grant
First Claim
Patent Images

1. An automatic focusing apparatus as a part of a digital imaging device, the apparatus comprising:

  • an optical system capable of forming an image of an object at a focal plane of the optical system;

    a two dimensional away of light sensors for generating pixel data representing the image;

    a windowing facility cooperating with a plurality of filter taps, the windowing facility being configured for;

    extracting the pixel data of at least one region of the image using a first finite impulse response (FIR) filter to derive first spectral information and a second FIR filter to derive second spectral information, the first and the second FIR filters being further configured for delaying the pixel data, multiplying the taps by the delayed pixel data, and accumulating results of multiplying the filter taps by the delayed pixel data to generate a first digitally filtered sequence of pixel data and a second digitally filtered sequence of spectral information, respectively;

    computing at least one value corresponding to a focus condition of the region based on the region'"'"'s extracted pixel data; and

    computing at least one value corresponding to a scene activity of the region based on the region'"'"'s extracted pixel data;

    a focus condition change detection facility for computing an out-of-focus indicator value based on the scene activity value;

    the windowing facility further comprising;

    at least one window processing resource for each region of the image, wherein each window processing resource implements a digital filter to process the said extracted pixel sequence to produce a digitally filtered sequence; and

    a plurality of accumulator units to accumulate each of the said digitally filtered sequences by adding the pixel data in the sequence to a total value representing the sum of all previous pixel data in the sequence, wherein a final accumulated result is a total value computed by the accumulator unit after adding the last pixel data in the digitally filtered sequence;

    the windowing facility being further configured for;

    computing arithmetic weighted accumulated sum by weighting and summing the final accumulated results of window processing resources;

    whereinarithmetic weights are partitioned into at least one curve group, and where each curve group is defined by containing exactly one final accumulated result from a window processing resource and associating each final accumulated result with a curve group;

    the focus condition change detection facility is configured for computing two sets of intermediate results for an out-of-focus indicator value using results from at least two of the curve groups by operating on the weighted accumulated sums of each curve group, wherein;

    the first set of intermediate results is computed by taking the difference between two predetermined weighted accumulated sums from the same curve group;

    the second set of intermediate results is computed by dividing two predetermined weighted accumulated sums from the same curve group;

    the out-of-focus indicator is computed by a threshold detection facility that performs logical operations on four sets of values, wherein the four sets of values comprise two sets of intermediate results from a current image and two sets of intermediate results from a previous image; and

    a tracking state-machine for computing a direction value and a magnitude value for adjusting and repositioning the optical system from a current position, based on the computed focus condition value and the out-of-focus indicator value.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×