CN104661003A - Electronic device and color correction method thereof - Google Patents

Electronic device and color correction method thereof Download PDF

Info

Publication number
CN104661003A
CN104661003A CN201510057784.6A CN201510057784A CN104661003A CN 104661003 A CN104661003 A CN 104661003A CN 201510057784 A CN201510057784 A CN 201510057784A CN 104661003 A CN104661003 A CN 104661003A
Authority
CN
China
Prior art keywords
comparison value
color comparison
color
upgraded
match
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
CN201510057784.6A
Other languages
Chinese (zh)
Other versions
CN104661003B (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.)
Qisda Suzhou Co Ltd
Original Assignee
Qisda Suzhou 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 Qisda Suzhou Co Ltd filed Critical Qisda Suzhou Co Ltd
Priority to CN201510057784.6A priority Critical patent/CN104661003B/en
Publication of CN104661003A publication Critical patent/CN104661003A/en
Priority to TW104121286A priority patent/TWI565319B/en
Application granted granted Critical
Publication of CN104661003B publication Critical patent/CN104661003B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Color Television Image Signal Generators (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Processing Of Color Television Signals (AREA)

Abstract

The invention discloses an electronic device and a color correction method thereof. The electronic device comprises a photographing system with an image sensor, a color sensor, a processing module and a color correction unit, wherein the image sensor is used for collecting light of a first site to obtain a first light signal and converting the first light signal into a first electric signal to obtain a first color comparison value; the color sensor is used for collecting the light of the first site to obtain a second light signal and converting the second light signal into a second electric signal to obtain a second color comparison value; the color correction unit is used for carrying out white balance adjustment on the electronic device according to an adjusting signal sent by the processing module; the processing module is used for comparing the first color comparison value with the second color comparison value, judging whether to carry out the white balance adjustment if the first color comparison value is matched with the second color comparison value and executing the process to realize accurate white balance adjustment of the electronic device, so that the color information of photographed objects can be stored more really.

Description

Electronic installation and color correcting method thereof
Technical field
The present invention, about a kind of electronic installation and color correcting method thereof, particularly relates to and confirms that current color multimedia message is to improve electronic installation and the color correcting method thereof of the calibration function of Automatic white balance further by increasing color sensor.
Background technology
In recent years, the electronic product with camera function is popularized rapidly, and the quality of shooting effect is exactly see that can shooting image out reflect subject really, and the direct sense organ of the effect of namely taking out and human eye is consistent.But, the effect of taking pictures of different electronic product is different, the effect of several the images that even same electronic product is taken continuously is also different, the problem such as partially blue, partially red, partially yellow always occurs, subject can not be reflected really, the reason producing the problem such as partially blue, partially red, partially yellow be exactly white balance arrange improper.At present, the regulative mode of white balance generally has two kinds: Automatic white balance and manual white balance., owing to there being the situation that accurately can not judge to be taken on-the-spot color information to exist, so these two functions import the problem that rear electronic installation still exists colour cast of taking pictures.
Therefore, a kind of new electronic installation of design and color correcting method thereof is necessary, to overcome above-mentioned defect.
Summary of the invention
The object of the present invention is to provide a kind of electronic installation and color correcting method thereof, by increasing color sensor, it confirms that the current on-the-spot color information that is taken is to improve the calibration function of Automatic white balance further, thus reduce the color information of subject more really.
For achieving the above object, the invention provides a kind of color correcting method, for electronic installation, this electronic installation comprises color sensor and has the camera system of image sensor, and the method comprises the following steps:
S101, the light of primary scene is gathered to obtain the first light signal by this image sensor, and this first light signal is changed into first signal of telecommunication obtain the first color comparison value, and the light being gathered this primary scene by this color sensor is to obtain the second light signal, and this second light signal is changed into second signal of telecommunication obtains the second color comparison value;
S102, compares this first color comparison value and whether this second color comparison value matches, if match, then performs step S103;
S103, judges whether to need to carry out blank level adjustment according to this first color comparison value or this second color comparison value, and performs.
Preferably, in this step S102, if do not match, then perform: S104, judges whether to need to carry out blank level adjustment according to this second color comparison value, and perform.
Preferably, in this step S102, if do not match, then perform:
S105, obtains the first the first color comparison value upgraded by this image sensor again;
S106, compares this second color comparison value and this first the first color comparison value upgraded of obtaining in this step S101;
S107, if match, then judges whether to need to carry out blank level adjustment according to this second color comparison value obtained in this step S101 or this first the first color comparison value upgraded, and performs;
S108, if do not match, then judges whether to need to carry out blank level adjustment according to this second color comparison value obtained in this step S101, and performs.
Preferably, in this step S102, if do not match, then perform:
S109, obtains the first the second color comparison value upgraded by this color sensor again;
S110, compares this second color comparison value obtained in this first the second color comparison value upgraded and this step S101;
S111, if match, then judge whether to need to carry out blank level adjustment according to the mean value of this second color comparison value obtained in this second color comparison value obtained in this step S101 and this first the second color comparison value upgraded or this step S101 and this first the second color comparison value upgraded, and perform;
S112, if do not match, then reminding user.
Preferably, in this step S102, if do not match, then perform:
S113, again obtains the first the first color comparison value upgraded by this image sensor and obtains the first the second color comparison value upgraded by this color sensor;
S114, compares this first first color comparison value upgraded and this first the second color comparison value upgraded;
S115, if match, then judges whether to need to carry out blank level adjustment according to the first the first color comparison value upgraded or the first the second color comparison value upgraded, and performs;
S116, if do not match, then compares this second color comparison value and this first the second color comparison value upgraded of obtaining in this step S101;
S117, if this second color comparison value obtained in this step S101 and this first the second color comparison value upgraded match, then judge whether to need to carry out blank level adjustment according to the mean value of this second color comparison value obtained in this second color comparison value obtained in this step S101 and this first the second color comparison value upgraded or this step S101 and this first the second color comparison value upgraded, and perform;
S118, if this second color comparison value obtained in this step S101 and this first the second color comparison value upgraded do not match, then compares this first color comparison value and this first the first color comparison value upgraded of obtaining in this step S101;
S119, if this first color comparison value obtained in this step S101 and this first the first color comparison value upgraded match, then judge whether to need to carry out blank level adjustment according to the mean value of this first color comparison value obtained in this first color comparison value obtained in this step S101 and this first the first color comparison value upgraded or this step S101 and this first the first color comparison value upgraded, and perform;
S120, if this first color comparison value obtained in this step S101 and this first the first color comparison value upgraded do not match, then obtain the first difference of this first color comparison value and this first the first color comparison value upgraded obtained in this step S101, and obtain the second difference of this second color comparison value and this first the second color comparison value upgraded obtained in this step S101, select two data corresponding to less difference in this first difference and this second difference, and judge whether to need to carry out blank level adjustment according to the mean value of these two data, and perform.
Preferably, in this step S101, it is the first proportionate relationship being obtained ruddiness, green glow, blue light by the power of this first signal of telecommunication, this first proportionate relationship is this first color comparison value, and the second proportionate relationship of ruddiness, green glow, blue light is obtained by the power of this second signal of telecommunication, this second proportionate relationship is the second color comparison value.
Preferably, comprise in this step S102, if this first color comparison value is identical with this second color comparison value, or the difference of this first color comparison value and this second color comparison value is less than the first preset value, then this first color comparison value and this second color comparison value match.
For reaching above-mentioned purpose, the present invention also provides a kind of electronic installation, and for above-mentioned color correcting method, this electronic installation comprises:
Camera system, this camera system has image sensor, and this first light signal for gathering the light of primary scene to obtain the first light signal, and is changed into first signal of telecommunication and obtains the first color comparison value by this image sensor;
Color sensor, for gathering the light of this primary scene to obtain the second light signal, and changes into second signal of telecommunication by this second light signal and obtains the second color comparison value;
Processing module, is coupled to this image sensor and this color sensor, in order to receive this first color comparison value and this second color comparison value also transmission adjustment signal;
Color correction unit, is coupled to this processing module, in order to receive and to carry out blank level adjustment according to this adjustment signal that this processing module sends to this electronic installation;
Wherein, this processing module compares this first color comparison value and this second color comparison value, if match, then judge whether to need to carry out blank level adjustment according to this first color comparison value or this second color comparison value, if desired blank level adjustment is carried out, this processing module sends adjustment signal to this color correction unit, to carry out blank level adjustment to this electronic installation.
Preferably, this image sensor comprises charge coupled cell and is arranged at the filter of this charge coupled cell side.
Compared with prior art, the invention provides a kind of electronic installation, this electronic installation comprises the camera system with image sensor, color sensor, processing module and color correction unit, this image sensor is for gathering the light of primary scene to obtain the first light signal, and this first light signal is changed into first signal of telecommunication obtain the first color comparison value, this color sensor is for gathering the light of this primary scene to obtain the second light signal, and this second light signal is changed into second signal of telecommunication obtain the second color comparison value, this processing module is coupled to this image sensor and this color sensor, in order to receive this first color comparison value and this second color comparison value and to compare this first color comparison value and this second color comparison value, if match, then judge whether to need to carry out blank level adjustment, if desired blank level adjustment is carried out, this processing module sends adjustment signal to this color correction unit, to carry out blank level adjustment to this electronic installation.Wherein, this image sensor is the requisite element of this electronic installation, the color information of the light of this primary scene can be sensed, also can printing opacity, make this electronic installation energy normal photographing, when the color information of this primary scene that this image sensor obtains is inaccurate, because this electronic installation does not have comparable data to judge the accuracy of the color information that this image sensor obtains for it, this can cause this electronic installation to carry out blank level adjustment according to the color information of mistake, thus this electronic installation effect of taking out still can colour cast after making to adjust, therefore, in order to avoid this situation occurs, this electronic installation is made to carry out blank level adjustment accurately, the present invention synchronously obtains the color information of this primary scene by additionally increasing this color sensor, judge that whether the color information of the primary scene that this image sensor obtains is accurate for this processing module, also the color information confirming this primary scene is namely assisted, like this, this the second color comparison value that also can obtain according to this color sensor when this first color comparison value that this image sensor obtains is inaccurate carries out blank level adjustment accurately, solve in prior art and adopt single image sensor cannot to determine obtained color information whether accurately problem, and avoid the situation of carrying out blank level adjustment according to the color information of mistake to occur, thus ensure that this electronic installation is taken under suitable white balance conditions, to reduce the color information of subject more really, the image meeting shooting can the comparatively accurately requirement of situation seen of reproducing floor human eye, and improve the quality of shooting.
Accompanying drawing explanation
The function block schematic diagram of the electronic installation that Fig. 1 provides for the embodiment of the present invention.
The flow chart of the color correcting method of the electronic installation that Fig. 2 provides for first embodiment of the invention.
The flow chart of the color correcting method of the electronic installation that Fig. 3 provides for second embodiment of the invention.
The flow chart of the color correcting method of the electronic installation that Fig. 4 provides for third embodiment of the invention.
The Part I flow chart of the color correcting method of the electronic installation that Fig. 5 (a) provides for fourth embodiment of the invention.
The Part II flow chart of the color correcting method of the electronic installation that Fig. 5 (b) provides for fourth embodiment of the invention.
The flow chart of the color correcting method of the electronic installation that Fig. 6 provides for fifth embodiment of the invention.
Embodiment
For making there is further understanding to object of the present invention, structure, feature and function thereof, embodiment is hereby coordinated to be described in detail as follows.
With reference to shown in Fig. 1, it is the function block schematic diagram of the electronic installation that the embodiment of the present invention provides.Electronic installation 1 of the present invention has camera system, this camera system has image sensor 11, this electronic installation 1 also comprises color sensor 12, processing module 13 and color correction unit 14, and this image sensor 11, this color sensor 12 and this color correction unit 14 and this processing module 13 couple.This image sensor 11 is for gathering the light of primary scene to obtain the first light signal, and this first light signal is changed into first signal of telecommunication obtain the first color comparison value, this color sensor 12 is for gathering the light of this primary scene to obtain the second light signal, and this second light signal is changed into second signal of telecommunication obtain the second color comparison value, this processing module 13 judges whether this first color comparison value and this second color comparison value match, if coupling, judges whether to need to carry out blank level adjustment according to this first color comparison value or this second color comparison value, and perform.Wherein, this image sensor is the requisite element of this camera system, the color information of the light of this primary scene can be sensed, also can printing opacity, make this electronic installation energy normal photographing, when the color information of this primary scene that this image sensor obtains is inaccurate, because this electronic installation does not have comparable data to judge the accuracy of the color information that this image sensor obtains for it, this can cause this electronic installation to carry out blank level adjustment according to the color information of mistake, thus this electronic installation effect of taking out still can colour cast after making to adjust, therefore, in order to avoid this situation occurs, this electronic installation is made to carry out blank level adjustment accurately, the present invention synchronously obtains the color information of this primary scene by additionally increasing this color sensor, judge that whether the color information of the primary scene that this image sensor obtains is accurate for this processing module, also the color information confirming this primary scene is namely assisted, like this, this the second color comparison value that also can obtain according to this color sensor when this first color comparison value that this image sensor obtains is inaccurate carries out blank level adjustment accurately, solve in prior art and adopt single image sensor cannot to determine obtained color information whether accurately problem, and avoid the situation of carrying out blank level adjustment according to the color information of mistake to occur, thus ensure that this electronic installation is taken under suitable white balance conditions, to reduce the color information of subject more really, the image meeting shooting can the comparatively accurately requirement of situation seen of reproducing floor human eye, and improve the quality of shooting.Wherein, this electronic installation 1 can be camera, video camera or camera, but not as limit.Below the concrete function of this electronic installation 1 is described.
This first light signal for gathering the light of primary scene to obtain the first light signal, and is changed into first signal of telecommunication and obtains the first color comparison value by this image sensor 11.Wherein, this image sensor 11 is the requisite elements of this camera system, can sense the color information of the light of this primary scene, also can printing opacity, makes this electronic installation energy normal photographing.Preferably, this image sensor 11 can be charge coupled cell (CCD, Charge-coupled Device) imageing sensor or complementary metal oxide semiconductors (CMOS) (CMOS, Complementary Metal-Oxide-Semiconductor) imageing sensor, but not as limit.Further, this image sensor 11 also comprises the filter being arranged at this ccd image sensor or this cmos image sensor side, the light collected is separated into ruddiness, green glow and blue light to obtain the information of this ruddiness, green glow and blue light, but not as limit.
This color sensor 12 is for gathering the light of this primary scene to obtain the second light signal, and this second light signal is changed into second signal of telecommunication obtain the second color comparison value, judge that whether the color information of the primary scene that this image sensor 11 obtains is accurate for this processing module 13, the i.e. auxiliary color information confirming this primary scene, thus improve the calibration function of Automatic white balance, to reduce the color information of subject more really.Usually, in this electronic installation 1 is opened time, this color sensor 12 can carry out oneself and detect, to confirm to be in normal condition, but not as limit.
This processing module 13 in order to receive this first color comparison value and this second color comparison value, and compares this first color comparison value and this second color comparison value, to judge whether this first color comparison value and this second color comparison value match.Preferably, this processing module 13 is digital signal processor (DSP, DigitalSignal Processor), but not as limit.Preferably, this processing module 13 has memory function, can store this first color comparison value and this second color comparison value of reception, but not as limit.
This color correction unit 14 carries out blank level adjustment in order to this adjustment signal sent according to this processing module 13 to this electronic installation 1, to reduce the color information of subject more really.
Wherein, this processing module 13 compares this first color comparison value and whether this second color comparison value matches, if match, then judge whether to need to carry out blank level adjustment according to this first color comparison value or this second color comparison value, if desired blank level adjustment is carried out, this processing module 13 sends adjustment signal to this color correction unit 14, to carry out blank level adjustment to this electronic installation 1.Namely this second color comparison value of this color sensor 12 acquisition is with judging that for this processing module 13 whether the color information of the primary scene that this image sensor 11 obtains is accurate, the i.e. auxiliary color information confirming this primary scene, thus improve the calibration function of Automatic white balance, realize reducing more really the color information of subject, the image namely taken can comparatively accurately reproducing floor (primary scene) human eye situation about seeing.
Further, this processing module 13 obtains the first proportionate relationship of ruddiness, green glow, blue light by the power of this first signal of telecommunication, and this first proportionate relationship is this first color comparison value.Such as, the first proportionate relationship of ruddiness, green glow, blue light is 1:1:2, and so this first color comparison value is 1:1:2; This processing module 13 obtains the second proportionate relationship of ruddiness, green glow, blue light by the power of this second signal of telecommunication, and this second proportionate relationship is the second color comparison value.Such as, the second proportionate relationship of ruddiness, green glow, blue light is also 1:1:2, and so this second color comparison value is 1:1:2.
Further, when this first color comparison value is identical with this second color comparison value, then this processing module 13 judges that this first color comparison value and this second color comparison value match, and namely confirms that the color information of this primary scene that this image sensor 11 obtains is accurately.Such as, this first color comparison value and this second color are more all 1:1:2.Certainly, if this first color comparison value is not identical with this second color comparison value, but the difference of this first color comparison value and this second color comparison value is less than the first preset value, then this processing module 13 also judges that this first color comparison value and this second color comparison value match, namely certain error is allowed to exist, but do not affect the accurate adjustment of white balance, specifically can be determined according to actual conditions by designer, not as limit.Wherein, the size of this first preset value is determined according to actual conditions by designer.
Further, when this first color comparison value and this second color comparison value match, and when judging to need to carry out blank level adjustment, this processing module 13 controls this color correction unit 14 and carries out blank level adjustment to this electronic installation 1.Such as, when this first color comparison value and this second color comparison value are all 1:1:2, namely represent that the ratio of the blue light of floor (primary scene) is higher, also namely partially blue, then judge to need to carry out blank level adjustment, this processing module 13 controls this color correction unit 14 and reduces the ratio of blue light and improve the ratio of green glow and ruddiness, like this, the ratio of the ruddiness of guarantee image that this electronic installation 1 photographs after blank level adjustment, green glow, blue light is identical, even if the image also photographed just can not colour cast.
Further, as shown in Figure 2, when this first color comparison value and this second color comparison value do not mate, this processing module 13 judges whether to need to carry out blank level adjustment according to this second color comparison value, and performs, or this processing module 13 reminding user, allows user select which value to carry out blank level adjustment according to, but not as limit, or, as shown in Figure 3, this processing module 13 is stored this second color comparison value and is again obtained the first color comparison value of the first renewal by this image sensor 11, if this second color comparison value stored and this first the first color comparison value upgraded match, then judge whether to need to carry out blank level adjustment according to this second color comparison value stored or this first the first color comparison value upgraded, if this second color comparison value stored and this first the first color comparison value upgraded do not match, then judge whether to need to carry out blank level adjustment according to this second color comparison value stored, or, as shown in Figure 4, this processing module 13 stores this second color comparison value and again obtains the second color comparison value of the first renewal by this color sensor 12 and compare, if this second color comparison value stored and this first the second color comparison value upgraded match, then judge whether to need to carry out blank level adjustment according to the mean value of in this second color comparison value stored and this first the second color comparison value upgraded or this second color comparison value stored and this first the second color comparison value upgraded, and perform, if store this second color comparison value and the second color comparison value obtaining the first renewal does not match, then reminding user, but not as limit.
Further, as shown in Fig. 5 (a) He Fig. 5 (b), if this first color comparison value and this second color comparison value do not match, then this processing module 13 is stored this first color comparison value and this second color comparison value and again obtains the first color comparison value of the first renewal by this image sensor 11 and obtained the second color comparison value of the first renewal by this color sensor 12, and compare this first first color comparison value upgraded and this first the second color comparison value upgraded, if this first first color comparison value upgraded and this first the second color comparison value upgraded match, then judge whether to need to carry out blank level adjustment according to this first first color comparison value upgraded or this first the second color comparison value upgraded, and perform, if this first first color comparison value upgraded and this first the second color comparison value upgraded do not match, then compare this second color comparison value and this first second color comparison value upgraded of storage, if this second color comparison value stored and this first the second color comparison value upgraded match, then judge whether to need to carry out blank level adjustment according to the mean value of in this second color comparison value stored and this first the second color comparison value upgraded or this second color comparison value stored and this first the second color comparison value upgraded, and perform.Namely, when this first color comparison value that this image sensor 11 obtains is wrong, this the second color comparison value that can obtain according to this color sensor 12 judges whether to need to carry out blank level adjustment, and perform, ensure that this electronic installation 1 is taken under suitable white balance conditions, realize reducing more really the color information of subject, the image color also namely taken can comparatively accurately to be behaved situation about arriving soon by reproducing shot object.Certainly, in extreme circumstances, the situation that this first second color comparison value upgraded that this second color comparison value and the acquisition stored also may occur also does not match, in order to adjust the white balance of this electronic installation 1 as far as possible, then need this first color comparison value and this first the first color comparison value upgraded that compare storage, if this first color comparison value stored and this first the first color comparison value upgraded match, then judge whether to need to carry out blank level adjustment according to the mean value of in this first color comparison value stored and this first the first color comparison value upgraded or this first color comparison value stored and this first the first color comparison value upgraded, and perform, certainly, this situation is fewer, because this color sensor 12 is higher than this image sensor 11 accuracy usually.Further, also may there is this first color comparison value of storing and this first the first color comparison value upgraded situation about also not matching, then need the first difference obtaining this first color comparison value and this first the first color comparison value upgraded stored, and obtain the second difference of this second color comparison value and this first the second color comparison value upgraded stored, select two data corresponding to less difference in this first difference and this second difference, and judge whether to need to carry out blank level adjustment according to the mean value of these two data, and perform; Certainly, when this first color comparison value and this first the first color comparison value upgraded stored does not match, and this second color comparison value of storage and this first the second color comparison value upgraded also do not match, then can reminding user, but not as limit.Wherein, this first color comparison value and this first first color comparison value upgraded of storage match and refer to both equal or both differences and be less than the second preset value, and wherein, the size of this second preset value is determined according to actual conditions by designer.This second color comparison value stored and this first second color comparison value upgraded match and refer to two equal or both differences and be less than the 3rd preset value, and wherein, the size of the 3rd preset value is determined according to actual conditions by designer.
Certainly, as shown in Figure 6, when this first color comparison value and this second color comparison value do not mate, this processing module 13 also again can be controlled the circulation of this image sensor 11 and obtain this first color comparison value upgraded and this second color comparison value upgraded by this color sensor 12 circulation acquisition, and compare this first color comparison value of renewal and upgrade this second color comparison value, but not as limit.
Further, while this electronic installation 1 is opened, white balance correction is carried out to this electronic installation 1, namely this processing module 13 controls this image sensor 11 and obtains this first color comparison value and control this color sensor 12 and obtain this second color comparison value, and compare this first color comparison value and this second color comparison value, if match, then judge whether to need to carry out blank level adjustment according to this first color comparison value and this second color comparison value, if desired blank level adjustment is carried out, this processing module 13 sends adjustment signal to this color correction unit 14, to carry out blank level adjustment to this electronic installation 1.Namely unlatching and the blank level adjustment of this electronic installation 1 synchronously carry out, take under suitable white balance to make this electronic installation 1, and then the color information of real reduction subject, the image meeting shooting can the comparatively accurately requirement of situation seen of reproducing floor human eye, improves the quality of shooting.
To sum up, the invention provides a kind of electronic installation, this electronic installation comprises the camera system with image sensor, color sensor, processing module and color correction unit, this image sensor is for gathering the light of primary scene to obtain the first light signal, and this first light signal is changed into first signal of telecommunication obtain the first color comparison value, this color sensor is for gathering the light of this primary scene to obtain the second light signal, and this second light signal is changed into second signal of telecommunication obtain the second color comparison value, this processing module is coupled to this image sensor and this color sensor, in order to receive this first color comparison value and this second color comparison value, this color correction unit is coupled to this processing module, this adjustment signal in order to send according to this processing module carries out blank level adjustment to this electronic installation, wherein, this processing module compares this first color comparison value and this second color comparison value, if match, then judge whether to need to carry out blank level adjustment, if desired blank level adjustment is carried out, this processing module sends adjustment signal to this color correction unit, to carry out blank level adjustment to this electronic installation.Wherein, this image sensor is the requisite element of this camera system, the color information of the light of this primary scene can be sensed, also can printing opacity, make this electronic installation energy normal photographing, when the color information of this primary scene that this image sensor obtains is inaccurate, because this electronic installation does not have comparable data to judge the accuracy of the color information that this image sensor obtains for it, this can cause this electronic installation to carry out the problem of blank level adjustment according to the color information of mistake, thus this electronic installation effect of taking out still can colour cast after making to adjust, therefore, in order to avoid this situation occurs, this electronic installation is made to carry out blank level adjustment accurately, the present invention synchronously obtains the color information of this primary scene by additionally increasing this color sensor, judge that whether the color information of the primary scene that this image sensor obtains is accurate for this processing module, also the color information confirming this primary scene is namely assisted, like this, this the second color comparison value that also can obtain according to this color sensor when this first color comparison value that this image sensor obtains is inaccurate carries out blank level adjustment accurately, solve in prior art and adopt single image sensor cannot to determine obtained color information whether accurately problem, and avoid the generation carrying out the situation of blank level adjustment according to the color information of mistake, thus ensure that this electronic installation is taken under suitable white balance conditions, to reduce the color information of subject more really, the image meeting shooting can the comparatively accurately requirement of situation seen of reproducing floor human eye, and improve the quality of shooting.
Please refer to Fig. 2 to Fig. 6, is the flow chart of the color correcting method that the embodiment of the present invention provides.Color correcting method in Fig. 2 to Fig. 6 can utilize above-mentioned electronic installation 1 to realize, and this color correcting method that the embodiment of the present invention provides comprises the steps:
S101, the light of primary scene is gathered to obtain the first light signal by this image sensor, and this first light signal is changed into first signal of telecommunication obtain the first color comparison value, and the light being gathered this primary scene by this color sensor is to obtain the second light signal, and this second light signal is changed into second signal of telecommunication obtains the second color comparison value;
S102, compares this first color comparison value and whether this second color comparison value matches, if match, then performs step S103;
S103, judges whether to need to carry out blank level adjustment according to this first color comparison value or this second color comparison value, and performs.
Preferably, also step S100 is comprised before this step S101, system initialization.Namely while this electronic installation 1 is opened, white balance correction is carried out to this electronic installation 1, take under suitable white balance to make this electronic installation 1, and then the color information of real reduction subject, the image meeting shooting can the comparatively accurately requirement of situation seen of reproducing floor human eye, improves the quality of shooting.
Further, in this step S101, the first proportionate relationship of ruddiness, green glow, blue light is obtained by the power of this first signal of telecommunication, this first proportionate relationship is this first color comparison value, and the second proportionate relationship of ruddiness, green glow, blue light is obtained by the power of this second signal of telecommunication, this second proportionate relationship is the second color comparison value.Such as, the first proportionate relationship of ruddiness, green glow, blue light is 1:1:2, and so this first color comparison value is 1:1:2, and such as, the second proportionate relationship of ruddiness, green glow, blue light is also 1:1:2, and so this second color comparison value is 1:1:2.
Further, also comprise in this step S102, if this first color comparison value is identical with this second color comparison value, then this first color comparison value and this second color comparison value match, and namely confirm that the color information of the current subject that this image sensor 11 obtains is accurately.Such as, this first color comparison value and this second color are more all 1:1:2.Certainly, if the difference of this first color comparison value and this second color comparison value is less than preset value, then this first color comparison value and this second color comparison value also match, and namely allow certain error to exist, specifically can be determined according to actual conditions by designer, not as limit.Wherein, the size of this preset value is determined according to actual conditions by designer.
Further, when this first color comparison value and this second color comparison value match, and when judging to need to carry out blank level adjustment, in this step S103, blank level adjustment is carried out to this electronic installation 1.Such as, when this first color comparison value and this second color comparison value are all 1:1:2, namely represent that the ratio of the blue light of floor (i.e. primary scene) is higher, also namely partially blue, then judge to need to carry out blank level adjustment, in time adjusting, reduce the ratio of blue light, improve the ratio of green glow and ruddiness, calm ensure the image that this electronic installation 1 photographs after blank level adjustment ruddiness, green glow, blue light ratio identical, even if the image also photographed just can not colour cast.
Further, as shown in Figure 2, in this step S102, when this first color comparison value and this second color comparison value do not mate, then perform: S104, judges whether to need to carry out blank level adjustment according to this second color comparison value, and perform.Certainly, when this first color comparison value and this second color comparison value do not mate, can also reminding user, such as allow user determine which value to carry out white balance correction according to or carry out manual correction, but not as limit.
Further, as shown in Figure 3, in this step S102, when this first color comparison value and this second color comparison value do not mate, then perform:
S105, obtains the first the first color comparison value upgraded by this image sensor again;
S106, compares this second color comparison value and this first the first color comparison value upgraded of obtaining in this step S101;
S107, if match, then judges whether to need to carry out blank level adjustment according to this second color comparison value obtained in this step S101 or this first the first color comparison value upgraded, and performs;
S108, if do not match, then judges whether to need to carry out blank level adjustment according to this second color comparison value obtained in this step S101, and performs.
Further, as shown in Figure 4, in this step S102, when this first color comparison value and this second color comparison value do not mate, perform: S109, again obtain the first the second color comparison value upgraded by this color sensor;
S110, compares this second color comparison value obtained in this first the second color comparison value upgraded and this step S101;
S111, if match, then judge whether to need to carry out blank level adjustment according to the mean value of this second color comparison value obtained in this second color comparison value obtained in this step S101 and this first the second color comparison value upgraded or this step S101 and this first the second color comparison value upgraded, and perform;
S112, if do not match, then reminding user.
Further, as shown in 5 (a) He Fig. 5 (b), in this step S102, when this first color comparison value and this second color comparison value do not mate, perform: S113, again obtain the first the first color comparison value upgraded by this image sensor and obtain the first the second color comparison value upgraded by this color sensor;
S114, compares this first first color comparison value upgraded and this first the second color comparison value upgraded;
S115, if match, then judges whether to need to carry out blank level adjustment according to the first the first color comparison value upgraded or the first the second color comparison value upgraded, and performs;
S116, if do not match, then compares this second color comparison value and this first the second color comparison value upgraded of obtaining in this step S101;
S117, if this second color comparison value obtained in this step S101 and this first the second color comparison value upgraded match, then judge whether to need to carry out blank level adjustment according to the mean value of this second color comparison value obtained in this second color comparison value obtained in this step S101 and this first the second color comparison value upgraded or this step S101 and this first the second color comparison value upgraded, and perform;
S118, if this second color comparison value obtained in this step S101 and this first the second color comparison value upgraded do not match, then compares this first color comparison value and this first the first color comparison value upgraded of obtaining in this step S101;
S119, if this first color comparison value obtained in this step S101 and this first the first color comparison value upgraded match, then judge whether to need to carry out blank level adjustment according to the mean value of this first color comparison value obtained in this first color comparison value obtained in this step S101 and this first the first color comparison value upgraded or this step S101 and this first the first color comparison value upgraded, and perform;
S120, if this first color comparison value obtained in this step S101 and this first the first color comparison value upgraded do not match, then obtain the first difference of this first color comparison value and this first the first color comparison value upgraded obtained in this step S101, and obtain the second difference of this second color comparison value and this first the second color comparison value upgraded obtained in this step S101, select two data corresponding to less difference in this first difference and this second difference, and judge whether to need to carry out blank level adjustment according to the mean value of these two data, and perform.Namely, when this first color comparison value that this image sensor 11 obtains is wrong, this the second color comparison value that can obtain according to this color sensor 12 judges whether to need to carry out blank level adjustment, and perform, ensure that this electronic installation 1 is taken under suitable white balance conditions, realize reducing more really the color information of subject, the image color also namely taken can comparatively accurately to be behaved situation about arriving soon by reproducing shot object.Certainly, in extreme circumstances, also may there is the second color comparison value that first of this second color comparison value and the acquisition obtained in this step S101 upgrades also not match, in order to adjust the white balance of this electronic installation 1 as far as possible, then need this first first color comparison value upgraded comparing this first color comparison value and the acquisition obtained in this step S101, if this first first color comparison value upgraded of this first color comparison value obtained in this step S101 and acquisition matches, then judge whether to need to carry out blank level adjustment according to the mean value of this first color comparison value obtained in this first color comparison value obtained in this step S101 and this first the first color comparison value upgraded or this step S101 and this first the first color comparison value upgraded, and perform, certainly, this situation is fewer, because this color sensor 12 is higher than this image sensor 11 accuracy usually.Wherein, this the first color comparison value obtained in this step S101 and this first first color comparison value upgraded match and refer to two equal or both differences and be less than the second preset value, wherein, the size of this second preset value is determined according to actual conditions by designer.This second color comparison value obtained in this step S101 and this first second color comparison value upgraded match and refer to two equal or both differences and be less than the 3rd preset value, wherein, the size of the 3rd preset value is determined according to actual conditions by designer.
Certainly, as shown in Figure 6, in this step S102, if this first color comparison value and this second color comparison value do not match, then this step S101 is returned, but not as limit.
To sum up, the invention provides a kind of color correcting method, this color correcting method comprises: S101, gathers the light of primary scene to obtain the first light signal by this image sensor, and this first light signal is changed into first signal of telecommunication obtains the first color comparison value; S102, gathers the light of this primary scene to obtain the second light signal by this color sensor, and this second light signal is changed into second signal of telecommunication obtains the second color comparison value; S103, compares this first color comparison value and whether this second color comparison value matches, if match, then performs step S104; S104, judges whether to need to carry out blank level adjustment, and performs.Wherein, this image sensor is the requisite element of this camera system, the color information of the light of this primary scene can be sensed, also can printing opacity, make this electronic installation energy normal photographing, when the color information of this primary scene that this image sensor obtains is inaccurate, because this electronic installation does not have comparable data to judge the accuracy of the color information that this image sensor obtains for it, this can cause this electronic installation to carry out the problem of blank level adjustment according to the color information of mistake, thus this electronic installation effect of taking out still can colour cast after making to adjust, therefore, in order to avoid this situation occurs, this electronic installation is made to carry out blank level adjustment accurately, the present invention synchronously obtains the color information of this primary scene by additionally increasing this color sensor, judge that whether the color information of the primary scene that this image sensor obtains is accurate for this processing module, also the color information confirming this primary scene is namely assisted, like this, this the second color comparison value that also can obtain according to this color sensor when this first color comparison value that this image sensor obtains is inaccurate carries out blank level adjustment accurately, solve in prior art adopt single image sensor to determine whether obtained color information accurate, and avoid the situation of carrying out blank level adjustment according to the color information of mistake to occur, thus ensure that this electronic installation is taken under suitable white balance conditions, to reduce the color information of subject more really, the image meeting shooting can the comparatively accurately requirement of situation seen of reproducing floor human eye, and improve the quality of shooting.
The present invention is described by above-mentioned related embodiment, but above-described embodiment is only enforcement example of the present invention.Must it is noted that the embodiment disclosed limit the scope of the invention.On the contrary, change done without departing from the spirit and scope of the present invention and retouching, all belong to scope of patent protection of the present invention.

Claims (9)

1. a color correcting method, for electronic installation, this electronic installation comprises color sensor and has the camera system of image sensor, and it is characterized in that, the method comprises the following steps:
S101, the light of primary scene is gathered to obtain the first light signal by this image sensor, and this first light signal is changed into first signal of telecommunication obtain the first color comparison value, and the light being gathered this primary scene by this color sensor is to obtain the second light signal, and this second light signal is changed into second signal of telecommunication obtains the second color comparison value;
S102, compares this first color comparison value and whether this second color comparison value matches, if match, then performs step S103;
S103, judges whether to need to carry out blank level adjustment according to this first color comparison value or this second color comparison value, and performs.
2. color correcting method as claimed in claim 1, is characterized in that, in this step S102, if do not match, then performs: S104, judges whether to need to carry out blank level adjustment according to this second color comparison value, and perform.
3. color correcting method as claimed in claim 1, is characterized in that, in this step S102, if do not match, then performs:
S105, obtains the first the first color comparison value upgraded by this image sensor again;
S106, compares this second color comparison value and this first the first color comparison value upgraded of obtaining in this step S101;
S107, if match, then judges whether to need to carry out blank level adjustment according to this second color comparison value obtained in this step S101 or this first the first color comparison value upgraded, and performs;
S108, if do not match, then judges whether to need to carry out blank level adjustment according to this second color comparison value obtained in this step S101, and performs.
4. color correcting method as claimed in claim 1, is characterized in that, in this step S102, if do not match, then performs:
S109, obtains the first the second color comparison value upgraded by this color sensor again;
S110, compares this second color comparison value obtained in this first the second color comparison value upgraded and this step S101;
S111, if match, then judge whether to need to carry out blank level adjustment according to the mean value of this second color comparison value obtained in this second color comparison value obtained in this step S101 and this first the second color comparison value upgraded or this step S101 and this first the second color comparison value upgraded, and perform;
S112, if do not match, then reminding user.
5. color correcting method as claimed in claim 1, is characterized in that, in this step S102, if do not match, then performs:
S113, again obtains the first the first color comparison value upgraded by this image sensor and obtains the first the second color comparison value upgraded by this color sensor;
S114, compares this first first color comparison value upgraded and this first the second color comparison value upgraded;
S115, if match, then judges whether to need to carry out blank level adjustment according to the first the first color comparison value upgraded or the first the second color comparison value upgraded, and performs;
S116, if do not match, then compares this second color comparison value and this first the second color comparison value upgraded of obtaining in this step S101;
S117, if this second color comparison value obtained in this step S101 and this first the second color comparison value upgraded match, then judge whether to need to carry out blank level adjustment according to the mean value of this second color comparison value obtained in this second color comparison value obtained in this step S101 and this first the second color comparison value upgraded or this step S101 and this first the second color comparison value upgraded, and perform;
S118, if this second color comparison value obtained in this step S101 and this first the second color comparison value upgraded do not match, then compares this first color comparison value and this first the first color comparison value upgraded of obtaining in this step S101;
S119, if this first color comparison value obtained in this step S101 and this first the first color comparison value upgraded match, then judge whether to need to carry out blank level adjustment according to the mean value of this first color comparison value obtained in this first color comparison value obtained in this step S101 and this first the first color comparison value upgraded or this step S101 and this first the first color comparison value upgraded, and perform;
S120, if this first color comparison value obtained in this step S101 and this first the first color comparison value upgraded do not match, then obtain the first difference of this first color comparison value and this first the first color comparison value upgraded obtained in this step S101, and obtain the second difference of this second color comparison value and this first the second color comparison value upgraded obtained in this step S101, select two data corresponding to less difference in this first difference and this second difference, and judge whether to need to carry out blank level adjustment according to the mean value of these two data, and perform.
6. color correcting method as claimed in claim 1, it is characterized in that, in this step S101, it is the first proportionate relationship being obtained ruddiness, green glow, blue light by the power of this first signal of telecommunication, this first proportionate relationship is this first color comparison value, and the second proportionate relationship of ruddiness, green glow, blue light is obtained by the power of this second signal of telecommunication, this second proportionate relationship is the second color comparison value.
7. color correcting method as claimed in claim 1, it is characterized in that, comprise in this step S102, if this first color comparison value is identical with this second color comparison value, or the difference of this first color comparison value and this second color comparison value is less than the first preset value, then this first color comparison value and this second color comparison value match.
8. an electronic installation, for the color correcting method as weighed as described in any one of 1 to power 7, it is characterized in that, this electronic installation comprises:
Camera system, this camera system has image sensor, and this first light signal for gathering the light of primary scene to obtain the first light signal, and is changed into first signal of telecommunication and obtains the first color comparison value by this image sensor;
Color sensor, for gathering the light of this primary scene to obtain the second light signal, and changes into second signal of telecommunication by this second light signal and obtains the second color comparison value;
Processing module, is coupled to this image sensor and this color sensor, in order to receive this first color comparison value and this second color comparison value also transmission adjustment signal;
Color correction unit, is coupled to this processing module, in order to receive and to carry out blank level adjustment according to this adjustment signal that this processing module sends to this electronic installation;
Wherein, this processing module compares this first color comparison value and this second color comparison value, if match, then judge whether to need to carry out blank level adjustment according to this first color comparison value or this second color comparison value, if desired blank level adjustment is carried out, this processing module sends adjustment signal to this color correction unit, to carry out blank level adjustment to this electronic installation.
9. electronic installation as claimed in claim 8, it is characterized in that, this image sensor comprises charge coupled cell and is arranged at the filter of this charge coupled cell side.
CN201510057784.6A 2015-02-04 2015-02-04 Electronic installation and color correcting method thereof Active CN104661003B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510057784.6A CN104661003B (en) 2015-02-04 2015-02-04 Electronic installation and color correcting method thereof
TW104121286A TWI565319B (en) 2015-02-04 2015-07-01 Electronic device and color correction method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510057784.6A CN104661003B (en) 2015-02-04 2015-02-04 Electronic installation and color correcting method thereof

Publications (2)

Publication Number Publication Date
CN104661003A true CN104661003A (en) 2015-05-27
CN104661003B CN104661003B (en) 2016-09-07

Family

ID=53251635

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510057784.6A Active CN104661003B (en) 2015-02-04 2015-02-04 Electronic installation and color correcting method thereof

Country Status (2)

Country Link
CN (1) CN104661003B (en)
TW (1) TWI565319B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107948619A (en) * 2017-12-13 2018-04-20 广东欧珀移动通信有限公司 Image processing method, device, computer-readable recording medium and mobile terminal
CN110493510A (en) * 2019-07-09 2019-11-22 维沃移动通信有限公司 A kind of image processing method and terminal device
CN111953955A (en) * 2020-08-26 2020-11-17 维沃移动通信有限公司 White balance compensation method and device and electronic equipment
CN112133197A (en) * 2020-09-29 2020-12-25 厦门天马微电子有限公司 Display screen, optical compensation method and optical compensation system of under-screen camera in display screen

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101496415A (en) * 2006-07-25 2009-07-29 高通股份有限公司 Stereo image and video capturing device with dual digital sensors and methods of using the same
US20120147211A1 (en) * 2010-12-10 2012-06-14 Kabushiki Kaisha Toshiba Auto white balance adjustment system, auto white balance adjustment method, and camera module
TW201316318A (en) * 2011-10-11 2013-04-16 Hon Hai Prec Ind Co Ltd Electronic device and adjusting screen brightness method thereof
CN103686111A (en) * 2013-12-31 2014-03-26 上海富瀚微电子有限公司 Method and device for correcting color based on RGBIR (red, green and blue, infra red) image sensor

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080303918A1 (en) * 2007-06-11 2008-12-11 Micron Technology, Inc. Color correcting for ambient light
TWI345919B (en) * 2007-07-20 2011-07-21 Novatek Microelectronics Corp Estimation method for white-point and correction method of the white balance
TWI366149B (en) * 2008-03-14 2012-06-11 Asia Optical Co Inc A calculation method for the correction of white balance

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101496415A (en) * 2006-07-25 2009-07-29 高通股份有限公司 Stereo image and video capturing device with dual digital sensors and methods of using the same
US20120147211A1 (en) * 2010-12-10 2012-06-14 Kabushiki Kaisha Toshiba Auto white balance adjustment system, auto white balance adjustment method, and camera module
TW201316318A (en) * 2011-10-11 2013-04-16 Hon Hai Prec Ind Co Ltd Electronic device and adjusting screen brightness method thereof
CN103686111A (en) * 2013-12-31 2014-03-26 上海富瀚微电子有限公司 Method and device for correcting color based on RGBIR (red, green and blue, infra red) image sensor

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107948619A (en) * 2017-12-13 2018-04-20 广东欧珀移动通信有限公司 Image processing method, device, computer-readable recording medium and mobile terminal
CN107948619B (en) * 2017-12-13 2019-07-16 Oppo广东移动通信有限公司 Image processing method, device, computer readable storage medium and mobile terminal
CN110493510A (en) * 2019-07-09 2019-11-22 维沃移动通信有限公司 A kind of image processing method and terminal device
CN111953955A (en) * 2020-08-26 2020-11-17 维沃移动通信有限公司 White balance compensation method and device and electronic equipment
CN111953955B (en) * 2020-08-26 2022-01-04 维沃移动通信有限公司 White balance compensation method and device and electronic equipment
CN112133197A (en) * 2020-09-29 2020-12-25 厦门天马微电子有限公司 Display screen, optical compensation method and optical compensation system of under-screen camera in display screen

Also Published As

Publication number Publication date
TW201630402A (en) 2016-08-16
TWI565319B (en) 2017-01-01
CN104661003B (en) 2016-09-07

Similar Documents

Publication Publication Date Title
JP5512550B2 (en) White balance calibration of digital camera devices
JP6186900B2 (en) Solid-state imaging device, electronic device, lens control method, and imaging module
JP5159361B2 (en) interchangeable lens
CN100553301C (en) The modification method of brightness
CN108881701B (en) Shooting method, camera, terminal device and computer readable storage medium
CN104620569A (en) Imaging controller and imaging control method and program
CN105659159A (en) Camera system, camera body, and communication method
US20190109970A1 (en) Imaging apparatus, client device, imaging system, control method of imaging apparatus, control method of client device, and control method of imaging system
CN106131527A (en) Dual camera color synchronization method, device and terminal
CN105282429A (en) Imaging device, and control method for imaging device
CN104661003A (en) Electronic device and color correction method thereof
CN112004029B (en) Exposure processing method, exposure processing device, electronic apparatus, and computer-readable storage medium
CN102739939B (en) Image pickup apparatus, and control method thereof
CN107205109A (en) The method of electronic installation and its control with many photographing modules
US9172887B2 (en) Imaging apparatus, control method of imaging apparatus, interchangeable lens and lens-interchangeable type imaging apparatus body
CN103647958B (en) Image processing method, image processing apparatus and electronic equipment
CN101815175B (en) Information processing apparatus and method for controlling information processing apparatus, imaging apparatus, and method for correcting images
CN105578062A (en) Light metering mode selection method and image acquisition device utilizing same
US9232144B2 (en) Imaging device, electronic viewfinder, and display control method
CN110070582B (en) Multi-camera module parameter self-calibration system and calibration method and electronic equipment thereof
WO2021051307A1 (en) Image color calibration method, camera devices, and image color calibration system
CN107835351A (en) A kind of dual camera module and terminal
CN112995492B (en) Parameter adjusting method and device, image acquisition system and computer readable storage medium
JP2011135380A (en) Image capturing apparatus, image sharing method, and image sharing program
CN109379535A (en) Image pickup method and device, electronic equipment, computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant