CN101924855A - Method for correcting gray-level linear array scanning image - Google Patents

Method for correcting gray-level linear array scanning image Download PDF

Info

Publication number
CN101924855A
CN101924855A CN2010102507671A CN201010250767A CN101924855A CN 101924855 A CN101924855 A CN 101924855A CN 2010102507671 A CN2010102507671 A CN 2010102507671A CN 201010250767 A CN201010250767 A CN 201010250767A CN 101924855 A CN101924855 A CN 101924855A
Authority
CN
China
Prior art keywords
image
correction factor
scanning
adder
transducer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2010102507671A
Other languages
Chinese (zh)
Other versions
CN101924855B (en
Inventor
崔喆
彭程
王波
黄玉娟
史志明
李永华
张宇
官磊
郭坚
巫浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Information Technology Co Ltd of CAS
Original Assignee
Chengdu Information Technology Co Ltd of CAS
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Information Technology Co Ltd of CAS filed Critical Chengdu Information Technology Co Ltd of CAS
Priority to CN2010102507671A priority Critical patent/CN101924855B/en
Publication of CN101924855A publication Critical patent/CN101924855A/en
Application granted granted Critical
Publication of CN101924855B publication Critical patent/CN101924855B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Facsimile Scanning Arrangements (AREA)
  • Image Input (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Image Processing (AREA)

Abstract

The invention discloses a method for correcting a gray-level linear array scanning image, comprising the following steps of: firstly scanning white paper to obtain an initial scanning image; then calculating the correction factor of each sensor by utilizing software on a computer on the basis of the initial scanning image; and adding the digital signal of an A/D-converted real-time scanning image to the correction factor corresponding to the point by using an adder to obtain the value of the corrected pixel point. The method has the advantages that because the method comprises the steps of firstly calculating the correction factor by utilizing the software on the computer according to the initial scanning image obtained by scanning the white paper, then preposing and applying the correction factor by utilizing special hardware, sending the calculated correction factor to the adder by using the software and then performing a simple point-by-point addition operation by using the adder to accomplish image correction, the method reduces the realization difficulty of the hardware and also avoids the time delay caused by software correction. The original light and dark stripes of the corrected image are eliminated so that the corrected image is more uniform and truer.

Description

The modification method of gray-level linear array scanning image
Technical field
The present invention relates to a kind of gray scale scanning image correcting method, especially relate to a kind of modification method of plane antenna scanning grey pictures.
Background technology
Plane picture obtains extensively, is widely used in industrial production, business activity and the daily life, is divided into face battle array and linear array dual mode usually.The face system of battle formations has the advantages that as obtaining by camera or video camera speed is fast, cost is low, but often has the defective of edge deformation or whole distortion, can not be directly used in high-precision image processing.Linear array scanning such as flat bed scanner etc., can obtain high-precision plane picture, the problem that has anamorphose hardly can directly apply to the image processing field with strict quality requirement, as the online quality testing on the production line, ballot paper statistics, financial document processing etc.
The line scan image sensor array is used in linear array scanning usually, gray scale scanning bar with the most widely used A4 breadth, 200DPI is an example, on the length of 216mm, 40 led light sources are distributing, simultaneously evenly distributed 1728 image sensor modules, promptly the spacing of two modules is 125 μ m, has all comprised an optical lens, a transducer in each module, and other affiliated facilities.The corresponding pixel of sensor assembly.The irradiate light of light emitted is to scanned surface, and reflection enters lens, focuses on sensor array and lists, and delivers to amplifier through shift register output, handles the back and transfers to computer by image pick-up card, promptly forms delegation's image.Along with scanned object at the uniform velocity passes through scan stripes, can form a width of cloth original scan image.
Because the optical characteristics of pointolite array, and scanned surface contacts with scan stripes apart from there being deviation, determined that original scan image inevitably light and dark striped will occur, as shown in Figure 1.This just need have a balance or a correction to the analog output signal of each transducer, allows them that less electrical differences is arranged under identical light signal.
Finish this correction and can use and be with degenerative analog circuit,, before A/D, finish image correction to suppress the variation difference of input analog signal.The cost of this method is higher, and development difficulty is bigger, is not suitable for high speed scanner cheaply.
Summary of the invention
In order to overcome the above-mentioned shortcoming of prior art, the invention provides a kind of modification method of gray-level linear array scanning image, at first by blank sheet of paper is scanned, obtain initial scan image, utilize software on the basis of initial scan image, to calculate the correction factor of each transducer then on computers, again will be through the digital signal of the real time scan image of A/D conversion, the correction factor corresponding with this point passes through the adder addition, obtains the value of revised pixel.This modification method is simple, and the image that obtains after the correction has been eliminated the light and shade striped that exists in the existing modification method, and image more evenly, truly.
The technical solution adopted for the present invention to solve the technical problems is: a kind of modification method of gray-level linear array scanning image may further comprise the steps:
The first step, scanning a blank sheet of paper obtain the gradation data of initial scan image;
The gradation data of second step, the initial scan image that obtains according to blank sheet of paper scanning, calculate the correction factor of each point:
(1) suppose that the sampling line number is N, the transducer number is M, asks the mean value of capable each corresponding points of image of N of i transducer, obtains the row vector;
(2) mean value of the row vector of M transducer of calculating;
(3) correction factor of i transducer of calculating;
The 3rd step, by USB interface, the correction factor vector is write among the EEPROM of high speed scanner;
The 4th the step, in real-time image scanning, earlier the analog signal of each pixel is converted to the digital signal of a byte through A/D converter, then that it is corresponding with this some correction factor is by the adder addition: if do not have carry after the adder addition, just directly export result of calculation, as the value of revised pixel by adder; If after the adder addition carry is arranged, just directly export maximum, as the value of revised pixel by adder.
Compared with prior art, good effect of the present invention is: at first according to scanning the initial scan image that blank sheet of paper obtains, utilize the computed in software correction factor on computers, utilize the preposition correction factor of using of specialized hardware again, pass to adder under the correction factor after software will calculate, do simple pointwise add operation, finish image correction by adder, both reduced the realization difficulty of hardware, the time-delay of having avoided software application to bring again; Eliminated original light and shade striped by revised image, become even more, true, as shown in Figure 2.
Description of drawings
The present invention will illustrate by example and with reference to the mode of accompanying drawing, wherein:
Fig. 1 is an original scan image of not doing any processing;
Fig. 2 adopts the real-time revised image of the inventive method;
Fig. 3 is the schematic diagram of the inventive method.
Embodiment
A kind of modification method of gray-level linear array scanning image as shown in Figure 3, comprises the steps:
The first step, scanning a blank sheet of paper obtain initial scan image (with light and dark striped), and the initial scan image of establishing i capable transducer of j is
Figure DEST_PATH_IMAGE001
Second step, the initial scan image that scanning obtains according to blank sheet of paper
Figure 84269DEST_PATH_IMAGE001
, calculate the correction factor of each point:
If
Figure 283169DEST_PATH_IMAGE002
(i: i transducer), wherein:
Figure DEST_PATH_IMAGE003
: the actual signal of each transducer output
: the ideal signal of each transducer output
Figure DEST_PATH_IMAGE005
: the noise signal of each transducer output.
According to each physical characteristics of sensors, the real output signal of transducer
Figure 690285DEST_PATH_IMAGE003
Be by its ideal signal
Figure 319980DEST_PATH_IMAGE004
And noise signal
Figure 994675DEST_PATH_IMAGE006
Constitute.Therefore, by formula
Figure 455744DEST_PATH_IMAGE002
, obtain ideal signal
Figure DEST_PATH_IMAGE007
Because
Figure 760954DEST_PATH_IMAGE006
To specific transducer relative fixed, just can synthesize desirable sensor signal so only need obtain it, this
Figure 940263DEST_PATH_IMAGE008
Be exactly the correction factor of i transducer, obtain by following steps:
(1) suppose that the sampling line number is N, the transducer number is M, asks the mean value of capable each corresponding points of image of N of i transducer, obtains the row vector
Figure DEST_PATH_IMAGE009
:
Figure 28436DEST_PATH_IMAGE010
(2) the row vector of M transducer of calculating
Figure 609590DEST_PATH_IMAGE009
Mean value :
Figure 814263DEST_PATH_IMAGE012
(3) correction factor of i transducer of calculating
Figure DEST_PATH_IMAGE013
:
Figure 418551DEST_PATH_IMAGE014
The 3rd step, by USB interface, the correction factor vector is write among the EEPROM of high speed scanner.
The 4th the step, in real-time image scanning, earlier the analog signal of each pixel is converted to the digital signal of a byte through A/D converter, correction factor vector that then will be corresponding with this point by the adder addition, obtains the value Rimage[i of revised pixel by following formula] [j]:
Rimage[i][j]=?
Figure DEST_PATH_IMAGE015
If there is not carry after the addition, just directly export Rimage[i by adder] [j]; If carry is arranged after the addition, just directly get maximum " FF ", i.e. the greatest measure that can represent of byte of 255(), obtain revised scan image thus.

Claims (1)

1. the modification method of a gray-level linear array scanning image is characterized in that: may further comprise the steps:
The first step, scanning a blank sheet of paper obtain the gradation data of initial scan image;
Second step, according to the gradation data that blank sheet of paper scanning obtains, calculate the correction factor of each point:
(1) suppose that the sampling line number is N, the transducer number is M, asks the mean value of capable each corresponding points of image of N of i transducer one by one, obtains the row vector;
(2) mean value of M sensor row vector of calculating;
(3) correction factor of i transducer of calculating;
The 3rd step, by USB interface, the correction factor vector is write among the EEPROM of high speed scanner;
The 4th the step, in real-time image scanning, earlier the analog signal of each pixel is converted to the digital signal of a byte through A/D converter, then that it is corresponding with this some correction factor is by the adder addition: if do not have carry after the adder addition, just directly export result of calculation, as the value of revised pixel by adder; If after the adder addition carry is arranged, just directly export maximum, as the value of revised pixel by adder.
CN2010102507671A 2010-08-11 2010-08-11 Method for correcting gray-level linear array scanning image Active CN101924855B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102507671A CN101924855B (en) 2010-08-11 2010-08-11 Method for correcting gray-level linear array scanning image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102507671A CN101924855B (en) 2010-08-11 2010-08-11 Method for correcting gray-level linear array scanning image

Publications (2)

Publication Number Publication Date
CN101924855A true CN101924855A (en) 2010-12-22
CN101924855B CN101924855B (en) 2012-05-16

Family

ID=43339476

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102507671A Active CN101924855B (en) 2010-08-11 2010-08-11 Method for correcting gray-level linear array scanning image

Country Status (1)

Country Link
CN (1) CN101924855B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103646387A (en) * 2013-12-16 2014-03-19 威海华菱光电股份有限公司 Method and device for image correction
CN106412380A (en) * 2016-09-20 2017-02-15 广州广电运通金融电子股份有限公司 Image compensating method and device
CN110333207A (en) * 2019-06-25 2019-10-15 中国人民解放军陆军军医大学第一附属医院 CREB adjusts analysis method in VEGFR2 expression in Ang-2

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004180199A (en) * 2002-11-29 2004-06-24 Canon Inc Image processing method in image reader
CN1522046A (en) * 2003-02-11 2004-08-18 力捷电脑股份有限公司 Method of image correction in continuous scanning
CN1531328A (en) * 2003-03-12 2004-09-22 株式会社理光 Image reading method and reader
CN101163187A (en) * 2006-10-13 2008-04-16 虹光精密工业(苏州)有限公司 Scanning device and scanning method for performing revision using one point data

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004180199A (en) * 2002-11-29 2004-06-24 Canon Inc Image processing method in image reader
CN1522046A (en) * 2003-02-11 2004-08-18 力捷电脑股份有限公司 Method of image correction in continuous scanning
CN1531328A (en) * 2003-03-12 2004-09-22 株式会社理光 Image reading method and reader
CN101163187A (en) * 2006-10-13 2008-04-16 虹光精密工业(苏州)有限公司 Scanning device and scanning method for performing revision using one point data

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103646387A (en) * 2013-12-16 2014-03-19 威海华菱光电股份有限公司 Method and device for image correction
CN103646387B (en) * 2013-12-16 2017-06-06 威海华菱光电股份有限公司 Image correcting method and device
CN106412380A (en) * 2016-09-20 2017-02-15 广州广电运通金融电子股份有限公司 Image compensating method and device
CN106412380B (en) * 2016-09-20 2019-09-10 广州广电运通金融电子股份有限公司 A kind of image compensation method and device
CN110333207A (en) * 2019-06-25 2019-10-15 中国人民解放军陆军军医大学第一附属医院 CREB adjusts analysis method in VEGFR2 expression in Ang-2

Also Published As

Publication number Publication date
CN101924855B (en) 2012-05-16

Similar Documents

Publication Publication Date Title
CN110232356B (en) Optical fingerprint identifier and fingerprint identification method thereof
AU2014289868B2 (en) Image compensation correction method and banknote recognition and detection device
CN100527775C (en) An image scanning method and system
CN101305599A (en) Device for correcting quantity of ambient light, method for correcting quantity of ambient light, electronic information apparatus, control program and readable recording medium
CN101924855B (en) Method for correcting gray-level linear array scanning image
CN107591120A (en) A kind of compensation method of display panel and its compensation equipment, storage device
EP0468371B1 (en) Method of and device for compensating for reading-position error of image sensor
CN103297654A (en) Image correction method based on multiple-contact image sensor (CIS) large-format scanner
JPH06339026A (en) Correction data generating device
CN104113674A (en) Image real-time correction output method for linear array CCD imaging system based on FPGA
US7251064B2 (en) Calibration of an image scanning system
CN104394292B (en) It is a kind of to scan bearing calibration and the image scanning module with calibration function
CN1176441C (en) Improved image sensing assembly for generating interference-reducing digital image
CN102566095B (en) Method and system for measuring gamma curves of liquid crystal spatial light modulator
US6690420B1 (en) Integrated circuit architecture of contact image sensor for generating binary images
US10341504B2 (en) Photo response non-uniformity suppression
JP2009206570A (en) Image reading apparatus
CN114234846A (en) Rapid nonlinear compensation method based on double-response curve fitting
JP2005079816A (en) Method and apparatus for creating image data
CN100459655C (en) A method for reverting image
CN103513791B (en) Displacement detector
CN100391224C (en) Image pick up device and image correcting method
CN102621717B (en) Method and system for measuring gamma curve of liquid crystal spatial light modulator
KR20030052216A (en) A modular processing unit for radiometric, geometric correction and parallel interface for machine vision system
CN102710904B (en) Sensing pixel structure capable of generating sensing image with uniform resolution and light sensor

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee

Owner name: CHENGDU INFORMATION TECHNOLOGY OF CHINESE ACADEMY

Free format text: FORMER NAME: CHENGDU INFORMATION TECHNOLOGY CO., LTD., CAS

CP01 Change in the name or title of a patent holder

Address after: 610041, No. 11, building 5, high tech building, East Road, Chengdu hi tech Zone, Sichuan

Patentee after: Chengdu Information Technology of Chinese Academy of Sciences Co., Ltd.

Address before: 610041, No. 11, building 5, high tech building, East Road, Chengdu hi tech Zone, Sichuan

Patentee before: Chengdu Information Technology Co., Ltd., CAS

C56 Change in the name or address of the patentee
CP02 Change in the address of a patent holder

Address after: 1803, room 18, building 1, building 360, No. 610017, Fai Fai Road, Chengdu hi tech Zone, Sichuan, China

Patentee after: Chengdu Information Technology of Chinese Academy of Sciences Co., Ltd.

Address before: 610041, No. 11, building 5, high tech building, East Road, Chengdu hi tech Zone, Sichuan

Patentee before: Chengdu Information Technology of Chinese Academy of Sciences Co., Ltd.