CN103942761A - Image correction method and device - Google Patents

Image correction method and device Download PDF

Info

Publication number
CN103942761A
CN103942761A CN201410164688.7A CN201410164688A CN103942761A CN 103942761 A CN103942761 A CN 103942761A CN 201410164688 A CN201410164688 A CN 201410164688A CN 103942761 A CN103942761 A CN 103942761A
Authority
CN
China
Prior art keywords
image
pixel
correction
light source
subsidy
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410164688.7A
Other languages
Chinese (zh)
Other versions
CN103942761B (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 an image correction method and device. The method comprises the steps of obtaining a first target image of a target object when a light source is used for illuminating the target object, obtaining correction parameters corresponding to the current temperature according to a plurality of correction parameters obtained in advance, wherein the correction parameters correspond to a plurality of sampling temperatures in a one-to-one mode, and using the correction parameters corresponding to the current temperature to correct the first target image. The method and the device solve the technical problem that the quality of the image is still poor after the target image obtained by existing scanning equipment is corrected.

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 can adopt the target image that its image sensing device is obtained to carry out just positive with the visible subsidy correcting mode of invisible subsidy conventionally, to realize the optimization to this image.Specifically; in invisible subsidy is just just operating with visible subsidy; conventionally can adopt invisible subsidy positive coefficient and visible subsidy positive coefficient successively the display parameter of the pixel in target image to be corrected to be adjusted as gray-scale value etc., to reach the object of getting rid of as much as possible disturbing factor optimized image quality.In existing scheme, for set normally the recording in advance before normal scan task starts as correction parameters such as invisible subsidy positive coefficient or visible subsidy positive coefficients of pixel, yet because the image sensing device in scanning device is easily subject to the impact of the environmental factors such as temperature as its operating characteristic such as light activated element or sensor chip or the actual image obtaining, and the measured correction parameter of existing scanning device is conventionally not relevant to environmental parameters such as temperature, this just causes existing scanning device cannot be adapted to target image the correction of temperature variation, and then the quality that causes the target image after correction poor problem still.For above-mentioned problem, effective solution is not yet proposed at present.
Summary of the invention
The embodiment of the present invention provides a kind of method for correcting image and device, with the target image that at least solves existing scanning device and obtained proofread and correct process after picture quality poor technical matters still.
According to the embodiment of the present invention aspect, a kind of method for correcting image is provided, comprising: when using light source to irradiate object, obtain the first object image of above-mentioned object; According to a plurality of correction parameters that obtain in advance, obtain the correction parameter corresponding with Current Temperatures, above-mentioned a plurality of correction parameters are corresponding one by one with a plurality of sample temperatures; Use the above-mentioned correction parameter corresponding with Current Temperatures to above-mentioned first object correct image.
Preferably, before a plurality of correction parameters that obtain in advance in above-mentioned basis obtain the correction parameter corresponding with Current Temperatures, said method also comprises: when the above-mentioned light source of each lower use in above-mentioned a plurality of sample temperatures irradiates primary standard substance, obtain first benchmark image corresponding with above-mentioned each sample temperature; And/or, while extinguishing above-mentioned light source under each in above-mentioned a plurality of sample temperatures, obtain second benchmark image corresponding with above-mentioned each sample temperature; According to above-mentioned the first benchmark image and/or above-mentioned the second benchmark image, generate above-mentioned a plurality of correction parameters.
Preferably, before a plurality of correction parameters that obtain in advance in above-mentioned basis obtain the correction parameter corresponding with Current Temperatures, said method also comprises: when stating in the use light source and irradiating above-mentioned object, obtain the temperature of environment temperature and/or image sensing device as above-mentioned Current Temperatures, above-mentioned image sensing device is used for obtaining above-mentioned first object image.
Preferably, the above-mentioned correction parameter corresponding with Current Temperatures of above-mentioned use comprises above-mentioned first object correct image: use the visible subsidy positive coefficient corresponding with above-mentioned Current Temperatures just carrying out visible subsidy to above-mentioned first object image, wherein, above-mentioned correction parameter comprises above-mentioned visible subsidy positive coefficient.
Preferably, the above-mentioned use visible subsidy positive coefficient corresponding with above-mentioned Current Temperatures above-mentioned first object image is carried out visible subsidy just before, said method also comprises: when extinguishing above-mentioned light source, obtain the second target image of above-mentioned object; The above-mentioned use visible subsidy positive coefficient corresponding with above-mentioned Current Temperatures carries out visible subsidy to above-mentioned first object image and just comprises: obtain the difference between the display parameter of the first pixel and the display parameter of the second pixel, above-mentioned the first pixel represents the pixel in above-mentioned first object image, and above-mentioned the second pixel represents the pixel corresponding with above-mentioned the first pixel in above-mentioned the second target image; According to generating the display parameter of the 3rd pixel with value and/or product between above-mentioned difference and above-mentioned visible subsidy positive coefficient, the pixel corresponding with above-mentioned the first pixel in the first object image after above-mentioned the 3rd pixel represents to proofread and correct.
According to the embodiment of the present invention on the other hand, also provide a kind of image correction apparatus, having comprised: the first acquiring unit, for when using light source to irradiate object, obtains the first object image of above-mentioned object; Second acquisition unit, for obtaining the correction parameter corresponding with Current Temperatures according to a plurality of correction parameters that obtain in advance, above-mentioned a plurality of correction parameters are corresponding one by one with a plurality of sample temperatures; Correcting unit, for being used the above-mentioned correction parameter corresponding with Current Temperatures to above-mentioned first object correct image.
Preferably, said apparatus also comprises: the 3rd acquiring unit, while irradiating primary standard substance for the above-mentioned light source of each lower use at above-mentioned a plurality of sample temperatures, obtains first benchmark image corresponding with above-mentioned each sample temperature; And/or the 4th acquiring unit, when extinguishing above-mentioned light source under each of above-mentioned a plurality of sample temperatures, obtains second benchmark image corresponding with above-mentioned each sample temperature; Generation unit, for generating above-mentioned a plurality of correction parameters according to above-mentioned the first benchmark image and/or above-mentioned the second benchmark image.
Preferably, said apparatus also comprises: the 5th acquiring unit, while irradiating above-mentioned object for stating light source in the use, obtain the temperature of environment temperature and/or image sensing device as above-mentioned Current Temperatures, above-mentioned image sensing device is used for obtaining above-mentioned first object image.
Preferably, above-mentioned correcting unit comprises: revisal module, for using the visible subsidy positive coefficient corresponding with above-mentioned Current Temperatures just carrying out visible subsidy to above-mentioned first object image, wherein, above-mentioned correction parameter comprises above-mentioned visible subsidy positive coefficient.
Preferably, said apparatus also comprises: the 6th acquiring unit, for when extinguishing above-mentioned light source, obtains the second target image of above-mentioned object; Above-mentioned revisal module comprises: obtain submodule, for obtaining the difference between the display parameter of the first pixel and the display parameter of the second pixel, above-mentioned the first pixel represents the pixel in above-mentioned first object image, and above-mentioned the second pixel represents the pixel corresponding with above-mentioned the first pixel in above-mentioned the second target image; Generate submodule, for according to generating the display parameter of the 3rd pixel with value and/or product between above-mentioned difference and above-mentioned visible subsidy positive coefficient, above-mentioned the 3rd pixel represents the pixel corresponding with above-mentioned the first pixel in the first object image after correction.
In embodiments of the present invention, adopted the mode of the correction parameter that a plurality of and temperature correlation are set, particularly, can obtain the correction parameter corresponding with Current Temperatures according to the plurality of correction parameter, and use this correction parameter corresponding with Current Temperatures to proofread and correct target image, this just can carry out according to the correction parameter corresponding with temperature correct operation, thereby overcome to a certain extent temperature, it is the interference that image sensing device brings, and obtain better quality by correct operation, the target image that reduction degree is higher, and then solved target image that existing scanning device obtains proofread and correct process after picture quality poor technical matters still
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms the application's a part, and schematic description and description of the present invention is used for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is according to the schematic diagram of a kind of optional method for correcting image of the embodiment of the present invention;
Fig. 2 is according to the schematic diagram of a kind of optional image sensing apparatus of the embodiment of the present invention;
Fig. 3 is according to the schematic diagram of a kind of optional correction parameter-temperature curve of the embodiment of the present invention;
Fig. 4 is according to the schematic diagram of the optional image sensing apparatus of another kind of the embodiment of the present invention.
Embodiment
Hereinafter with reference to accompanying drawing, also describe the present invention in detail in conjunction with the embodiments.It should be noted that, in the situation that not conflicting, embodiment and the feature in embodiment in the application can combine mutually.
Embodiment 1
According to the embodiment of the present invention, a kind of method for correcting image is provided, as shown in Figure 1, the method comprises:
S102: when using light source to irradiate object, obtain the first object image of object;
S104: obtain the correction parameter corresponding with Current Temperatures according to a plurality of correction parameters that obtain in advance, the plurality of correction parameter is corresponding one by one with a plurality of sample temperatures;
S106: use the correction parameter corresponding with Current Temperatures to first object correct image.
Will be clear that, one of embodiment of the present invention problem to be solved is to provide a kind of method, to realize the correction to target image, optimization process to target image in other words conj.or perhaps, wherein, for by closely or for the target image that obtains of contact-type image sensor, obtaining of this target image normally adopts irradiation object, then gather the mode of the image of irradiated this object, thereby in embodiments of the present invention, by step S102, the image that can obtain object when using light source to irradiate object is as target image, and can by step S106, to this target image, proofread and correct processing further.
For reaching this purpose, in existing scanning device, conventionally can adopt above-mentioned target image is carried out to just positive with the visible subsidy correcting mode of invisible subsidy, to realize the optimization to this image.Specifically; in invisible subsidy is just just operating with visible subsidy; conventionally can adopt invisible subsidy positive coefficient and visible subsidy positive coefficient successively the display parameter of the pixel in target image to be corrected to be adjusted as gray-scale value etc., to reach the object of getting rid of as much as possible disturbing factor optimized image quality.In existing scheme, for set normally the recording in advance before normal scan task starts as correction parameters such as invisible subsidy positive coefficient or visible subsidy positive coefficients of pixel, yet because the image sensing device in scanning device is easily subject to the impact of the environmental factors such as temperature as its operating characteristic such as light activated element or sensor chip or the actual image obtaining, and the measured correction parameter of existing scanning device is conventionally not relevant to environmental parameters such as temperature, this just causes existing scanning device cannot be adapted to target image the correction of temperature variation, and then the quality that causes the target image after correction poor problem still.
For addressing this problem, in embodiments of the present invention, adopted the mode of the correction parameter that a plurality of and temperature correlation are set, particularly, can obtain the correction parameter corresponding with Current Temperatures according to the plurality of correction parameter, and use this correction parameter corresponding with Current Temperatures to proofread and correct target image, this just can carry out according to the correction parameter corresponding with temperature correct operation, thereby overcome to a certain extent temperature, it is the interference that image sensing device brings, and obtain better quality by correct operation, the target image that reduction degree is higher, and then solved target image that existing scanning device obtains proofread and correct process after picture quality poor problem still.For ease of statement, this target image is designated as to first object image below.
Below with reference to accompanying drawing and specific embodiment, technical solution of the present invention and principle of work thereof are described in detail.
The method for correcting image providing according to the embodiment of the present invention in step S102, can obtain the first object image of object when using light source to irradiate object.Particularly, in embodiments of the present invention, this light source can be visible light source, as red-light source, green-light source, blue light source or white light source etc., yet, in other embodiment of the present invention, this light source can be also the non-visible light light sources such as ultraviolet source, infrared light supply etc., and the present invention is not limited in any way this.In addition, in embodiments of the present invention, this light source can be both pointolite, also can be area source, its light sending can be both divergence expression, also can have directive property, its radiation modality also and is not only confined to head-on irradiate, such as, also can adopt the modes such as backlight illumination or transmission, the present invention is not all limited in any way this.Should be appreciated that similarly numerous embodiments and equivalence or the modification based on technical solution of the present invention, all should be considered as within protection scope of the present invention.
More specifically, in embodiments of the present invention, the image sensing apparatus that above-mentioned steps S102 can be by as shown in Figure 2 in other words scanning device is realized.In Fig. 2, as the light source 204 and 206 of luminous component, optical module 210 and all can be assembled in framework 202 as opto-electronic conversion chip 212 and the circuit base plate 214 of image sensing device, acquisition target, such as the ventricumbent manuscript paper of word can be placed in the top of transparent panel 208, the image collecting can be transferred to external processor by terminals 216.Also be, in embodiments of the present invention, the image sensing apparatus corresponding with above-mentioned method for correcting image can comprise framework, and this framework can form enclosure space jointly with transparent panel, wherein, light source and image sensing device can be positioned at this enclosure space, in addition, in other embodiment of the present invention, for the processor that the target image obtaining is proofreaied and correct, also can be positioned at this enclosure space.
As shown in Figure 2, in this image sensing apparatus, a plurality of light sources can be set, for example, light source 204 can be white light source, light source 206 can be ultraviolet source, wherein, for any in a plurality of light sources, can adopt the method for correcting image that the embodiment of the present invention provides to proofread and correct each self-corresponding target image, for example, for white light source, for the arbitrary pixel in sensing window, all can be provided with a series of white light correction parameters with temperature correlation, for ultraviolet source, for this pixel, can be provided with a series of ultraviolet correction parameters with temperature correlation, and then for the target image obtaining under irradiating at white light source, can use the white light correction parameter corresponding with Current Temperatures to proofread and correct target image, for the target image obtaining under ultraviolet source irradiation, can use the ultraviolet correction parameter corresponding with Current Temperatures to proofread and correct target image.Should be understood that, this type of embodiment does not affect the enforcement of technical solution of the present invention and the realization of technique effect thereof, and similarly embodiment all should be considered as within protection scope of the present invention.
Certainly, be more than a kind of example, can't form any unnecessary restriction to the present invention.For example, in some embodiments of the invention, above-mentioned method for correcting image also can combine with other forms of image sensing apparatus, proofreaies and correct and reach the object of more excellent calibration result to realize the target image that this image sensing apparatus is obtained, and the present invention is not construed as limiting this.
On this basis, the method for correcting image providing according to the embodiment of the present invention, in step S104, can obtain the correction parameter corresponding with Current Temperatures according to a plurality of correction parameters that obtain in advance, wherein, the plurality of correction parameter is corresponding one by one with a plurality of sample temperatures.
Particularly, in embodiments of the present invention, the correction parameter corresponding with Current Temperatures can have multiple concrete obtain manner, for example, take the mode shown in Fig. 3 as example, and in Fig. 3, a plurality of sample temperatures can be T 1, T 2, T 3and T 4, a plurality of correction parameters corresponding with the plurality of sample temperature that obtain in advance can be Δs 1, Δ 2, Δ 3, Δ 4, according to T 1, T 2, T 3and T 4and Δ 1, Δ 2, Δ 3, Δ 4can simulate correction parameter-temperature curve 302, its concrete matching mode both can adopt linear fit as shown in Figure 3, also can adopt multiple other the matching mode such as second order or exponential fitting, and the present invention is not construed as limiting this.According to the correction parameter-temperature curve 302 simulating, can obtain the correction parameter δ corresponding with Current Temperatures t, and then can pass through step S106, use this correction parameter δ to first object correct image.More specifically, this correction parameter can be visible subsidy positive coefficient, invisible subsidy positive coefficient or other correction parameters etc., and the present invention is not construed as limiting this.
Certainly, this is a kind of example, and does not mean that the present invention has been formed to restriction.For example, in some embodiments of the invention, also can not adopt matching to show that the mode of correction parameter-temperature curve obtains the correction parameter corresponding with Current Temperatures, such as, can also be using in the corresponding correction parameter of the immediate sample temperature of Current Temperatures as the correction parameter corresponding with Current Temperatures, be provided with under the prerequisite of sample temperature more than some, by this mode, can reaching equally the effect that improves comparatively significantly the picture quality after proofreading and correct.
On basis described above, alternatively, in embodiments of the present invention, above-mentioned steps S106 can comprise:
S2: use the visible subsidy positive coefficient corresponding with Current Temperatures just carrying out visible subsidy to first object image, wherein, correction parameter comprises visible subsidy positive coefficient.
Further alternatively, in embodiments of the present invention, before step S2, said method can also comprise:
S4: when extinguishing light source, obtain the second target image of object;
Wherein, step S2 specifically can comprise:
S6: obtain the difference between the display parameter of the first pixel and the display parameter of the second pixel, the first pixel represents the pixel in first object image, the second pixel represents the pixel corresponding with the first pixel in the second target image; According to generating the display parameter of the 3rd pixel with value and/or product between difference and visible subsidy positive coefficient, the pixel corresponding with the first pixel in the first object image after the 3rd pixel represents to proofread and correct.
Specifically, in embodiments of the present invention, invisible subsidy just can utilize the difference between first object image to be corrected and the positive image of invisible subsidy to complete, the image of the object obtaining under the state that the positive image representation sensor of this invisible subsidy extinguishes at light source, so that eliminate the impact of the disturbing factor that comes from equipment itself or external environment condition.The display parameter of the pixel of the first object image after visible subsidy just can utilize the visible subsidy positive coefficient that obtains in advance to invisible subsidy just carry out ratio adjusting, wherein, visible subsidy positive coefficient can obtain based on the positive benchmark image of visible subsidy conventionally, the image of the primary standard substance that the positive benchmark image representation of this visible subsidy sensor obtains when ultraviolet source irradiation primary standard substance, so that abatement apparatus from the defect in imaging, makes the image after correction more true.Further, in embodiments of the present invention, can be used for carrying out by the positive Image Acquisition of invisible subsidy the invisible subsidy positive coefficient of above-mentioned difference processing, and for carrying out aforementioned proportion, regulate the visible subsidy positive coefficient of processing by the positive benchmark Image Acquisition of visible subsidy, so that proofread and correct calling of processing.
Alternatively, in embodiments of the present invention, before step S104, above-mentioned bearing calibration can also comprise correspondence:
S8: when each the lower use light source in a plurality of sample temperatures irradiates primary standard substance, obtain first benchmark image corresponding with each sample temperature; And/or, while extinguishing light source under each in a plurality of sample temperatures, obtain second benchmark image corresponding with each sample temperature;
S10: generate a plurality of correction parameters according to the first benchmark image and/or the second benchmark image.
Wherein, the first benchmark image can be used as the positive benchmark image of above-mentioned visible subsidy, and the second benchmark image can be used as the positive image of above-mentioned invisible subsidy.
In addition, alternatively, in embodiments of the present invention, before step S104, above-mentioned bearing calibration can also comprise:
S12: when using light source to irradiate object, obtain the temperature of environment temperature and/or image sensing device as Current Temperatures, image sensing device is used for obtaining first object image.
Below with reference to table 1 and one more specifically embodiment present invention is described.Wherein, table 1 can represent the visible subsidy positive coefficient that store and temperature correlation as the scanning device of image sensing apparatus.
In table 1, T 1, T 2t ncan represent a plurality of sample temperatures, particularly, with sample temperature T 1corresponding visible subsidy positive coefficient can comprise: Δ R 1-1, Δ G 1-1, Δ B 1-1, Δ R 1-2, Δ G 1-2, Δ B 1-2..., Δ R 1-1728, Δ G 1-1728with Δ B 1-1728, wherein, Δ R 1-1, Δ G 1-1with Δ B 1-11 the pixel of being numbered that can be illustrated in image sensing window is distinguished corresponding ruddiness visible subsidy positive coefficient, green glow visible subsidy positive coefficient and blue light visible subsidy positive coefficient, Δ R 1-2, Δ G 1-2with Δ B 1-22 the pixel of being numbered that can be illustrated in image sensing window is distinguished corresponding ruddiness visible subsidy positive coefficient, green glow visible subsidy positive coefficient and blue light visible subsidy positive coefficient, by that analogy, and Δ R 1-1728, Δ G 1-1728with Δ B 1-1728the pixel that is numbered n that can be illustrated in image sensing window is distinguished corresponding ruddiness visible subsidy positive coefficient, green glow visible subsidy positive coefficient and blue light visible subsidy positive coefficient.
Under above-mentioned scene, numbering 1 to 1728 can represent to comprise 1728 pixels in the sensing window region that imageing sensor is identified in other words, these pixels both can be single arrangement, and then by senser element scanning to a rectangular area with realization of mobile this imageing sensor, also can directly form many rows, the present invention is not construed as limiting this.Ruddiness visible subsidy positive coefficient can represent the augmenting factor generating according to the gray-scale value of pixel corresponding in the benchmark image of the white reference specimen page under red-light source irradiation, if this gray-scale value is less than normal, can a larger ruddiness visible subsidy positive coefficient be set for this pixel, if gray-scale value is bigger than normal, less ruddiness visible subsidy positive coefficient can be set, similarly, can also green glow visible subsidy positive coefficient and blue light visible subsidy positive coefficient be set for arbitrary pixel.
Table 1
On this basis, can be T judging Current Temperatures 1time, in proofreading and correct processing, use and use respectively and T 1corresponding ruddiness visible subsidy positive coefficient, green glow visible subsidy positive coefficient and blue light visible subsidy positive coefficient proofreaied and correct the ruddiness demonstration component of pixel corresponding in target image, green glow demonstration component and blue light demonstration component, specifically, can carry out ratio adjusting to the rgb value of this pixel in target image, yet the present invention is not construed as limiting to this.For example, in embodiments of the present invention, if Current Temperatures detected, be T 1, and need to just carry out visible subsidy to 999 the pixel of being numbered in target image to be corrected, can be by the red light component before the correction of this pixel and Δ R 1-999product as the red light component after proofreading and correct, if Current Temperatures detected, be T 2, and need to just carry out visible subsidy to 999 the pixel of being numbered in target image to be corrected, can be by the red light component before the correction of this pixel and Δ R 2-999product as the red light component after proofreading and correct.
Similarly, can also safeguard and the list of the invisible subsidy positive coefficient of temperature correlation, the present invention does not do tired stating at this.
By above embodiment, technical solution of the present invention and principle of work thereof to be set forth, yet be should be understood that, above-described embodiment is only for the understanding of the present invention and enforcement, and should not be considered as is limitation of the invention.
Embodiment 2
According to the embodiment of the present invention, also provide a kind of for implementing the image correction apparatus of above-mentioned method for correcting image, as shown in Figure 4, this device comprises:
1) the first acquiring unit 402, for when using light source to irradiate object, obtains the first object image of object;
2) second acquisition unit 404, and for obtaining the correction parameter corresponding with Current Temperatures according to a plurality of correction parameters that obtain in advance, the plurality of correction parameter is corresponding one by one with a plurality of sample temperatures;
3) correcting unit 406, for using the correction parameter corresponding with Current Temperatures to first object correct image.
Will be clear that, one of embodiment of the present invention problem to be solved is to provide a kind of device, to realize the correction to target image, optimization process to target image in other words conj.or perhaps, wherein, for by closely or for the target image that obtains of contact-type image sensor, obtaining of this target image normally adopts irradiation object, then gather the mode of the image of irradiated this object, thereby in embodiments of the present invention, by the first acquiring unit 402, the image that can obtain object when using light source to irradiate object is as target image, and can by 406 pairs of these target images of correcting unit, proofread and correct processing further.
For reaching this purpose, in existing scanning device, conventionally can adopt above-mentioned target image is carried out to just positive with the visible subsidy correcting mode of invisible subsidy, to realize the optimization to this image.Specifically; in invisible subsidy is just just operating with visible subsidy; conventionally can adopt invisible subsidy positive coefficient and visible subsidy positive coefficient successively the display parameter of the pixel in target image to be corrected to be adjusted as gray-scale value etc., to reach the object of getting rid of as much as possible disturbing factor optimized image quality.In existing scheme, for set normally the recording in advance before normal scan task starts as correction parameters such as invisible subsidy positive coefficient or visible subsidy positive coefficients of pixel, yet because the image sensing device in scanning device is easily subject to the impact of the environmental factors such as temperature as its operating characteristic such as light activated element or sensor chip or the actual image obtaining, and the measured correction parameter of existing scanning device is conventionally not relevant to environmental parameters such as temperature, this just causes existing scanning device cannot be adapted to target image the correction of temperature variation, and then the quality that causes the target image after correction poor problem still.
For addressing this problem, in embodiments of the present invention, adopted the mode of the correction parameter that a plurality of and temperature correlation are set, particularly, can obtain the correction parameter corresponding with Current Temperatures according to the plurality of correction parameter, and use this correction parameter corresponding with Current Temperatures to proofread and correct target image, this just can carry out according to the correction parameter corresponding with temperature correct operation, thereby overcome to a certain extent temperature, it is the interference that image sensing device brings, and obtain better quality by correct operation, the target image that reduction degree is higher, and then solved target image that existing scanning device obtains proofread and correct process after picture quality poor problem still.For ease of statement, this target image is designated as to first object image below.
Below with reference to accompanying drawing and specific embodiment, technical solution of the present invention and principle of work thereof are described in detail.
The image correction apparatus providing according to the embodiment of the present invention by the first acquiring unit 402, can obtain the first object image of object when using light source to irradiate object.Particularly, in embodiments of the present invention, this light source can be visible light source, as red-light source, green-light source, blue light source or white light source etc., yet, in other embodiment of the present invention, this light source can be also the non-visible light light sources such as ultraviolet source, infrared light supply etc., and the present invention is not limited in any way this.In addition, in embodiments of the present invention, this light source can be both pointolite, also can be area source, its light sending can be both divergence expression, also can have directive property, its radiation modality also and is not only confined to head-on irradiate, such as, also can adopt the modes such as backlight illumination or transmission, the present invention is not all limited in any way this.Should be appreciated that similarly numerous embodiments and equivalence or the modification based on technical solution of the present invention, all should be considered as within protection scope of the present invention.
More specifically, in embodiments of the present invention, the image sensing apparatus that above-mentioned the first acquiring unit 402 specifically can be by as shown in Figure 2 in other words scanning device is realized.In Fig. 2, as the light source 204,206 of luminous component and as opto-electronic conversion chip 212 and the circuit base plate 214 of image sensing device, can be assembled in framework 202, acquisition target, such as the ventricumbent manuscript paper of word can be placed in the top of transparent panel 208, the image collecting can be transferred to external processor by terminals 216.Also be, in embodiments of the present invention, the image sensing apparatus corresponding with above-mentioned image correction apparatus can comprise framework, and this framework can form enclosure space jointly with transparent panel, wherein, light source and image sensing device can be positioned at this enclosure space, in addition, in other embodiment of the present invention, for the processor that the target image obtaining is proofreaied and correct, also can be positioned at this enclosure space.
As shown in Figure 2, in this image sensing apparatus, a plurality of light sources can be set, for example, light source 204 can be white light source, light source 206 can be ultraviolet source, wherein, for any in a plurality of light sources, can adopt the image correction apparatus that the embodiment of the present invention provides to proofread and correct each self-corresponding target image, for example, for white light source, for the arbitrary pixel in sensing window, all can be provided with a series of white light correction parameters with temperature correlation, for ultraviolet source, for this pixel, can be provided with a series of ultraviolet correction parameters with temperature correlation, and then for the target image obtaining under irradiating at white light source, can use the white light correction parameter corresponding with Current Temperatures to proofread and correct target image, for the target image obtaining under ultraviolet source irradiation, can use the ultraviolet correction parameter corresponding with Current Temperatures to proofread and correct target image.Should be understood that, this type of embodiment does not affect the enforcement of technical solution of the present invention and the realization of technique effect thereof, and similarly embodiment all should be considered as within protection scope of the present invention.
Certainly, be more than a kind of example, can't form any unnecessary restriction to the present invention.For example, in some embodiments of the invention, above-mentioned image correction apparatus also can combine with other forms of image sensing apparatus, proofreaies and correct and reach the object of more excellent calibration result to realize the target image that this image sensing apparatus is obtained, and the present invention is not construed as limiting this.
On this basis, the image correction apparatus providing according to the embodiment of the present invention, by second acquisition unit 404, can obtain the correction parameter corresponding with Current Temperatures according to a plurality of correction parameters that obtain in advance, wherein, the plurality of correction parameter is corresponding one by one with a plurality of sample temperatures.
Particularly, in embodiments of the present invention, the correction parameter corresponding with Current Temperatures can have multiple concrete obtain manner, for example, take the mode shown in Fig. 3 as example, and in Fig. 3, a plurality of sample temperatures can be T 1, T 2, T 3and T 4, a plurality of correction parameters corresponding with the plurality of sample temperature that obtain in advance can be Δs 1, Δ 2, Δ 3, Δ 4, according to T 1, T 2, T 3and T 4and Δ 1, Δ 2, Δ 3, Δ 4can simulate correction parameter-temperature curve 302, its concrete matching mode both can adopt linear fit as shown in Figure 3, also can adopt multiple other the matching mode such as second order or exponential fitting, and the present invention is not construed as limiting this.According to the correction parameter-temperature curve 302 simulating, can obtain the correction parameter δ corresponding with Current Temperatures t, and then can pass through correcting unit 406, use this correction parameter δ to first object correct image.More specifically, this correction parameter can be visible subsidy positive coefficient, invisible subsidy positive coefficient or other correction parameters etc., and the present invention is not construed as limiting this.
Certainly, this is a kind of example, and does not mean that the present invention has been formed to restriction.For example, in some embodiments of the invention, also can not adopt matching to show that the mode of correction parameter-temperature curve obtains the correction parameter corresponding with Current Temperatures, such as, can also be using in the corresponding correction parameter of the immediate sample temperature of Current Temperatures as the correction parameter corresponding with Current Temperatures, be provided with under the prerequisite of sample temperature more than some, by this mode, can reaching equally the effect that improves comparatively significantly the picture quality after proofreading and correct.
On basis described above, alternatively, in embodiments of the present invention, above-mentioned correcting unit 406 can comprise:
1) revisal module, for using the visible subsidy positive coefficient corresponding with Current Temperatures just carrying out visible subsidy to first object image, wherein, correction parameter comprises visible subsidy positive coefficient.
Further alternatively, in embodiments of the present invention, above-mentioned means for correcting can also comprise:
The 6th acquiring unit, for when extinguishing light source, obtains the second target image of object;
Wherein, revisal module specifically can comprise:
1) obtain submodule, for obtaining the difference between the display parameter of the first pixel and the display parameter of the second pixel, the first pixel represents the pixel in first object image, and the second pixel represents the pixel corresponding with the first pixel in the second target image; Generate submodule, for according to generating the display parameter of the 3rd pixel with value and/or product between difference and visible subsidy positive coefficient, the 3rd pixel represents the pixel corresponding with the first pixel in the first object image after correction.
Specifically, in embodiments of the present invention, invisible subsidy just can utilize the difference between first object image to be corrected and the positive image of invisible subsidy to complete, the image of the object obtaining under the state that the positive image representation sensor of this invisible subsidy extinguishes at light source, so that eliminate the impact of the disturbing factor that comes from equipment itself or external environment condition.The display parameter of the pixel of the first object image after visible subsidy just can utilize the visible subsidy positive coefficient that obtains in advance to invisible subsidy just carry out ratio adjusting, wherein, visible subsidy positive coefficient can obtain based on the positive benchmark image of visible subsidy conventionally, the image of the primary standard substance that the positive benchmark image representation of this visible subsidy sensor obtains when ultraviolet source irradiation primary standard substance, so that abatement apparatus from the defect in imaging, makes the image after correction more true.Further, in embodiments of the present invention, can be used for carrying out by the positive Image Acquisition of invisible subsidy the invisible subsidy positive coefficient of above-mentioned difference processing, and for carrying out aforementioned proportion, regulate the visible subsidy positive coefficient of processing by the positive benchmark Image Acquisition of visible subsidy, so that proofread and correct calling of processing.
Alternatively, in embodiments of the present invention, with second acquisition unit 404 coupling ground, above-mentioned means for correcting can also comprise correspondence:
1) the 3rd acquiring unit, while irradiating primary standard substance for each the lower use light source at a plurality of sample temperatures, obtains first benchmark image corresponding with each sample temperature; And/or the 4th acquiring unit, when extinguishing light source under each of a plurality of sample temperatures, obtains second benchmark image corresponding with each sample temperature;
2) generation unit, for generating a plurality of correction parameters according to the first benchmark image and/or the second benchmark image.
Wherein, the first benchmark image can be used as the positive benchmark image of above-mentioned visible subsidy, and the second benchmark image can be used as the positive image of above-mentioned invisible subsidy.
In addition, alternatively, in embodiments of the present invention, with second acquisition unit 404 coupling ground, above-mentioned means for correcting can also comprise:
1) the 5th acquiring unit, for when using light source to irradiate object, obtains the temperature of environment temperature and/or image sensing device as Current Temperatures, and image sensing device is used for obtaining first object image.
Below with reference to the table 1 shown in embodiment 1 and one more specifically embodiment present invention is described.Wherein, table 1 can represent the visible subsidy positive coefficient that store and temperature correlation as the scanning device of image sensing apparatus.
In table 1, T 1, T 2t ncan represent a plurality of sample temperatures, particularly, with sample temperature T 1corresponding visible subsidy positive coefficient can comprise: Δ R 1-1, Δ G 1-1, Δ B 1-1, Δ R 1-2, Δ G 1-2, Δ B 1-2..., Δ R 1-1728, Δ G 1-1728with Δ B 1-1728, wherein, Δ R 1-1, Δ G 1-1with Δ B 1-11 the pixel of being numbered that can be illustrated in image sensing window is distinguished corresponding ruddiness visible subsidy positive coefficient, green glow visible subsidy positive coefficient and blue light visible subsidy positive coefficient, Δ R 1-2, Δ G 1-2with Δ B 1-22 the pixel of being numbered that can be illustrated in image sensing window is distinguished corresponding ruddiness visible subsidy positive coefficient, green glow visible subsidy positive coefficient and blue light visible subsidy positive coefficient, by that analogy, and Δ R 1-1728, Δ G 1-1728with Δ B 1-1728the pixel that is numbered n that can be illustrated in image sensing window is distinguished corresponding ruddiness visible subsidy positive coefficient, green glow visible subsidy positive coefficient and blue light visible subsidy positive coefficient.
Under above-mentioned scene, numbering 1 to 1728 can represent to comprise 1728 pixels in the sensing window region that imageing sensor is identified in other words, these pixels both can be single arrangement, and then by senser element scanning to a rectangular area with realization of mobile this imageing sensor, also can directly form many rows, the present invention is not construed as limiting this.Ruddiness visible subsidy positive coefficient can represent the augmenting factor generating according to the gray-scale value of pixel corresponding in the benchmark image of the white reference specimen page under red-light source irradiation, if this gray-scale value is less than normal, can a larger ruddiness visible subsidy positive coefficient be set for this pixel, if gray-scale value is bigger than normal, less ruddiness visible subsidy positive coefficient can be set, similarly, can also green glow visible subsidy positive coefficient and blue light visible subsidy positive coefficient be set for arbitrary pixel.
On this basis, can be T judging Current Temperatures 1time, in proofreading and correct processing, use and use respectively and T 1corresponding ruddiness visible subsidy positive coefficient, green glow visible subsidy positive coefficient and blue light visible subsidy positive coefficient proofreaied and correct the ruddiness demonstration component of pixel corresponding in target image, green glow demonstration component and blue light demonstration component, specifically, can carry out ratio adjusting to the rgb value of this pixel in target image, yet the present invention is not construed as limiting to this.For example, in embodiments of the present invention, if Current Temperatures detected, be T 1, and need to just carry out visible subsidy to 999 the pixel of being numbered in target image to be corrected, can be by the red light component before the correction of this pixel and Δ R 1-999product as the red light component after proofreading and correct, if Current Temperatures detected, be T 2, and need to just carry out visible subsidy to 999 the pixel of being numbered in target image to be corrected, can be by the red light component before the correction of this pixel and Δ R 2-999product as the red light component after proofreading and correct.
Similarly, can also safeguard and the list of the invisible subsidy positive coefficient of temperature correlation, the present invention does not do tired stating at this.
The invention provides a kind of preferred embodiment and come further the present invention to be made an explanation, but it should be noted that the preferred embodiment, just in order better to describe the present invention, does not form the present invention is limited improperly.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. a method for correcting image, is characterized in that, comprising:
When using light source to irradiate object, obtain the first object image of described object;
According to a plurality of correction parameters that obtain in advance, obtain the correction parameter corresponding with Current Temperatures, described a plurality of correction parameters are corresponding one by one with a plurality of sample temperatures;
Use described corresponding with Current Temperatures correction parameter to described first object correct image.
2. method according to claim 1, is characterized in that, before a plurality of correction parameters that obtain in advance in described basis obtain the correction parameter corresponding with Current Temperatures, described method also comprises:
When the described light source of each lower use in described a plurality of sample temperatures irradiates primary standard substance, obtain first benchmark image corresponding with described each sample temperature; And/or, while extinguishing described light source under each in described a plurality of sample temperatures, obtain second benchmark image corresponding with described each sample temperature;
According to described the first benchmark image and/or described the second benchmark image, generate described a plurality of correction parameters.
3. method according to claim 1, is characterized in that, before a plurality of correction parameters that obtain in advance in described basis obtain the correction parameter corresponding with Current Temperatures, described method also comprises:
When using described light source to irradiate described object, obtain the temperature of environment temperature and/or image sensing device as described Current Temperatures, described image sensing device is used for obtaining described first object image.
4. according to the method in any one of claims 1 to 3, it is characterized in that, the correction parameter corresponding with Current Temperatures comprises described first object correct image described in described use:
Use the visible subsidy positive coefficient corresponding with described Current Temperatures just carrying out visible subsidy to described first object image, wherein, described correction parameter comprises described visible subsidy positive coefficient.
5. method according to claim 4, is characterized in that,
The described use visible subsidy positive coefficient corresponding with described Current Temperatures described first object image is carried out visible subsidy just before, described method also comprises: when extinguishing described light source, obtain the second target image of described object;
The described use visible subsidy positive coefficient corresponding with described Current Temperatures carries out visible subsidy to described first object image and just comprises: obtain the difference between the display parameter of the first pixel and the display parameter of the second pixel, described the first pixel represents the pixel in described first object image, and described the second pixel represents the pixel corresponding with described the first pixel in described the second target image; According to generating the display parameter of the 3rd pixel with value and/or product between described difference and described visible subsidy positive coefficient, the pixel corresponding with described the first pixel in the first object image after described the 3rd pixel represents to proofread and correct.
6. an image correction apparatus, is characterized in that, comprising:
The first acquiring unit, for when using light source to irradiate object, obtains the first object image of described object;
Second acquisition unit, for obtaining the correction parameter corresponding with Current Temperatures according to a plurality of correction parameters that obtain in advance, described a plurality of correction parameters are corresponding one by one with a plurality of sample temperatures;
Correcting unit, for being used described corresponding with Current Temperatures correction parameter to described first object correct image.
7. device according to claim 6, is characterized in that, also comprises:
The 3rd acquiring unit, while irradiating primary standard substance for the described light source of each lower use at described a plurality of sample temperatures, obtains first benchmark image corresponding with described each sample temperature; And/or the 4th acquiring unit, when extinguishing described light source under each of described a plurality of sample temperatures, obtains second benchmark image corresponding with described each sample temperature;
Generation unit, for generating described a plurality of correction parameters according to described the first benchmark image and/or described the second benchmark image.
8. device according to claim 6, is characterized in that, also comprises:
The 5th acquiring unit, for when using described light source to irradiate described object, obtains the temperature of environment temperature and/or image sensing device as described Current Temperatures, and described image sensing device is used for obtaining described first object image.
9. according to the device described in any one in claim 6 to 8, it is characterized in that, described correcting unit comprises:
Revisal module, for using the visible subsidy positive coefficient corresponding with described Current Temperatures just carrying out visible subsidy to described first object image, wherein, described correction parameter comprises described visible subsidy positive coefficient.
10. device according to claim 9, is characterized in that,
Described device also comprises: the 6th acquiring unit, for when extinguishing described light source, obtains the second target image of described object;
Described revisal module comprises: obtain submodule, for obtaining the difference between the display parameter of the first pixel and the display parameter of the second pixel, described the first pixel represents the pixel in described first object image, and described the second pixel represents the pixel corresponding with described the first pixel in described the second target image; Generate submodule, for according to generating the display parameter of the 3rd pixel with value and/or product between described difference and described visible subsidy positive coefficient, described the 3rd pixel represents the pixel corresponding with described the 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 true CN103942761A (en) 2014-07-23
CN103942761B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106412380A (en) * 2016-09-20 2017-02-15 广州广电运通金融电子股份有限公司 Image compensating method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1140949A (en) * 1995-05-31 1997-01-22 索尼公司 Temperature-dependant, frequency-compensated hand deviation correction device for video 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
US20100195127A1 (en) * 2009-01-30 2010-08-05 Brother Kogyo Kabushiki Kaisha Image processor for correcting image data
CN103152510A (en) * 2013-01-29 2013-06-12 广州广电运通金融电子股份有限公司 Image processing device and image processing method
CN103403610A (en) * 2011-02-22 2013-11-20 浜松光子学株式会社 Spatial light modulation device and spatial light modulation method
CN103646387A (en) * 2013-12-16 2014-03-19 威海华菱光电股份有限公司 Method and device for image correction

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1140949A (en) * 1995-05-31 1997-01-22 索尼公司 Temperature-dependant, frequency-compensated hand deviation correction device for video 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
US20100195127A1 (en) * 2009-01-30 2010-08-05 Brother Kogyo Kabushiki Kaisha Image processor for correcting image data
CN103403610A (en) * 2011-02-22 2013-11-20 浜松光子学株式会社 Spatial light modulation device and spatial light modulation method
CN103152510A (en) * 2013-01-29 2013-06-12 广州广电运通金融电子股份有限公司 Image processing device and image processing method
CN103646387A (en) * 2013-12-16 2014-03-19 威海华菱光电股份有限公司 Method and device for image correction

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李俊江 等: "CT图像环状伪影校正方法", 《北京航空航天大学学报》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106412380A (en) * 2016-09-20 2017-02-15 广州广电运通金融电子股份有限公司 Image compensating method and device
WO2018053977A1 (en) * 2016-09-20 2018-03-29 广州中智融通金融科技有限公司 Image compensation method and device
CN106412380B (en) * 2016-09-20 2019-09-10 广州广电运通金融电子股份有限公司 A kind of image compensation method and device

