What is claimed is:
1. An image detecting method comprising the steps of:
a) searching for a pattern satisfying a predetermined commencement requirement by scanning an input image;
b) using the pattern as a starting point, with referring to a dictionary storing therein distances between the center line and an edge of a detection target semicircle, determining for each of a predetermined number of main scan lines along a sub-scan direction whether or not a predetermined edge pattern occurs within a respective range of the distance of said dictionary; and
c) determining a detection of the semicircle when the number of error main scan lines on which the predetermined edge pattern does not occur within the respective range of the distance of said dictionary is less than a predetermined threshold.
2. The method as claimed in claim 1, wherein:
the predetermined commencement requirement comprises requirements in which a ratio of black pixels occurring on a current main scan line between predetermined edge patterns is more than a predetermined value, and, also, a ratio of white pixels at the same positions but on an immediately preceding main scan line is more than a predetermined value.
3. The method as claimed in claim 1, wherein:
the number of error main scan lines comprises any one of the total of main scan lines on which predetermined left or right edge pattern does not occur, the number of successive main scan lines on which the predetermined left edge pattern does not occur, and the number of successive main scan lines on which the predetermined right edge pattern does not occur.
4. An image detecting system comprising:
a part searching for a pattern satisfying a predetermined commencement requirement by scanning an input image;
a part using the pattern as a starting point, with referring to a dictionary storing therein distances between the center line and an edge of a detection target semicircle, determining for each of a predetermined number of main scan lines along a sub-scan direction whether or not a predetermined edge pattern occurs within a respective range of the distance of said dictionary; and
a part determining a detection of the semicircle when the number of error main scan lines on which the predetermined edge pattern does not occur within the respective range of the distance of said dictionary is less than a predetermined threshold.
5. The system as claimed in claim 4, wherein:
the predetermined commencement requirement comprises requirements in which a ratio of black pixels occurring on a current main scan line between predetermined edge patterns is more than a predetermined value, and, also, a ratio of white pixels at the same positions but on an immediately preceding main scan line is more than a predetermined value.
6. The system as claimed in claim 4, wherein:
the number of error main scan lines comprises any one of the total of main scan lines on which predetermined left or right edge pattern does not occur, the number of successive main scan lines on which the predetermined left edge pattern does not occur, and the number of successive main scan lines on which the predetermined right edge pattern does not occur.
7. A program, read by a computer, which thus executes the program so as to perform a process of detecting an predetermined figure, said program comprising:
first program code means for searching for a pattern satisfying a predetermined commencement requirement by scanning an input image;
second program code means for using the pattern as a starting point, with referring to a dictionary storing therein distances between the center line and an edge of a detection-target semicircle, determining for each of a predetermined number of main scan lines along a sub-scan direction whether or not a predetermined edge pattern occurs within a respective range of the distance of said dictionary; and
third program code means for determining a detection of the semicircle when the number of error lines on which the predetermined edge pattern does not occur within the respective range of the distance of said dictionary is less than a predetermined threshold.
8. The program as claimed in claim 7, wherein:
the predetermined commencement requirement comprises requirements in which a ratio of black pixels occurring on a current main scan line between predetermined edge patterns is more than a predetermined value, and, also, a ratio of white pixels at the same positions but on an immediately preceding main scan line is more than a predetermined value.
9. The program as claimed in claim 7, wherein:
the number of error main scan lines comprises any one of the total of main scan lines on which predetermined left or right edge pattern does not occur, the number of successive main scan lines on which the predetermined left edge pattern does not occur, and the number of successive main scan lines on which the predetermined right edge pattern does not occur.
10. A computer-readable recording medium storing therein a program, read by a computer, which thus executes the program so as to perform a process of detecting an predetermined figure, said program comprising:
first program code means for searching for a pattern satisfying a predetermined commencement requirement by scanning an input image;
second program code means for using the pattern as a starting point, with referring to a dictionary storing therein distances between the center line and an edge of a detection-target semicircle, determining for each of a predetermined number of main scan lines along a sub-scan direction whether or not a predetermined edge pattern occurs within a respective range of the distance of said dictionary; and
third program code means for determining a detection of the semicircle when the number of error main scan lines on which the predetermined edge pattern does not occur within the respective range of the distance of said dictionary is less than a predetermined threshold.
11. The recording medium as claimed in claim 10, wherein:
the predetermined commencement requirement comprises requirements in which a ratio of black pixels occurring on a current main scan line between predetermined edge patterns is more than a predetermined value, and, also, a ratio of white pixels at the same positions but on an immediately preceding main scan line is more than a predetermined value.
12. The recording medium as claimed in claim 10, wherein:
the number of error main scan lines comprises any one of the total of main scan lines on which predetermined left or right edge pattern does not occur, the number of successive main scan lines on which the predetermined left edge pattern does not occur, and the number of successive main scan lines on which the predetermined right edge pattern does not occur.
The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.
1. A device comprising:
a comparator configured to receive an analog signal and adjustable reference voltages, to compare the analog signal against the adjustable reference voltages, and to generate a driver signal with pulse density modulation (PDM);
a class D amplifier configured to receive the driver signal and generate an output signal; and
a reference generator configured to generate the adjustable reference voltages.
2. The device of claim 1, further comprising:
an integrator configured to receive, sum and integrate an input signal and the output signal and to provide the analog signal.
3. The device of claim 2, wherein the integrator comprises
an amplifier having an inverting input, a non-inverting input, and an output,
a first resistor coupling the input signal to the inverting input of the amplifier, and
a second resistor coupling the output signal to the inverting input of the amplifier.
4. The device of claim 3, wherein the reference generator is configured to generate first and second reference voltages having a difference that is inversely related to a value of the second resistor.
5. The device of claim 1, wherein the reference generator is configured to generate first and second reference voltages having a difference that is related to a power supply voltage.
6. The device of claim 1, wherein the reference generator is configured to generate first and second reference voltages having a difference that is determined by the input signal.
7. The device of claim 1, wherein the reference generator is configured to generate a first reference voltage when the driver signal is at logic high and to generate a second reference voltage when the driver signal is at logic low, the second reference voltage being higher than the first reference voltage.
8. The device of claim 1, wherein the reference generator is configured to generate the adjustable reference voltages to reduce variation in switching frequency of the driver signal due to variations in integrated circuit (IC) process, power supply voltage, and temperature.
9. A device comprising:
a comparator means configured to receive an analog signal and adjustable reference voltages, to compare the analog signal against the adjustable reference voltages, and to generate a driver signal with pulse density modulation (PDM);
a class D amplifier means configured to receive the driver signal and generate an output signal; and
a reference generator means configured to generate the adjustable reference voltages.
10. A method comprising:
generating adjustable reference voltages;
receiving an analog signal and the adjustable reference voltages;
comparing the analog signal against the adjustable reference voltages;
generating a driver signal with pulse density modulation (PDM) based on the comparison;
receiving the driver signal; and
generating an output signal.