Nothing Special   »   [go: up one dir, main page]

CN103942761B - Method for correcting image and device - Google Patents

Method for correcting image and device Download PDF

Info

Publication number
CN103942761B
CN103942761B CN201410164688.7A CN201410164688A CN103942761B CN 103942761 B CN103942761 B CN 103942761B CN 201410164688 A CN201410164688 A CN 201410164688A CN 103942761 B CN103942761 B CN 103942761B
Authority
CN
China
Prior art keywords
image
pixel
correction
current temperatures
light source
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
CN201410164688.7A
Other languages
Chinese (zh)
Other versions
CN103942761A (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.)
Weihai Hualing Opto Electronics Co Ltd
Original Assignee
Weihai Hualing Opto Electronics Co Ltd
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 Weihai Hualing Opto Electronics Co Ltd filed Critical Weihai Hualing Opto Electronics Co Ltd
Priority to CN201410164688.7A priority Critical patent/CN103942761B/en
Publication of CN103942761A publication Critical patent/CN103942761A/en
Application granted granted Critical
Publication of CN103942761B publication Critical patent/CN103942761B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Image Processing (AREA)

Abstract

The invention discloses a kind of method for correcting image and device.Wherein, this method includes:When irradiating object using light source, the first object image of object is obtained;Correction parameter corresponding with Current Temperatures is obtained according to the multiple correction parameters obtained in advance, multiple correction parameters are corresponded with multiple sample temperatures;First object image is corrected using correction parameter corresponding with Current Temperatures.The present invention solves target image acquired in the existing scanning device picture quality still poor technical problem after correction process.

Description

