CN101127821A - Repair method for scanning image - Google Patents

Repair method for scanning image Download PDF

Info

Publication number
CN101127821A
CN101127821A CNA200610108785XA CN200610108785A CN101127821A CN 101127821 A CN101127821 A CN 101127821A CN A200610108785X A CNA200610108785X A CN A200610108785XA CN 200610108785 A CN200610108785 A CN 200610108785A CN 101127821 A CN101127821 A CN 101127821A
Authority
CN
China
Prior art keywords
image data
digital image
abnormal pixel
scanning
repair method
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.)
Pending
Application number
CNA200610108785XA
Other languages
Chinese (zh)
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.)
BenQ Corp
Original Assignee
BenQ Corp
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 BenQ Corp filed Critical BenQ Corp
Priority to CNA200610108785XA priority Critical patent/CN101127821A/en
Publication of CN101127821A publication Critical patent/CN101127821A/en
Pending legal-status Critical Current

Links

Images

Abstract

The utility model relates to a repair method for scanning images, which comprises firstly a digital image data gained for receiving the scanning, secondly judging whether the digital image data comprises an abnormal image element. When the digital image data package is judged to comprise an abnormal image element, the two image elements adjacent to the abnormal image element are read out and calculated for taking an average to get an average image element. Then the abnormal image element is substituted by the average image element, so as to prevent the occurrence that the image data creates an abnormal straight line in the gap of the adjacent contact type image sensor.

Description

