CN101924855B - 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
CN101924855B
CN101924855B CN2010102507671A CN201010250767A CN101924855B CN 101924855 B CN101924855 B CN 101924855B CN 2010102507671 A CN2010102507671 A CN 2010102507671A CN 201010250767 A CN201010250767 A CN 201010250767A CN 101924855 B CN101924855 B CN 101924855B
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.)
Active
Application number
CN2010102507671A
Other languages
Chinese (zh)
Other versions
CN101924855A (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 Processing (AREA)
  • Image Input (AREA)
  • Facsimile Image Signal Circuits (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 commercial 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 through camera or video camera speed is fast, cost is low, but often has the defective of edge deformation or whole distortion, can not directly be used for 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, like 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, and 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 gets into lens, focuses on sensor array and lists, and delivers to amplifier through shift register output, handles the back and transfers to computer through 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, and is as shown in Figure 1.This just need have a balance or a correction to the analog output signal of each transducer, lets them that less electrical differences is arranged under identical light signal.
Accomplish this correction and can use and be with degenerative analog circuit,, before A/D, accomplish 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,, obtain initial scan image at first through blank sheet of paper is scanned; Utilize software on the basis of initial scan image, to calculate the correction factor of each transducer then on computers; To pass through the digital signal of the real time scan image of A/D conversion again, the correction factor corresponding with this point obtains the value of revised pixel through the adder addition.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, through 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 through 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: the initial scan image that at first obtains according to the scanning blank sheet of paper, 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, accomplish 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 through revised image, become even more, true, as shown in Figure 2.
Description of drawings
The present invention will explain through 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, comprise the steps:
The first step, scanning a blank sheet of paper; Obtain initial scan image (with light and dark striped), the initial scan image of establishing i capable transducer of j is
Figure 2010102507671100002DEST_PATH_IMAGE001
;
Second step, according to the initial scan image
Figure 84269DEST_PATH_IMAGE001
that blank sheet of paper scanning obtains, calculate the correction factor of each point:
if
Figure 283169DEST_PATH_IMAGE002
(i: i transducer), wherein:
Figure 2010102507671100002DEST_PATH_IMAGE003
: the actual signal of each transducer output
Figure 821555DEST_PATH_IMAGE004
: 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
is to be made up of its ideal signal
Figure 319980DEST_PATH_IMAGE004
and noise signal
Figure 994675DEST_PATH_IMAGE006
.Therefore; By formula , obtain ideal signal
Figure DEST_PATH_IMAGE007
.Because
Figure 760954DEST_PATH_IMAGE006
is to specific transducer relative fixed; Just can synthesize desirable sensor signal so only need obtain it; This
Figure 940263DEST_PATH_IMAGE008
is exactly the correction factor of i transducer, obtains through following steps:
(1) supposes that the sampling line number is N; The transducer number is M; Ask the mean value of capable each corresponding points of image of N of i transducer, obtain row vector
Figure DEST_PATH_IMAGE009
:
Figure 28436DEST_PATH_IMAGE010
(2) calculation of M sensors row vector average
Figure DEST_PATH_IMAGE011
:
Figure 814263DEST_PATH_IMAGE012
(3) correction factor of i transducer of calculating:
Figure 418551DEST_PATH_IMAGE014
The 3rd step, through 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 through the adder addition, obtains the value Rimage [i] [j] of revised pixel by following formula:
Rimage[i][j]=
Figure DEST_PATH_IMAGE015
If there is not carry after the addition, just directly export Rimage [i] [j] by adder; If carry is arranged after the addition, just directly get maximum " FF ", promptly 255 (greatest measures that byte can be represented) obtain revised scan image thus.

Claims (1)

1. correction ten thousand methods 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, and the initial scan image of establishing i capable transducer of j is Image [j] [i];
Second step, according to the gradation data Image [j] [i] 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 row vectorial mVector [i]:
mVector [ i ] = Σ j = 0 N - 1 Image [ j ] [ i ] / N
(2) calculate the vectorial mean value Average of M sensor row:
Average = Σ i = 0 M - 1 mVector [ i ] / M
(3) the correction factor aVector [i] of i transducer of calculating:
aVector[i]=Average-mVector[i]
The 3rd step, through 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 through the adder addition, obtains the value Rimage [i] [j] of revised pixel by following formula:
Rimage [ i ] [ j ] = Σ j = 0 N - 1 Σ i = 0 M - 1 ( Image [ j ] [ i ] + aVector [ i ] )
If do not have carry after the adder addition, just directly export result of calculation Rimage [i] [j], as the value of revised pixel by adder; If after the adder addition carry is arranged, just directly export maximum " FF ", 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 CN101924855A (en) 2010-12-22
CN101924855B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103646387B (en) * 2013-12-16 2017-06-06 威海华菱光电股份有限公司 Image correcting 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

Family Cites Families (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
CN100352257C (en) * 2003-02-11 2007-11-28 宇东科技股份有限公司 Method of image correction in continuous scanning
JP4163536B2 (en) * 2003-03-12 2008-10-08 株式会社リコー Image reading device
CN101163187A (en) * 2006-10-13 2008-04-16 虹光精密工业(苏州)有限公司 Scanning device and scanning method for performing revision using one point data

Also Published As

Publication number Publication date
CN101924855A (en) 2010-12-22

Similar Documents

Publication Publication Date Title
CN110232356B (en) Optical fingerprint identifier and fingerprint identification method thereof
TWI326443B (en) Dynamic gamma correction circuit, method thereof and plane display device
AU2014289868B2 (en) Image compensation correction method and banknote recognition and detection device
EP1187458A3 (en) Image-reading device performing a white-shading correction by obtaining a peak value of average values of images data read from a reference-white member in blocks as white-shading data
CN100527775C (en) An image scanning method and system
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
JPH0877340A (en) Offset for scanning system and method for decision of gain correction
CN103297654A (en) Image correction method based on multiple-contact image sensor (CIS) large-format scanner
CN104113674A (en) Image real-time correction output method for linear array CCD imaging system based on FPGA
JPS62501884A (en) Dynamic gain adjuster for image scanners
US7251064B2 (en) Calibration of an image scanning system
CN1176441C (en) Improved image sensing assembly for generating interference-reducing digital image
CN104394292B (en) It is a kind of to scan bearing calibration and the image scanning module with calibration function
US6304826B1 (en) Self-calibration method and circuit architecture of image sensor
US6690420B1 (en) Integrated circuit architecture of contact image sensor for generating binary images
CN102566095B (en) Method and system for measuring gamma curves of liquid crystal spatial light modulator
US10341504B2 (en) Photo response non-uniformity suppression
CN108462808A (en) Scanner electro-optical system and its control method
CN100459655C (en) A method for reverting image
CN203225818U (en) Image processing device capable of scanning two rows of data synchronously
JP5517769B2 (en) Image processing method of image reading apparatus and image reading apparatus
CN1356821A (en) Correcting method for touch scanner with image sensor
CN101165809B (en) Display device
CN100391224C (en) Image pick up device and image correcting method

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.