Method for correcting image and device
Technical field
The present invention relates to image sensing area, in particular to a kind of method for correcting image and device.
Background technology
Existing scanning device would generally use to acquired in its image sensing device target image carry out invisible subsidy just and The positive correcting mode of visible subsidy, to realize the optimization to the image.Specifically, in invisible subsidy is just just operated with visible subsidy, it will usually Using the display parameters such as gray value of invisible subsidy positive coefficient and visible subsidy positive coefficient successively to the pixel in target image to be corrected Etc. being adjusted, to reach exclusive PCR factor as much as possible and optimize the purpose of picture quality.In currently existing scheme, pin It is typically in normal scan task to such as invisible subsidy positive coefficient set by a pixel or visible subsidy positive coefficient correction parameter Measured in advance before beginning, yet with the image sensing device in scanning device such as light-sensitive element or sensor chip etc. its Working characteristics or the actual image obtained are easily influenceed by environmental factors such as temperature, and measured by existing scanning device Correction parameter is not generally related to the ambient parameter such as temperature, and this results in existing scanning device and target image can not be fitted Should in the correction of temperature change, in turn result in correction after target image quality it is still poor the problem of.Asked for above-mentioned Topic, not yet proposes effective solution at present.
The content of the invention
The embodiments of the invention provide a kind of method for correcting image and device, obtained with least solving existing scanning device The target image taken picture quality still poor technical problem after correction process.
One side according to embodiments of the present invention there is provided a kind of method for correcting image, including:Irradiated using light source During object, the first object image of above-mentioned object is obtained;Obtained and current temperature according to the multiple correction parameters obtained in advance Corresponding correction parameter is spent, above-mentioned multiple correction parameters are corresponded with multiple sample temperatures;Use above-mentioned and Current Temperatures pair The correction parameter answered is corrected to above-mentioned first object image.
Preferably, the multiple correction parameters obtained in advance in above-mentioned basis obtain correction parameter corresponding with Current Temperatures it Before, the above method also includes:When irradiating primary standard substance using above-mentioned light source under each in above-mentioned multiple sample temperatures, obtain The first benchmark image corresponding with each above-mentioned sample temperature;And/or, put out under each in above-mentioned multiple sample temperatures Go out above-mentioned light source when, obtain corresponding with each above-mentioned sample temperature the second benchmark image;According to above-mentioned first benchmark image And/or above-mentioned second benchmark image generates above-mentioned multiple correction parameters.
Preferably, the multiple correction parameters obtained in advance in above-mentioned basis obtain correction parameter corresponding with Current Temperatures it Before, the above method also includes:When irradiating above-mentioned object using above-mentioned light source, environment temperature and/or imaging sensor are obtained The temperature of part is as above-mentioned Current Temperatures, and above-mentioned image sensing device is used to obtain above-mentioned first object image.
Preferably, it is above-mentioned that above-mentioned first object image is corrected using above-mentioned correction parameter corresponding with Current Temperatures Including:Visible subsidy is being carried out just to above-mentioned first object image using visible subsidy positive coefficient corresponding with above-mentioned Current Temperatures, wherein, it is above-mentioned Correction parameter includes above-mentioned visible subsidy positive coefficient.
Preferably, above-mentioned first object image is carried out in above-mentioned use visible subsidy positive coefficient corresponding with above-mentioned Current Temperatures Visible subsidy just before, the above method also includes:When extinguishing above-mentioned light source, the second target image of above-mentioned object is obtained;It is above-mentioned Carrying out visible subsidy to above-mentioned first object image using visible subsidy positive coefficient corresponding with above-mentioned Current Temperatures is just including:Obtain the first picture Difference between the display parameters of the display parameters of vegetarian refreshments and the second pixel, above-mentioned first pixel represents above-mentioned first object Pixel in image, above-mentioned second pixel represents the picture corresponding with above-mentioned first pixel in above-mentioned second target image Vegetarian refreshments;The display parameters of the 3rd pixel are generated according between above-mentioned difference and above-mentioned visible subsidy positive coefficient and value and/or product, Above-mentioned 3rd pixel represents the pixel corresponding with above-mentioned first pixel in the first object image after correction.
Another aspect according to embodiments of the present invention, additionally provides a kind of image correction apparatus, including:First obtains single Member, for when irradiating object using light source, obtaining the first object image of above-mentioned object;Second acquisition unit, is used for Obtain correction parameter corresponding with Current Temperatures according to multiple correction parameters for obtaining in advance, above-mentioned multiple correction parameters with it is multiple Sample temperature is corresponded;Unit is corrected, for using above-mentioned correction parameter corresponding with Current Temperatures to above-mentioned first object Image is corrected.
Preferably, said apparatus also includes:3rd acquiring unit, under each in above-mentioned multiple sample temperatures When irradiating primary standard substance using above-mentioned light source, the first benchmark image corresponding with each above-mentioned sample temperature is obtained;And/or, the Four acquiring units, for each in above-mentioned multiple sample temperatures is lower extinguish above-mentioned light source when, obtain with it is above-mentioned each Corresponding second benchmark image of sample temperature;Generation unit, for according to above-mentioned first benchmark image and/or above-mentioned second benchmark Image generates above-mentioned multiple correction parameters.
Preferably, said apparatus also includes:5th acquiring unit, for irradiating above-mentioned object using above-mentioned light source When, the temperature of environment temperature and/or image sensing device is obtained as above-mentioned Current Temperatures, and above-mentioned image sensing device is used to obtain Take above-mentioned first object image.
Preferably, above-mentioned correction unit includes:Compensation module, for being just using visible subsidy corresponding with above-mentioned Current Temperatures It is several that visible subsidy is being carried out just to above-mentioned first object image, wherein, above-mentioned correction parameter includes above-mentioned visible subsidy positive coefficient.
Preferably, said apparatus also includes:6th acquiring unit, for when extinguishing above-mentioned light source, obtaining above-mentioned target Second target image of thing;Above-mentioned compensation module includes:Acquisition submodule, the display parameters and for obtaining the first pixel Difference between the display parameters of two pixels, above-mentioned first pixel represents the pixel in above-mentioned first object image, on State the second pixel and represent pixel corresponding with above-mentioned first pixel in above-mentioned second target image;Generate submodule, Display parameters for generating the 3rd pixel according between above-mentioned difference and above-mentioned visible subsidy positive coefficient and value and/or product, Above-mentioned 3rd pixel represents the pixel corresponding with above-mentioned first pixel in the first object image after correction.
In embodiments of the present invention, the mode that multiple correction parameters related to temperature are set is employed, specifically, can be with Correction parameter corresponding with Current Temperatures is obtained according to the plurality of correction parameter, and joined using that corresponding with Current Temperatures should correct Several that target image is corrected, this, which allows for correct operation, to be carried out according to the correction parameter corresponding with temperature, from And it is the interference that image sensing device is brought to overcome temperature to a certain extent, and better quality is obtained by correct operation , the target image that reduction degree is higher, and then solve the target image acquired in existing scanning device after correction process Picture quality still poor technical problem
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this hair Bright schematic description and description is used to explain the present invention, does not constitute inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is a kind of schematic diagram of optional method for correcting image according to embodiments of the present invention;
Fig. 2 is a kind of schematic diagram of optional image sensing apparatus according to embodiments of the present invention;
Fig. 3 is a kind of schematic diagram of optional correction parameter-temperature curve according to embodiments of the present invention;
Fig. 4 is the schematic diagram of another optional image sensing apparatus according to embodiments of the present invention.
Embodiment
Describe the present invention in detail below with reference to accompanying drawing and in conjunction with the embodiments.It should be noted that not conflicting In the case of, the feature in embodiment and embodiment in the application can be mutually combined.
Embodiment 1
According to embodiments of the present invention there is provided a kind of method for correcting image, as shown in figure 1, this method includes:
S102:When irradiating object using light source, the first object image of object is obtained;
S104:Correction parameter corresponding with Current Temperatures, the plurality of school are obtained according to the multiple correction parameters obtained in advance Positive parameter is corresponded with multiple sample temperatures;
S106:First object image is corrected using correction parameter corresponding with Current Temperatures.
It will be clear that one of problem to be solved of the embodiment of the present invention is to provide a kind of method, to realize to mesh The correction of logo image, or perhaps to the optimization processing of target image, wherein, for by closely or contact-type image sensor For the target image of acquisition, the acquisition of the target image is typically using irradiation object and then the illuminated mesh of collection The mode of the image of thing is marked, thus in embodiments of the present invention, can be when irradiating object using light source by step S102 The image for obtaining object is used as target image, it is possible to is further advanced by step S106 and is corrected place to the target image Reason.
To reach this purpose, in existing scanning device, it will usually carrying out invisible subsidy just using to above-mentioned target image The positive correcting mode with visible subsidy, to realize the optimization to the image.Specifically, in invisible subsidy is just just operated with visible subsidy, generally The display parameters such as gray scale of invisible subsidy positive coefficient and visible subsidy positive coefficient successively to the pixel in target image to be corrected can be used Value etc. is adjusted, to reach exclusive PCR factor as much as possible and optimize the purpose of picture quality.In currently existing scheme, It is typically to appoint in normal scanning for such as invisible subsidy positive coefficient set by a pixel or visible subsidy positive coefficient correction parameter What business was measured in advance before starting, yet with the image sensing device in scanning device such as light-sensitive element or sensor chip etc. Its working characteristics or the actual image obtained are easily influenceed by environmental factors such as temperature, and measured by existing scanning device Correction parameter it is generally not related to the ambient parameter such as temperature, this results in existing scanning device and target image can not be carried out Be adapted to the correction of temperature change, in turn result in correction after target image quality it is still poor the problem of.
To solve this problem, in embodiments of the present invention, employ and multiple correction parameters related to temperature are set Mode, specifically, can obtain corresponding with Current Temperatures correction parameter according to the plurality of correction parameter, and using this with it is current The corresponding correction parameter of temperature is corrected to target image, and this allows for correct operation can be according to the school corresponding with temperature Positive parameter is carried out, so as to overcome temperature to a certain extent be the interference that image sensing device is brought, and is passed through and corrected behaviour Better quality, the target image that reduction degree is higher are obtained, and then solves the target figure acquired in existing scanning device As the problem of picture quality is still poor after correction process.Below for ease of statement, the target image is designated as first object Image.
Technical solution of the present invention and its operation principle are described in detail below with reference to accompanying drawing and specific embodiment.
The method for correcting image provided according to embodiments of the present invention, in step s 102, can irradiate mesh using light source The first object image of object is obtained when marking thing.Specifically, in embodiments of the present invention, the light source can be visible ray light Source, such as red-light source, green-light source, blue light source or white light source, however, in other embodiments of the present invention, should Light source can also be non-visible light sources such as ultraviolet source, infrared light supply etc., and the present invention is not limited in any way to this.Except this it Outside, in embodiments of the present invention, the light source both can be spot light or area source, and its light sent both can be Divergence expression or have directive property, its radiation modality is also not limited merely to head-on irradiate, such as, it would however also be possible to employ The mode such as backlight illumination or transmission, the present invention is not limited in any way to this.It should be appreciated that similar based on the technology of the present invention side The numerous embodiments of case and its equivalent or modification, are regarded as within protection scope of the present invention.
More specifically, in embodiments of the present invention, above-mentioned steps S102 can pass through image sensing apparatus as shown in Figure 2 Scanning device is realized in other words.In fig. 2, scheme as the light source 204 and 206 of luminous component, optical module 210 and conduct It is acquisition target, such as literary as the photoelectric conversion chip 212 and circuit base plate 214 of senser element can be assembled in framework 202 Literal manuscript paper directed downwardly can be placed in the top of transparent panel 208, and the image collected can be then transferred to by terminals 216 External processor.That is, in embodiments of the present invention, the image sensing apparatus corresponding with above-mentioned method for correcting image can be with Including framework, and the framework can be collectively forming closing space with transparent panel, wherein, light source can be located at image sensing device In the closing space, in addition, in other embodiments of the present invention, the processing being corrected for the target image to acquisition Device can also be located in the closing space.
As shown in Fig. 2 multiple light sources can be set in the image sensing apparatus, for example, light source 204 can be white light light Source, light source 206 can be ultraviolet source, wherein, can be using present invention implementation for any one in multiple light sources The method for correcting image that example is provided is corrected to each self-corresponding target image, for example, for white light source, for Any pixel point in window is sensed, a series of white light correction parameters related to temperature can be provided with, for ultraviolet light For source, for the pixel, then a series of ultraviolet correction parameters related to temperature can be provided with, and then in white light For the lower target image obtained of light source irradiation, white light correction parameters on target image corresponding with Current Temperatures can be used to enter Row correction, for the target image obtained under ultraviolet source irradiation, then can be used corresponding with Current Temperatures ultraviolet Correction parameter is corrected to target image.It should be appreciated that such embodiment has no effect on technical solution of the present invention Implementation and its realization of technique effect, similar embodiment are regarded as within protection scope of the present invention.
Certainly, it is above a kind of example, any unnecessary restriction can't be constituted to the present invention.For example, in this hair In some bright embodiments, above-mentioned method for correcting image can also be combined with the image sensing apparatus of other forms, to realize The purpose of more excellent calibration result is corrected and reached to the target image acquired in the image sensing apparatus, and the present invention is right This is not construed as limiting.
On this basis, the method for correcting image provided according to embodiments of the present invention, can be according to pre- in step S104 The multiple correction parameters first obtained obtain correction parameter corresponding with Current Temperatures, wherein, the plurality of correction parameter is adopted with multiple Sample temperature is corresponded.
Specifically, in embodiments of the present invention, correction parameter corresponding with Current Temperatures can have a variety of specific acquisitions Mode, for example, exemplified by the manner shown in fig. 3, in figure 3, multiple sample temperatures can be T1、T2、T3And T4, obtain in advance Multiple correction parameters corresponding with the plurality of sample temperature can be Δ1、Δ2、Δ3、Δ4, according to T1、T2、T3And T4And Δ1、 Δ2、Δ3、Δ4Correction parameter-temperature curve 302 can be fitted, its specific fit approach can both use as shown in Figure 3 Linear fit, it would however also be possible to employ various other fit approach such as second order or exponential fitting, this is not limited by the present invention.According to Correction parameter-the temperature curve 302 fitted, then can obtain correction parameter δ corresponding with Current Temperatures t, and then can lead to Step S106 is crossed, first object image is corrected using correction parameter δ.More specifically, the correction parameter can be bright Augmenting factor, invisible subsidy positive coefficient either other correction parameters etc., this is not limited by the present invention.
Certainly, this is a kind of example, is not meant to constitute the present invention restriction.For example, in some of the invention In embodiment, school corresponding with Current Temperatures can not also be obtained by the way of fitting draws correction parameter-temperature curve Positive parameter, such as, can also using in the correction parameter corresponding to the immediate sample temperature of Current Temperatures as with Current Temperatures Corresponding correction parameter, on the premise of sample temperature more than certain amount is provided with, can equally be reached by this mode To the effect for more significantly improving the picture quality after correction.
On the basis of above description, alternatively, in embodiments of the present invention, above-mentioned steps S106 can include:
S2:Visible subsidy is being carried out just to first object image using visible subsidy positive coefficient corresponding with Current Temperatures, wherein, correction ginseng Number includes visible subsidy positive coefficient.
Still optionally further, in embodiments of the present invention, before step S2, the above method can also include:
S4:When extinguishing light source, the second target image of object is obtained;
Wherein, step S2 can specifically include:
S6:Obtain the difference between the display parameters of the first pixel and the display parameters of the second pixel, the first pixel Point represents the pixel in first object image, and the second pixel represents corresponding with the first pixel in the second target image Pixel;The display parameters of the 3rd pixel, the 3rd picture are generated according between difference and visible subsidy positive coefficient and value and/or product Vegetarian refreshments represents the pixel corresponding with the first pixel in the first object image after correction.
Specifically, in embodiments of the present invention, invisible subsidy can just utilize first object image to be corrected and invisible subsidy just Difference between image is completed, and the invisible subsidy positive image represents sensor object acquired in the state of light source extinguishing Image, in order to eliminate come from equipment in itself or external environment condition disturbing factor influence.Visible subsidy can just be utilized and obtained in advance The visible subsidy positive coefficient taken carries out proportion adjustment to the display parameters of the pixel of the first object image after invisible subsidy just, wherein, it is bright Augmenting factor may be usually based on the positive benchmark image of visible subsidy and obtain, and the positive benchmark graphical representation sensor of the visible subsidy shines in ultraviolet source The image of primary standard substance acquired during primary standard substance is penetrated, in order to which abatement apparatus is from the defect in imaging, makes the figure after correction As more true.Further, in embodiments of the present invention, it can be obtained by invisible subsidy positive image for carrying out at above-mentioned difference The invisible subsidy positive coefficient of reason, and the visible subsidy positive coefficient for carrying out aforementioned proportion regulation processing is obtained by the positive benchmark image of visible subsidy, In order to calling for correction process.
Alternatively, in embodiments of the present invention, before step S104, above-mentioned bearing calibration can also include correspondence:
S8:When irradiating primary standard substance using light source under each in multiple sample temperatures, obtain and each temperature of sampling Spend corresponding first benchmark image;And/or, when extinguishing light source under each in multiple sample temperatures, obtain and each Corresponding second benchmark image of sample temperature;
S10:Multiple correction parameters are generated according to the first benchmark image and/or the second benchmark image.
Wherein, the first benchmark image may act as the positive benchmark image of above-mentioned visible subsidy, and the second benchmark image may act as Above-mentioned invisible subsidy positive image.
Optionally in addition, in embodiments of the present invention, before step S104, above-mentioned bearing calibration can also be wrapped Include:
S12:When irradiating object using light source, the temperature of environment temperature and/or image sensing device is obtained as working as Preceding temperature, image sensing device is used to obtain first object image.
Below with reference to table 1 and one more specifically embodiment present invention is described.Wherein, table 1 can be represented The visible subsidy positive coefficient related to temperature stored as the scanning device of image sensing apparatus.
In table 1, T1、T2……TnMultiple sample temperatures can be represented, specifically, with sample temperature T1Corresponding visible subsidy Positive coefficient can include:ΔR1-1、ΔG1-1、ΔB1-1、ΔR1-2、ΔG1-2、ΔB1-2、……、ΔR1-1728、ΔG1-1728And Δ B1-1728, wherein, Δ R1-1、ΔG1-1With Δ B1-1Numbering by 1 pixel difference in image sensing window can be represented Corresponding feux rouges visible subsidy positive coefficient, green glow visible subsidy positive coefficient and blue light visible subsidy positive coefficient, Δ R1-2、ΔG1-2With Δ B1-2Can be with table Show pixel difference corresponding feux rouges visible subsidy positive coefficient, green glow visible subsidy positive coefficient of the numbering in image sensing window by 2 With blue light visible subsidy positive coefficient, by that analogy, then Δ R1-1728、ΔG1-1728With Δ B1-1728It can represent in image sensing window Numbering corresponding feux rouges visible subsidy positive coefficient, green glow visible subsidy positive coefficient and blue light visible subsidy positive coefficient are distinguished by n pixel.
Under above-mentioned scene, numbering 1 to 1728 can represent the sensing window region that imaging sensor is recognized in other words Inside include 1728 pixels, these pixels both can be in single-row arrangement, and then pass through the sensing of the mobile imaging sensor Device can also be formed directly as multiple rows of to realize the scanning to a rectangular area, and this is not limited by the present invention.Feux rouges is bright Augmenting factor can represent the gray scale of corresponding pixel in the benchmark image according to the white reference specimen page under red-light source irradiation The augmenting factor that value is generated, if the gray value is less than normal, just can be for one larger feux rouges visible subsidy of pixel setting Number, if gray value is bigger than normal, can set less feux rouges visible subsidy positive coefficient, similarly, can also be set for any pixel point Green glow visible subsidy positive coefficient and blue light visible subsidy positive coefficient.
Table 1
On this basis, then it can judge that Current Temperatures are T1When, use and use respectively and T in correction process1It is right Feux rouges visible subsidy positive coefficient, green glow visible subsidy positive coefficient and the blue light visible subsidy positive coefficient answered in target image corresponding pixel it is red Light shows that component, green glow show that component and blue light show that component is corrected, specifically, can be to the picture of this in target image The rgb value of vegetarian refreshments carries out proportion adjustment, but this is not limited by the present invention.For example, in embodiments of the present invention, if detecting Current Temperatures are T1, and need carrying out visible subsidy just to the pixel that the numbering in target image to be corrected is 999, then can be by Red light component and Δ R before the correction of the pixel1-999Product as the red light component after correction, if detecting Current Temperatures For T2, and need carrying out visible subsidy just to the pixel that the numbering in target image to be corrected is 999, then can be by the pixel Correction before red light component and Δ R2-999Product be used as the red light component after correction.
Similarly, the list of the invisible subsidy positive coefficient related to temperature can also be safeguarded, the present invention does not make tired state herein.
By above example, technical solution of the present invention and its operation principle are set forth, it should be understood that It is that above-described embodiment is only used for the understanding of the present invention and implementation, it is limitation of the invention that should not be considered as.
Embodiment 2
According to embodiments of the present invention, a kind of image correction apparatus for being used to implement above-mentioned method for correcting image is additionally provided, As shown in figure 4, the device includes:
1) first acquisition unit 402, for when irradiating object using light source, obtaining the first object figure of object Picture;
2) second acquisition unit 404, for obtaining corresponding with Current Temperatures according to the multiple correction parameters obtained in advance Correction parameter, the plurality of correction parameter is corresponded with multiple sample temperatures;
3) unit 406 is corrected, for being corrected using correction parameter corresponding with Current Temperatures to first object image.
It will be clear that one of problem to be solved of the embodiment of the present invention is to provide a kind of device, to realize to mesh The correction of logo image, or perhaps to the optimization processing of target image, wherein, for by closely or contact-type image sensor For the target image of acquisition, the acquisition of the target image is typically using irradiation object and then the illuminated mesh of collection The mode of the image of thing is marked, thus in embodiments of the present invention, by first acquisition unit 402, can be irradiated using light source The image that object is obtained during object is used as target image, it is possible to be further advanced by correction 406 pairs of the unit target figure As being corrected processing.
To reach this purpose, in existing scanning device, it will usually carrying out invisible subsidy just using to above-mentioned target image The positive correcting mode with visible subsidy, to realize the optimization to the image.Specifically, in invisible subsidy is just just operated with visible subsidy, generally The display parameters such as gray scale of invisible subsidy positive coefficient and visible subsidy positive coefficient successively to the pixel in target image to be corrected can be used Value etc. is adjusted, to reach exclusive PCR factor as much as possible and optimize the purpose of picture quality.In currently existing scheme, It is typically to appoint in normal scanning for such as invisible subsidy positive coefficient set by a pixel or visible subsidy positive coefficient correction parameter What business was measured in advance before starting, yet with the image sensing device in scanning device such as light-sensitive element or sensor chip etc. Its working characteristics or the actual image obtained are easily influenceed by environmental factors such as temperature, and measured by existing scanning device Correction parameter it is generally not related to the ambient parameter such as temperature, this results in existing scanning device and target image can not be carried out Be adapted to the correction of temperature change, in turn result in correction after target image quality it is still poor the problem of.
To solve this problem, in embodiments of the present invention, employ and multiple correction parameters related to temperature are set Mode, specifically, can obtain corresponding with Current Temperatures correction parameter according to the plurality of correction parameter, and using this with it is current The corresponding correction parameter of temperature is corrected to target image, and this allows for correct operation can be according to the school corresponding with temperature Positive parameter is carried out, so as to overcome temperature to a certain extent be the interference that image sensing device is brought, and is passed through and corrected behaviour Better quality, the target image that reduction degree is higher are obtained, and then solves the target figure acquired in existing scanning device As the problem of picture quality is still poor after correction process.Below for ease of statement, the target image is designated as first object Image.
Technical solution of the present invention and its operation principle are described in detail below with reference to accompanying drawing and specific embodiment.
The image correction apparatus provided according to embodiments of the present invention, by first acquisition unit 402, can use light source The first object image of object is obtained when irradiating object.Specifically, in embodiments of the present invention, the light source can be visible Radiant, such as red-light source, green-light source, blue light source or white light source, however, in other embodiments of the present invention In, the light source can also be non-visible light sources such as ultraviolet source, infrared light supply etc., and the present invention is not limited in any way to this.Remove Outside this, in embodiments of the present invention, the light source both can be spot light or area source, and its light sent both may be used To be divergence expression or have directive property, its radiation modality is also not limited merely to head-on irradiate, such as, can also Using modes such as backlight illumination or transmissions, the present invention is not limited in any way to this.It should be appreciated that similar based on skill of the present invention The numerous embodiments of art scheme and its equivalent or modification, are regarded as within protection scope of the present invention.
More specifically, in embodiments of the present invention, above-mentioned first acquisition unit 402 specifically can be by as shown in Figure 2 Image sensing apparatus in other words realize by scanning device.In fig. 2, scheme as the light source 204,206 and conduct of luminous component As the photoelectric conversion chip 212 and circuit base plate 214 of senser element can be assembled in framework 202, acquisition target, such as word Face-down manuscript paper can be placed in the top of transparent panel 208, and the image collected can be then transferred to outside by terminals 216 The processor put.That is, in embodiments of the present invention, the image sensing apparatus corresponding with above-mentioned image correction apparatus can be wrapped Framework is included, and the framework can be collectively forming closing space with transparent panel, wherein, light source can be located at image sensing device should In closing space, in addition, in other embodiments of the present invention, the processor being corrected for the target image to acquisition It can also be located in the closing space.
As shown in Fig. 2 multiple light sources can be set in the image sensing apparatus, for example, light source 204 can be white light light Source, light source 206 can be ultraviolet source, wherein, can be using present invention implementation for any one in multiple light sources The image correction apparatus that example is provided is corrected to each self-corresponding target image, for example, for white light source, for Any pixel point in window is sensed, a series of white light correction parameters related to temperature can be provided with, for ultraviolet light For source, for the pixel, then a series of ultraviolet correction parameters related to temperature can be provided with, and then in white light For the lower target image obtained of light source irradiation, white light correction parameters on target image corresponding with Current Temperatures can be used to enter Row correction, for the target image obtained under ultraviolet source irradiation, then can be used corresponding with Current Temperatures ultraviolet Correction parameter is corrected to target image.It should be appreciated that such embodiment has no effect on technical solution of the present invention Implementation and its realization of technique effect, similar embodiment are regarded as within protection scope of the present invention.
Certainly, it is above a kind of example, any unnecessary restriction can't be constituted to the present invention.For example, in this hair In some bright embodiments, above-mentioned image correction apparatus can also be combined with the image sensing apparatus of other forms, to realize The purpose of more excellent calibration result is corrected and reached to the target image acquired in the image sensing apparatus, and the present invention is right This is not construed as limiting.
On this basis, the image correction apparatus provided according to embodiments of the present invention, can by second acquisition unit 404 To obtain correction parameter corresponding with Current Temperatures according to the multiple correction parameters obtained in advance, wherein, the plurality of correction parameter Corresponded with multiple sample temperatures.
Specifically, in embodiments of the present invention, correction parameter corresponding with Current Temperatures can have a variety of specific acquisitions Mode, for example, exemplified by the manner shown in fig. 3, in figure 3, multiple sample temperatures can be T1、T2、T3And T4, obtain in advance Multiple correction parameters corresponding with the plurality of sample temperature can be Δ1、Δ2、Δ3、Δ4, according to T1、T2、T3And T4And Δ1、 Δ2、Δ3、Δ4Correction parameter-temperature curve 302 can be fitted, its specific fit approach can both use as shown in Figure 3 Linear fit, it would however also be possible to employ various other fit approach such as second order or exponential fitting, this is not limited by the present invention.According to Correction parameter-the temperature curve 302 fitted, then can obtain correction parameter δ corresponding with Current Temperatures t, and then can lead to Overcorrect unit 406, is corrected using correction parameter δ to first object image.More specifically, the correction parameter can be Visible subsidy positive coefficient, invisible subsidy positive coefficient either other correction parameters etc., this is not limited by the present invention.
Certainly, this is a kind of example, is not meant to constitute the present invention restriction.For example, in some of the invention In embodiment, school corresponding with Current Temperatures can not also be obtained by the way of fitting draws correction parameter-temperature curve Positive parameter, such as, can also using in the correction parameter corresponding to the immediate sample temperature of Current Temperatures as with Current Temperatures Corresponding correction parameter, on the premise of sample temperature more than certain amount is provided with, can equally be reached by this mode To the effect for more significantly improving the picture quality after correction.
On the basis of above description, alternatively, in embodiments of the present invention, above-mentioned correction unit 406 can include:
1) compensation module, for carrying out visible subsidy to first object image using visible subsidy positive coefficient corresponding with Current Temperatures Just, wherein, correction parameter include visible subsidy positive coefficient.
Still optionally further, in embodiments of the present invention, above-mentioned means for correcting can also include:
6th acquiring unit, for when extinguishing light source, obtaining the second target image of object;
Wherein, compensation module can specifically include:
1) acquisition submodule, for obtaining between the display parameters of the first pixel and the display parameters of the second pixel Difference, the first pixel represents the pixel in first object image, the second pixel represent in the second target image with The corresponding pixel of one pixel;Submodule is generated, for being given birth to according between difference and visible subsidy positive coefficient and value and/or product Into the display parameters of the 3rd pixel, the 3rd pixel represents corresponding with the first pixel in the first object image after correction Pixel.
Specifically, in embodiments of the present invention, invisible subsidy can just utilize first object image to be corrected and invisible subsidy just Difference between image is completed, and the invisible subsidy positive image represents sensor object acquired in the state of light source extinguishing Image, in order to eliminate come from equipment in itself or external environment condition disturbing factor influence.Visible subsidy can just be utilized and obtained in advance The visible subsidy positive coefficient taken carries out proportion adjustment to the display parameters of the pixel of the first object image after invisible subsidy just, wherein, it is bright Augmenting factor may be usually based on the positive benchmark image of visible subsidy and obtain, and the positive benchmark graphical representation sensor of the visible subsidy shines in ultraviolet source The image of primary standard substance acquired during primary standard substance is penetrated, in order to which abatement apparatus is from the defect in imaging, makes the figure after correction As more true.Further, in embodiments of the present invention, it can be obtained by invisible subsidy positive image for carrying out at above-mentioned difference The invisible subsidy positive coefficient of reason, and the visible subsidy positive coefficient for carrying out aforementioned proportion regulation processing is obtained by the positive benchmark image of visible subsidy, In order to calling for correction process.
Correspondence alternatively, in embodiments of the present invention, ground is coupled with second acquisition unit 404, above-mentioned means for correcting may be used also With including:
1) the 3rd acquiring unit, during the irradiation primary standard substance using light source lower for each in multiple sample temperatures, is obtained Take the first benchmark image corresponding with each sample temperature;And/or, the 4th acquiring unit, in multiple sample temperatures Each is lower when extinguishing light source, obtain the second benchmark image corresponding with each sample temperature;
2) generation unit, for generating multiple correction parameters according to the first benchmark image and/or the second benchmark image.
Wherein, the first benchmark image may act as the positive benchmark image of above-mentioned visible subsidy, and the second benchmark image may act as Above-mentioned invisible subsidy positive image.
Optionally in addition, in embodiments of the present invention, ground, above-mentioned means for correcting are coupled with second acquisition unit 404 It can also include:
1) the 5th acquiring unit, for when irradiating object using light source, obtaining environment temperature and/or imaging sensor The temperature of part is as Current Temperatures, and image sensing device is used to obtain first object image.
Below with reference to the table 1 shown in embodiment 1 and one more specifically embodiment present invention is described.Its In, the visible subsidy positive coefficient related to temperature that the scanning device that table 1 can be denoted as image sensing apparatus is stored.
In table 1, T1、T2……TnMultiple sample temperatures can be represented, specifically, with sample temperature T1Corresponding visible subsidy Positive coefficient can include:ΔR1-1、ΔG1-1、ΔB1-1、ΔR1-2、ΔG1-2、ΔB1-2、……、ΔR1-1728、ΔG1-1728And Δ B1-1728, wherein, Δ R1-1、ΔG1-1With Δ B1-1Numbering by 1 pixel difference in image sensing window can be represented Corresponding feux rouges visible subsidy positive coefficient, green glow visible subsidy positive coefficient and blue light visible subsidy positive coefficient, Δ R1-2、ΔG1-2With Δ B1-2Can be with table Show pixel difference corresponding feux rouges visible subsidy positive coefficient, green glow visible subsidy positive coefficient of the numbering in image sensing window by 2 With blue light visible subsidy positive coefficient, by that analogy, then Δ R1-1728、ΔG1-1728With Δ B1-1728It can represent in image sensing window Numbering corresponding feux rouges visible subsidy positive coefficient, green glow visible subsidy positive coefficient and blue light visible subsidy positive coefficient are distinguished by n pixel.
Under above-mentioned scene, numbering 1 to 1728 can represent the sensing window region that imaging sensor is recognized in other words Inside include 1728 pixels, these pixels both can be in single-row arrangement, and then pass through the sensing of the mobile imaging sensor Device can also be formed directly as multiple rows of to realize the scanning to a rectangular area, and this is not limited by the present invention.Feux rouges is bright Augmenting factor can represent the gray scale of corresponding pixel in the benchmark image according to the white reference specimen page under red-light source irradiation The augmenting factor that value is generated, if the gray value is less than normal, just can be for one larger feux rouges visible subsidy of pixel setting Number, if gray value is bigger than normal, can set less feux rouges visible subsidy positive coefficient, similarly, can also be set for any pixel point Green glow visible subsidy positive coefficient and blue light visible subsidy positive coefficient.
On this basis, then it can judge that Current Temperatures are T1When, use and use respectively and T in correction process1It is right Feux rouges visible subsidy positive coefficient, green glow visible subsidy positive coefficient and the blue light visible subsidy positive coefficient answered in target image corresponding pixel it is red Light shows that component, green glow show that component and blue light show that component is corrected, specifically, can be to the picture of this in target image The rgb value of vegetarian refreshments carries out proportion adjustment, but this is not limited by the present invention.For example, in embodiments of the present invention, if detecting Current Temperatures are T1, and need carrying out visible subsidy just to the pixel that the numbering in target image to be corrected is 999, then can be by Red light component and Δ R before the correction of the pixel1-999Product as the red light component after correction, if detecting Current Temperatures For T2, and need carrying out visible subsidy just to the pixel that the numbering in target image to be corrected is 999, then can be by the pixel Correction before red light component and Δ R2-999Product be used as the red light component after correction.
Similarly, the list of the invisible subsidy positive coefficient related to temperature can also be safeguarded, the present invention does not make tired state herein.
Further the present invention is explained the invention provides a kind of preferred embodiment, but it is noticeable It is that the preferred embodiment is intended merely to the preferably description present invention, does not constitute and the present invention is improperly limited.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should be included in the scope of the protection.