Repair method for scanning image
Technical field
The present invention relates to a kind of repair method for scanning image, particularly relate to a kind of unusual straight line appears in image data in the gap of adjacent contact image sensor repair method for scanning image of eliminating.
Background technology
At present, scanner technology is flourish, and the words that the current scanline instrument is distinguished according to scan mode, roughly can be divided into charge coupled device (Charge Coupled Device, abbreviation CCD) form and contact image sensor (Contact Image Sensor is called for short CIS) form is two kinds.With the CCD form, it is to have long Deep Canvas, and the CIS form then has short Deep Canvas.But, when scanning, no matter be that the CCD form or the scanner of CIS form all can obtain image smoothly.
Recently owing to require the scanner must be more and more compact, and even scanner, photocopier and printer be made into multi-functional things machine, so on this kind things machine, be the scanning means that adopts the CIS form mostly.And most the CCD sensor chips of serving as reasons on this scanning means are formed, and for example, CIS always has M pixel, and when being made up of N CCD sensor chip, then each CCD sensor chip will have M/N pixel.
Because the CCD sensor chip in physical characteristic and technologic restriction, at adjacent CCD sensor chip seam crossing, will make first pixel of CCD sensor chip take place on scan-image unusually, and will cause scan-image a unusual straight line to occur.Please refer to Fig. 3, it shows the pixel waveforms figure of existing unusual straight line.In Fig. 3, label 302 is the image output signal of normal pixel, and label 304 is the image output signal of abnormal pixel.Therefore, N the scanner that the CCD sensor chip is formed will have the unusual straight line of N-1 bar (as shown in Figure 3 304) on scan-image.Unusual straight line like this is with the quality of serious scan-image.
Summary of the invention
A purpose of the present invention is to provide a kind of repair method for scanning image, and it can be eliminated image data and unusual straight line occur in the gap of adjacent contact image sensor.
For realizing the above object, the present invention discloses a kind of repair method for scanning image, this repair method for scanning image comprises at first being to receive a digital image data, secondly, judges whether digital image data comprises an abnormal pixel.When judgement learns that this digital image data comprises abnormal pixel, then read two adjacent pixels of abnormal pixel, and the contiguous pixel of abnormal pixel is done an average calculating operation, to obtain a mean pixel.Then, replace abnormal pixel with mean pixel.
In repair method for scanning image of the present invention, also be included in behind the mean pixel replacement abnormal pixel, then output is repaired digital image data later to main frame or printer unit.
In repair method for scanning image of the present invention, also comprise and judge whether digital image data comprises that the step of abnormal pixel comprises pairing first axial coordinate of the scope of at first calculating digital image data.Secondly, judge whether first axial coordinate falls within the gap of any two adjacent contact image sensors.Then, when judgement learnt that first axial coordinate falls within the gap of any two adjacent contact image sensors, then digital image data was for comprising abnormal pixel; Otherwise when judgement learnt that first axial coordinate does not fall within the gap of any two adjacent contact image sensors, then digital image data did not comprise abnormal pixel.
In repair method for scanning image of the present invention, also comprise and judge whether digital image data comprises that the step of abnormal pixel comprises pairing second axial coordinate of the scope of at first calculating digital image data.Secondly, judge whether second axial coordinate falls within the gap of any two adjacent contact image sensors.Then, when judgement learnt that second axial coordinate falls within the gap of any two adjacent contact image sensors, then digital image data was for comprising abnormal pixel; Otherwise when judgement learnt that second axial coordinate does not fall within the gap of any two adjacent contact image sensors, then digital image data did not comprise abnormal pixel.
For making advantage of the present invention and the spirit can be further revealed, existing do in conjunction with the accompanying drawings one describe in detail as after.
Description of drawings
Fig. 1 is the partial interior Organization Chart of scanning means of the present invention.
Fig. 2 A is the flow chart of steps of repair method for scanning image of the present invention.
Fig. 2 B is a digital image data of the present invention and the corresponding axial coordinate schematic diagram of contact image sensor framework.
Fig. 3 is the pixel waveforms figure of existing unusual straight line.
The reference numeral explanation
100: scanning means
102: the contact image sensor framework
104: function produces chip
106: charge coupled device chip 1~charge coupled device chip N
108: the gap
242: digital image data
244: the first axial coordinates
246: the second axial coordinates
302: the image output signal of normal pixel
304: the image output signal of abnormal pixel
S202~s230: each steps flow chart
Embodiment
Please refer to Fig. 1, its shown the volume partial interior Organization Chart of scanning means of the present invention.In the present embodiment, only explain orally the part relevant in the scanning means 100 with repair method for scanning image of the present invention, it comprises contact image sensor (Contact Image Sensor, abbreviation CIS) framework 102, function produce chip 104, a N charge coupled device (Charge Coupled Device is called for short CCD) chip 106 and gap 108.
Wherein, present embodiment is that example explains with N charge coupled device chip only, and 102 of contact image sensor frameworks have (N-1) individual gap 108.
The controlling signal that the CPU (not illustrating) that this 104 of function generation chip is a reception scanning means 100 is transmitted, and will export N charge coupled device chip 106 to after the controlling signal processing.Wherein, this controlling signal can for example be replacement signal, clock signal, initial pulse signal, but all not as limit.
Please continue the A with reference to Fig. 2, it shows the flow chart of steps of repair method for scanning image of the present invention.In the present embodiment, when scanning means 100 scans a file with contact image sensor framework 102, charge coupled device chip 106 will receive the sensitization signal of file, and exports analog digital converting unit (not illustrating) to (s202) after converting the analog image data to.
Secondly, analog digital converting unit becomes digital image data (s204) with the analog image data transaction, and digital image data is temporary in the buffer in the scanning means 100 (s206) by specific function integrated circuit (Application Specific Integrated Circuit, be called for short ASIC).
Please be simultaneously with reference to Fig. 2 A and Fig. 2 B, Fig. 2 B shows the corresponding axial coordinate schematic diagram of digital image data of the present invention and contact image sensor framework.Then, scanning means 100 will calculate the peripheral extent of this digital image data 242, and obtain first axial coordinate 244 and second axial coordinate 246 (s208).Wherein, shown in Fig. 2 B, this first axial coordinate 244 and second axial coordinate 246 are the coordinate on the same axle, and contact image sensor framework 102 is to come and go scanning along first axial coordinate 244 and second axial coordinate 246.
In preferred embodiment of the present invention, when design scanning means 100, the location that each charge coupled device chip 106 in the contact image sensor framework 102 is finished coordinate, that is, the starting point coordinate and the terminal point coordinate of each charge coupled device chip 106 have been recorded in the scanning means 100, and the terminal point coordinate of previous charge coupled device chip 106 then is the starting point coordinate in gap 108, and the starting point coordinate of a back charge coupled device chip 106 then is the terminal point coordinate in gap 108.
In the present embodiment, behind first axial coordinate 244 that obtains digital image data 242 and second axial coordinate 246, then judge contact image sensor framework 102 when scanning, arbitrary whether the falling within first axial coordinate 244 and second axial coordinate 246 according between the starting point coordinate and terminal point coordinate in gap stored in the scanning means 100 108 (s210).
When judgement is learnt between the starting point coordinate in gap 108 stored during first axial coordinate 244 and second axial coordinate 246 all do not fall within according to scanning means 100 and terminal point coordinate, then represent this digital image data 242 abnormal pixel (s212) that is caused in gap 108 can't occur.
Otherwise, when judgement is learnt between the starting point coordinate in gap 108 stored during arbitrary in first axial coordinate 244 and second axial coordinate 246 falls within according to scanning means 100 and terminal point coordinate, then represent this digital image data 242 to include the abnormal pixel (s214) that is caused in gap 108.
Continue please refer to Fig. 2 A, after step s214,100 of scanning means read two pixels (s216) adjacent with abnormal pixel, and these two pixels are done an average calculating operation (s218).Wherein, this average calculating operation be with after the numerical value addition in these two pixels divided by 2.
And these two pixels are done will obtain a mean pixel (s220) after the average calculating operation.Then, replace unusual pixel, and then repair digital image data (s222) with this mean pixel.
Then, 100 of scanning means are temporary in patched digital image data in the output buffer of scanning means 100, and wait user's instruction.When receiving the instruction of printing, scanning means 100 is about to patched digital image data and exports print apparatus to, is printed by print apparatus.
When receiving the instruction that exports computer to, scanning means 100 promptly exports patched digital image data to computer (s228) by output interface, shows this patched digital image data by computer then.
In preferred embodiment of the present invention, output interface can for example be universal sequential bus interface (Universal Serial Bus is called for short USB), but not as limit.
In preferred embodiment of the present invention, those skilled in the art can know easily, and scanning means 100 can be single scanner or the multi-functional things machine with scanning means 100.
Comprehensive the above, repair method for scanning image of the present invention can be eliminated image data and unusual straight line occur in the gap of adjacent contact image sensor.
The above is to utilize a preferred embodiment and different embodiment describing the present invention in detail, and it is not in order to limiting practical range of the present invention, and those skilled in the art can understand that all suitable modification slightly still without departing from the spirit or scope of the invention.

