Patent Document ID: 20160110940
Application ID: 14894966
Patent Status: 0

Claim One:
1. A method for compensating and correcting an image, applied to a device for recognizing and verifying banknotes comprising a micro control unit, a programmable logic device connected to the micro control unit, an analog to digital (AD) chip, a drive circuit, and a static random access memory each connected to the programmable logic device, and a contact image sensor connected to the AD chip and the drive circuit respectively, wherein the static random access memory pre-stores a lookup table for compensation and correction; and the method comprises: receiving, by the programmable logic device, a first configuration instruction output by the micro control unit, and controlling, by the programmable logic device, the drive circuit to drive the contact image sensor to collect first banknote image pixels; converting, by the AD chip, the first banknote image pixels into second banknote image pixels through analog to digital conversion; and acquiring, by the programmable logic device, the second banknote image pixels, using values of the second banknote image pixels as address data, accessing the lookup table for compensation and correction pre-stored in the static random access memory, finding banknote compensation and correction data corresponding to the second banknote image pixels, and transmitting the banknote compensation and correction data to the micro control unit.