Claims (8)

1. a kind of method for correcting image, it is characterised in that including:
When irradiating object using light source, the first object image of the object is obtained;
Obtain correction parameter corresponding with Current Temperatures according to multiple correction parameters for obtaining in advance, the multiple correction parameter and Multiple sample temperatures are corresponded;
The first object image is corrected using the correction parameter corresponding with Current Temperatures,
Wherein, before multiple correction parameters that the basis is obtained in advance obtain correction parameter corresponding with Current Temperatures, institute Stating method also includes:When irradiating the object using the light source, environment temperature and the temperature of image sensing device are obtained As the Current Temperatures, or environment temperature is obtained as the Current Temperatures, wherein, image sensing device is used to obtain institute State first object image.
2. according to the method described in claim 1, it is characterised in that the multiple correction parameters obtained in advance in the basis are obtained Before correction parameter corresponding with Current Temperatures, methods described also includes:
Each in the multiple sample temperature is lower when irradiating primary standard substance using the light source, obtain with it is described each adopt Corresponding first benchmark image of sample temperature;And/or, when extinguishing described light source under each in the multiple sample temperature, Obtain the second benchmark image corresponding with each described sample temperature;
The multiple correction parameter is generated according to first benchmark image and/or second benchmark image.
3. method according to claim 1 or 2, it is characterised in that described to use the correction corresponding with Current Temperatures Parameter the first object image is corrected including:
Visible subsidy is being carried out just to the first object image using visible subsidy positive coefficient corresponding with the Current Temperatures, wherein, it is described Correction parameter includes the visible subsidy positive coefficient.
4. method according to claim 3, it is characterised in that
Before use visible subsidy positive coefficient corresponding with the Current Temperatures carries out visible subsidy to the first object image just, Methods described also includes:When extinguishing the light source, the second target image of the object is obtained;
Use visible subsidy positive coefficient corresponding with the Current Temperatures carries out visible subsidy to the first object image just to be included:Obtain The difference between the display parameters of the first pixel and the display parameters of the second pixel is taken, first pixel represents described Pixel in first object image, second pixel represent in second target image with first pixel Corresponding pixel;3rd pixel is generated according between the difference and the visible subsidy positive coefficient and value and/or product Display parameters, the 3rd pixel represents the pixel corresponding with first pixel in the first object image after correction Point.
5. a kind of image correction apparatus, it is characterised in that including:
First acquisition unit, for when irradiating object using light source, obtaining the first object image of the object;
Second acquisition unit, for obtaining correction parameter corresponding with Current Temperatures according to the multiple correction parameters obtained in advance, The multiple correction parameter is corresponded with multiple sample temperatures;
Unit is corrected, for being corrected using the correction parameter corresponding with Current Temperatures to the first object image;
5th acquiring unit, for when irradiating the object using the light source, obtaining environment temperature and imaging sensor The temperature of part is as the Current Temperatures, or obtains environment temperature as the Current Temperatures, wherein, image sensing device is used In the acquisition first object image.
6. device according to claim 5, it is characterised in that also include:
3rd acquiring unit, during the irradiation primary standard substance using the light source lower for each in the multiple sample temperature, Obtain the first benchmark image corresponding with each described sample temperature;And/or, the 4th acquiring unit, for the multiple When extinguishing described light source under each in sample temperature, the second reference map corresponding with each described sample temperature is obtained Picture;
Generation unit, for being joined according to first benchmark image and/or the multiple correction of second benchmark image generation Number.
7. the device according to claim 5 or 6, it is characterised in that the correction unit includes:
Compensation module, for carrying out visible subsidy to the first object image using visible subsidy positive coefficient corresponding with the Current Temperatures Just, wherein, the correction parameter include the visible subsidy positive coefficient.
8. device according to claim 7, it is characterised in that
Described device also includes:6th acquiring unit, for when extinguishing the light source, obtaining the second target of the object Image;
The compensation module includes:Acquisition submodule, for obtaining the display parameters of the first pixel and showing for the second pixel Show the difference between parameter, first pixel represents the pixel in the first object image, second pixel Represent the pixel corresponding with first pixel in second target image;Submodule is generated, for according to described Between difference and the visible subsidy positive coefficient and value and/or product generate the display parameters of the 3rd pixel, the 3rd pixel Point represents the pixel corresponding with first pixel in the first object image after correction.
CN201410164688.7A 2014-04-23 2014-04-23 Method for correcting image and device Active CN103942761B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410164688.7A CN103942761B (en) 2014-04-23 2014-04-23 Method for correcting image and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410164688.7A CN103942761B (en) 2014-04-23 2014-04-23 Method for correcting image and device