Claims (10)

1. a repair method for scanning image is applicable to the one scan device, and this scanning means comprises a plurality of contact image sensors, and this repair method for scanning image comprises:
Receive a digital image data;
Judge whether this digital image data comprises an abnormal pixel;
When judgement learns that this digital image data comprises this abnormal pixel, then read two pixels adjacent with this abnormal pixel;
Two pixels that this abnormal pixel is adjacent are done an average calculating operation, and obtain a mean pixel; And
Replace this abnormal pixel with this mean pixel, to repair this digital image data.
2. repair method for scanning image as claimed in claim 1, also be included in replace this abnormal pixel with this mean pixel after, this digital image data is later repaired in output.
3. repair method for scanning image as claimed in claim 2 wherein is to export main frame to repairing this digital image data later.
4. repair method for scanning image as claimed in claim 3 wherein is to export printer unit to repairing this digital image data later.
5. repair method for scanning image as claimed in claim 1, judge that wherein this digital image data comprises that this abnormal pixel whether step comprises:
Calculate pairing one first axial coordinate of scope of this selected digital image data;
Judge that a gap that this first axial coordinate falls within any two adjacent contact image sensors whether;
When judgement learnt that this first axial coordinate falls within this gap of any two adjacent contact image sensors, then this digital image data was for comprising this abnormal pixel; And
When judgement learnt that this first axial coordinate does not fall within this gap of any two adjacent contact image sensors, then this digital image data did not comprise this abnormal pixel.
6. repair method for scanning image as claimed in claim 1, judge that wherein this digital image data comprises that this abnormal pixel whether step also comprises:
Calculate pairing one second axial coordinate of scope of this selected digital image data;
Judge that a gap that this second axial coordinate falls within any two adjacent contact image sensors whether;
When judgement learnt that the secondth axial coordinate falls within this gap of any two adjacent contact image sensors, then this digital image data was for comprising this abnormal pixel; And
When judgement learnt that this second axial coordinate does not fall within this gap of any two adjacent contact image sensors, then this digital image data did not comprise this abnormal pixel.
7. repair method for scanning image as claimed in claim 1 also comprises this digital image data is made gray scale operation.
8. a repair method for scanning image is applicable to the one scan device, and this scanning means comprises a plurality of contact image sensors, and this repair method for scanning image comprises:
Scan a file with described contact image sensor, and obtain analog image data;
These analog image data are converted to a digital image data;
Judge whether this digital image data comprises an abnormal pixel;
When judgement learns that this digital image data comprises this abnormal pixel, then read two adjacent pixels of this abnormal pixel;
Two pixels that this abnormal pixel is adjacent are done an average calculating operation, and obtain a mean pixel; And
Replace this abnormal pixel with this mean pixel, to repair this digital image data.
9. repair method for scanning image as claimed in claim 8, also be included in replace this abnormal pixel with this mean pixel after, this digital image data is later repaired in output.
10. repair method for scanning image as claimed in claim 9 wherein is to export main frame to repairing this digital image data later.
CNA200610108785XA 2006-08-16 2006-08-16 Repair method for scanning image Pending CN101127821A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA200610108785XA CN101127821A (en) 2006-08-16 2006-08-16 Repair method for scanning image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA200610108785XA CN101127821A (en) 2006-08-16 2006-08-16 Repair method for scanning image