Also Published As

Publication number Publication date
CN103942761B (en) 2017-08-01

Similar Documents

Publication Publication Date Title
CN109891484A (en) Display device and display methods
CN104144353B (en) Multizone environment light regime control method based on smart television
CN104113743A (en) Colour camera automatic white balance processing method and device under low illumination
TW201612878A (en) Image display method and electronic device
SA519401590B1 (en) Radiation Inspection System and Method
EP2688302A3 (en) Image processing apparatus and control method thereof, and image capture apparatus
CN1918919A (en) White balance adjustment device and video display device
WO2008042832A3 (en) Calibration apparatus and method for fluorescent imaging
CN103929560A (en) Image obtaining method and device
US10078888B2 (en) Through-focus image combination
JP2020065149A (en) Sensor calibration system, display control device, program, and sensor calibration method
Mead et al. Ubiquitous luminance sensing using the Raspberry Pi and Camera Module system
CN105466562A (en) Thermal imager calibration device and method through combination of non-uniformity calibration and temperature calibration
JP2011095061A (en) Color-unevenness inspection device and color-unevenness inspection method
CN104166250A (en) Flat panel display panel uniformity detection method and system
JP2017044841A5 (en)
WO2012015264A3 (en) Full-range calibration apparatus for a spectrometer for analysis of the light spectrum, and method for acquiring information using the apparatus
CN109891869A (en) Video signal processing apparatus, video signal processing method and video signal processing system
TWI720205B (en) Methods of enhancing images
TWI502549B (en) Recognition method and system for component images
Shrestha et al. Spectrogenic imaging: A novel approach to multispectral imaging in an uncontrolled environment
ATE489690T1 (en) SYSTEM AND METHOD FOR AUTOMATED CORRECTION OF DIGITAL IMAGES
CN106297613B (en) A kind of display screen ghost detection system and method
CN103905738B (en) High dynamic range images generate system and method
CN103942761A (en) Image correction method and device

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