Publications (2)

Publication Number Publication Date
CN103942761A CN103942761A (en) 2014-07-23
CN103942761B true CN103942761B (en) 2017-08-01

Family

ID=51190413

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410164688.7A Active CN103942761B (en) 2014-04-23 2014-04-23 Method for correcting image and device

Country Status (1)

Country Link
CN (1) CN103942761B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106412380B (en) * 2016-09-20 2019-09-10 广州广电运通金融电子股份有限公司 A kind of image compensation method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1140949A (en) * 1995-05-31 1997-01-22 索尼公司 Hand shake correction apparatus according to temperature compensation frequency for camera
CN101030010A (en) * 2006-01-30 2007-09-05 索尼株式会社 Image blur correction apparatus, lens apparatus and image pickup apparatus
CN101261474A (en) * 2007-03-06 2008-09-10 夏普株式会社 Image forming apparatus
CN101339390A (en) * 2007-07-04 2009-01-07 夏普株式会社 Developing device, image forming apparatus including the same and developing method
CN103152510A (en) * 2013-01-29 2013-06-12 广州广电运通金融电子股份有限公司 Image processing device and image processing method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4683131B2 (en) * 2009-01-30 2011-05-11 ブラザー工業株式会社 Image processing apparatus, image processing program, and image processing method
JP5809420B2 (en) * 2011-02-22 2015-11-10 浜松ホトニクス株式会社 Spatial light modulation device and spatial light modulation method
CN103646387B (en) * 2013-12-16 2017-06-06 威海华菱光电股份有限公司 Image correcting method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1140949A (en) * 1995-05-31 1997-01-22 索尼公司 Hand shake correction apparatus according to temperature compensation frequency for camera
CN101030010A (en) * 2006-01-30 2007-09-05 索尼株式会社 Image blur correction apparatus, lens apparatus and image pickup apparatus
CN101261474A (en) * 2007-03-06 2008-09-10 夏普株式会社 Image forming apparatus
CN101339390A (en) * 2007-07-04 2009-01-07 夏普株式会社 Developing device, image forming apparatus including the same and developing method
CN103152510A (en) * 2013-01-29 2013-06-12 广州广电运通金融电子股份有限公司 Image processing device and image processing method