Publications (1)

Publication Number Publication Date
CN101127821A true CN101127821A (en) 2008-02-20

Family

ID=39095735

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA200610108785XA Pending CN101127821A (en) 2006-08-16 2006-08-16 Repair method for scanning image

Country Status (1)

Country Link
CN (1) CN101127821A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107592432A (en) * 2016-07-06 2018-01-16 虹光精密工业股份有限公司 Image processing apparatus having image moving and filling functions, copying device, and copying method
CN113367724A (en) * 2021-05-12 2021-09-10 聚融医疗科技(杭州)有限公司 Alignment scanning method and debugging method of ultrasonic system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107592432A (en) * 2016-07-06 2018-01-16 虹光精密工业股份有限公司 Image processing apparatus having image moving and filling functions, copying device, and copying method
CN107592432B (en) * 2016-07-06 2019-12-31 虹光精密工业股份有限公司 Image processing apparatus having image moving and filling functions, copying device, and copying method
CN113367724A (en) * 2021-05-12 2021-09-10 聚融医疗科技(杭州)有限公司 Alignment scanning method and debugging method of ultrasonic system

Similar Documents

Publication Publication Date Title
JP5712996B2 (en) Image forming apparatus, reading apparatus, and reading control method
CN102377906B (en) Image reading apparatus and method of controlling the apparatus
US20070064267A1 (en) Image processing apparatus
US7483176B2 (en) Image processing apparatus and method
US8638477B2 (en) Image processing apparatus, control method of image processing apparatus and program
JP4857079B2 (en) Image reading apparatus and image forming apparatus
JP2005020689A (en) Interface device and method in image processing system
CN101127821A (en) Repair method for scanning image
US8253998B2 (en) Image forming apparatus and image forming method
JPH07117284A (en) Image processor and method thereof
CN101527764A (en) Print setting system and print setting method
JP2019004198A (en) Electronic device and program
US7136204B2 (en) Full-zone optical image addressing apparatus
US9485381B1 (en) Scanner interface and protocol
TWI231709B (en) Input apparatus of image
US8849067B2 (en) Image processing apparatus, computer-readable storage medium, and image processing method for improving image data transfer
CN101621598A (en) Image forming apparatus and memory control method
JP4065550B2 (en) Image input / output control device, image processing device, image processing method in image input / output control device, and image processing method in image processing device
JPH06343121A (en) Image processing method of facsimile device and image communications device
JP4995751B2 (en) Image processing apparatus, control method therefor, and ASIC apparatus
JP2010288014A (en) Image transfer device, image reader, and image forming device
JP3703431B2 (en) Data communication apparatus, image processing apparatus, data communication method, and data communication method in image processing apparatus
JP3489450B2 (en) Image data processing circuit
US8379988B1 (en) Image processing using stability criteria for pixel windows
US20040008354A1 (en) Image processing device and image processing 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
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication