Patent ID: 8368967

Claim:
A scanning controller for a scanner which comprises at least one image sensor, an analog front end unit used for performing a signal conversion from an analog image signal sensed by the at least one image sensor to a digital image signal, at least one motor and an image buffer, and the scanning controller comprising: an image data processing unit used to process the digital image signal from the analog front end unit and accordingly generate an image data to be stored within the image buffer; a memory control unit, connected with the image data processing unit and used to manage access of the image data from/to the image buffer; a buffer condition control unit, connected with the memory control unit to periodically inspect the actual data amount stored within the image buffer, a motor controlling unit used to generate at least one motor driving timing for driving the at least one motor; a relation control unit, utilizing the inspected actual data amount which is stored within the image buffer and is provided by the buffer condition control unit, to correspondingly determine the at least one motor driving timing from the motor controlling unit, based on at least one predetermined contrastive relationship between each stored data amount with regard to the image buffer and a corresponding motor move timing, wherein the at least one predetermined contrastive relationship includes at least one of a first and second storage thresholds; a motor condition control unit, used to determine and provide a proper motor driving timing type for the relation control unit; and a dummy line control unit determining an amount of dummy line appearing in the image data generated by the image data processing unit, based on the at least one predetermined contrastive relationship and the inspected actual data amount, wherein the inspected actual data amount is stored within the image buffer and is provided by the buffer condition control unit.