Also Published As

Publication number Publication date
CN103942761A (en) 2014-07-23

Similar Documents

Publication Publication Date Title
US10841503B2 (en) System and method for image acquisition using supervised high quality imaging
CN104113743B (en) Colour TV camera AWB processing method and processing device under low-light (level)
JP5471306B2 (en) Color unevenness inspection apparatus and color unevenness inspection method
CN102629379A (en) Image quality evaluation method based on visual characteristic
JP5499779B2 (en) Color unevenness inspection apparatus and color unevenness inspection method
Mead et al. Ubiquitous luminance sensing using the Raspberry Pi and Camera Module system
CN104349150B (en) Method and apparatus for tuning camera correction setting for camera module
CN107197122A (en) A kind of method for correcting flat field being imaged for area array cameras
CN104933706B (en) A kind of imaging system color information scaling method
JP2019041204A (en) Reference image data generation method, printed matter inspection method, and reference image data generation system
CN109891869A (en) Video signal processing apparatus, video signal processing method and video signal processing system
CN103942761B (en) Method for correcting image and device
CN107864369B (en) The compound display acquisition method of LED display
CN115081469A (en) Article category identification method, device and equipment based on X-ray security inspection equipment
de Lasarte et al. Optimized algorithm for the spatial nonuniformity correction of an imaging system based on a charge-coupled device color camera
TW201533445A (en) Analysis system, analysis assistance device composing same, mobile communication terminal, and program for controlling mobile communication terminal
TW201335890A (en) Recognition method and system for component images
PH12018501677A1 (en) Apparatus and method to detect upside down eggs
CN110766642B (en) Artifact removing method
CN106339708B (en) Multi-channel-based digital acquisition method for visual information on material surface
CN106409193A (en) Display screen blur detection system and method thereof
KR20070112949A (en) Device for tunning multi image sensor and method thereof
CN104902266B (en) Remote sensing camera electronics nonlinearity is tested and method of discrimination and device
Park et al. G-channel restoration for RWB CFA with double-exposed W channel
CN202869435U (en) Image-data acquisition apparatus for tobacco and processing product thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant