CN103179322A - Image color correction method and electronic device - Google Patents

Image color correction method and electronic device Download PDF

Info

Publication number
CN103179322A
CN103179322A CN201110430759XA CN201110430759A CN103179322A CN 103179322 A CN103179322 A CN 103179322A CN 201110430759X A CN201110430759X A CN 201110430759XA CN 201110430759 A CN201110430759 A CN 201110430759A CN 103179322 A CN103179322 A CN 103179322A
Authority
CN
China
Prior art keywords
image
color
value
destination object
heterochromia
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
CN201110430759XA
Other languages
Chinese (zh)
Other versions
CN103179322B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201110430759.XA priority Critical patent/CN103179322B/en
Publication of CN103179322A publication Critical patent/CN103179322A/en
Application granted granted Critical
Publication of CN103179322B publication Critical patent/CN103179322B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses an image color correction method and an electronic device. The image color correction method is suitable for the electronic device with a photographing function. The image color correction method includes: shooting a target object to obtain a first image corresponding to the target object; shooting the first image to obtain a second image corresponding to the first image; determining a color difference value between the second image and the first image; and utilizing the color difference value to perform color compensation on the first image so as to achieve color correction of the first image. Compared with the prior art, the color difference value between the second image and the first image is obtained through second shooting of the first image corresponding to the target object, photographing deviation between the first image and a real image of the target image can be determined, and then color compensation is performed on the first image so as to achieve color correction of shot images.

Description

A kind of color of image bearing calibration and electronic equipment
Technical field
The present invention relates to technical field of image processing, particularly relate to a kind of color of image bearing calibration and electronic equipment.
Background technology
Along with science and technology development at full speed, various electronic products constantly enrich and have facilitated popular life.Owing to utilizing the electronic product process information to have the advantages such as convenient and swift, saving resource, make electronic product become an indispensable part in people's life or work.
Wherein, electronic equipment, such as: camera, mobile phone, notebook etc., the camera function that has make people can record at one's side scenery whenever and wherever possible.But camera installation has the misalignment problem usually, makes taken scenery and the scenery of reality have vision difference.A kind of existing method of improving aberration is: a standard colorimetric plate is placed on the side at reference object, by the heterochromia between taken standard colorimetric plate and actual standard color board, realizes the color compensating to taken object.
But in actual applications, standard colorimetric plate must be carried, and has lower applicability.Realize that so how the color correction to the captured image of electronic equipment is the focus that people pay close attention to.
Summary of the invention
For solving the problems of the technologies described above, the embodiment of the present invention provides a kind of color of image bearing calibration and electronic equipment, and to realize the color correction to the captured image of electronic equipment, technical scheme is as follows:
A kind of color of image bearing calibration is applicable to an electronic equipment with camera function, and described method comprises:
Take a destination object, to obtain the first image corresponding to described destination object;
Take described the first image, to obtain the second image corresponding to described the first image;
Determine the heterochromia value between described the second image and the first image;
Utilize described heterochromia value, described the first image is carried out color compensation, to realize the color correction to described the first image.
Wherein, described the first image of described shooting is specially:
The first image of taken destination object is carried out projection;
Take projected image corresponding to described the first image, to obtain the second image corresponding to described destination object.
Wherein, the described heterochromia value of determining between described the second image and the first image is specially:
Determine the first color parameter value of a pixel in described the first image;
Determine the second color parameter value of pixel respective pixel point described in described the second image and the first image;
Calculate the difference between described the second color parameter value and described the first color parameter value;
With described difference as the heterochromia value between the second image and the first image.Wherein, described the first image of described shooting is specially:
A pixel in the first image of taken destination object is carried out projection;
Take projected image corresponding to described pixel, to obtain the second image corresponding to described destination object.
Wherein, the described heterochromia value of determining between described the second image and the first image is specially:
Determine the color parameter value of pixel described in described the first image;
Determine the color parameter value of described the second image;
Calculate the difference of the color parameter value of pixel described in the color parameter value of described the second image and described the first image;
With described difference as the heterochromia value between the second image and the first image.
Wherein, describedly utilize described heterochromia value, described the first image carried out color compensation, be specially:
As the deviation of taking pictures, wherein, described distortion is the color error ratio between projected image corresponding to described the first image and described the first image with the difference between described heterochromia value and specific distortion;
To the described deviation of taking pictures of described the first image compensation.
Wherein, described method also comprises:
As with reference to value, with under photographical condition corresponding to the described deviation of taking pictures, utilize described reference value to the color compensation of the first image of captured destination object the determined deviation of taking pictures.Accordingly, the embodiment of the present invention also provides a kind of electronic equipment, comprising:
The first taking module is used for taking a destination object, to obtain the first image corresponding to described destination object;
The second taking module is taken described the first image, to obtain the second image corresponding to described the first image;
Heterochromia value determination module is used for the heterochromia value between definite described the second image and the first image;
The color correction module is used for utilizing described heterochromia value, and described the first image is carried out color compensation, to realize the color correction to described the first image.
Wherein, described the second taking module comprises:
Projecting cell is used for the first image of taken destination object is carried out projection;
Take the unit, be used for taking projected image corresponding to described the first image, to obtain the second image corresponding to described destination object.
Wherein, described heterochromia value determination module comprises:
The first color parameter determining unit is for the first color parameter value of determining described the first image one pixel;
The second color parameter determining unit is for the second color parameter value of determining pixel respective pixel point described in described the second image and the first image;
Difference computational unit is used for calculating the difference between described the second color parameter value and described the first color parameter value;
Heterochromia value determining unit is used for described difference as the heterochromia value between the second image and the first image.
Wherein, described the second taking module comprises:
Projecting cell is used for a pixel of the first image of taken destination object is carried out projection;
Take the unit, be used for taking projected image corresponding to described pixel, to obtain the second image corresponding to described destination object.
Wherein, described heterochromia value determination module comprises:
The first color parameter determining unit is for the color parameter value of determining pixel described in described the first image;
The second color parameter determining unit is for the color parameter value of determining described the second image;
Difference computational unit is for the difference of calculating the color parameter value of pixel described in described the second image color parameter value and described the first image;
Heterochromia value determining unit is used for described difference as the heterochromia value between the second image and the first image.
Wherein, described color correction module comprises:
The deviation of taking pictures determining unit is used for described heterochromia value and specifically the difference between distortion is as the deviation of taking pictures, and wherein, described distortion is the color error ratio between projected image corresponding to described the first image and described the first image;
The color correction unit is used for the described deviation of taking pictures of described the first image compensation.
The technical scheme that the embodiment of the present invention provides, when taking a destination object, the first taken image is taken again, obtain the second image corresponding to this first image, and then calculate heterochromia value between the first image and the second image, and utilize described heterochromia value, this first image is carried out color compensation.Compared with prior art, take to obtain heterochromia value between the second image and the first image by the first image corresponding to destination object being carried out secondary, can determine the deviation of taking pictures of the first image and destination object true picture, and then this first image is carried out color compensation, realize color correction to captured image with this.
Description of drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, the below will do simple the introduction to the accompanying drawing of required use in embodiment or description of the Prior Art, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The first flow chart of a kind of color of image bearing calibration that Fig. 1 provides for the embodiment of the present invention;
The second flow chart of a kind of color of image bearing calibration that Fig. 2 provides for the embodiment of the present invention;
The projection pattern schematic diagram of a kind of color of image bearing calibration of being applicable to the embodiment of the present invention and providing is provided Fig. 3;
The third flow chart of a kind of color of image bearing calibration that Fig. 4 provides for the embodiment of the present invention;
The another projection pattern schematic diagram of a kind of color of image bearing calibration of being applicable to the embodiment of the present invention and providing is provided Fig. 5;
The structural representation of a kind of electronic equipment that Fig. 6 provides for the embodiment of the present invention.
Embodiment
In order to realize the color correction to the captured image of electronic equipment, the embodiment of the present invention provides a kind of color of image bearing calibration and electronic equipment.
At first the below is introduced a kind of color of image bearing calibration that the embodiment of the present invention provides.
A kind of color of image bearing calibration is applicable to an electronic equipment with camera function, and described method comprises:
Take a destination object, to obtain the first image corresponding to described destination object;
Take described the first image, to obtain the second image corresponding to described the first image;
Determine the heterochromia value between described the second image and the first image;
Utilize described heterochromia value, described the first image is carried out color compensation, to realize the color correction to described the first image.
The technical scheme that the embodiment of the present invention provides, when taking a destination object, the first taken image is taken again, obtain the second image corresponding to this first image, and then calculate heterochromia value between the first image and the second image, and utilize described heterochromia value to carry out color compensation to this first image.Compared with prior art, take to obtain heterochromia value between the second image and the first image by the first image corresponding to destination object being carried out secondary, can determine the deviation of taking pictures of the first image and destination object true picture, and then this first image is carried out color compensation, realize color correction to captured image with this.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
The method that the embodiment of the present invention provides is applicable to an electronic equipment with camera function, and the image that this electronic equipment is captured and destination object true picture have certain misalignment.Be understandable that, this electronic equipment can have for mobile phone, notebook, camera, IPAD etc. the equipment of camera function.
As shown in Figure 1, a kind of color of image bearing calibration can comprise:
S101 takes a destination object, to obtain the first image corresponding to this destination object;
The holder opens camera function when electronic equipment, in the time of need to taking pictures to a destination object, takes this destination object under this holder's control, has obtained one first image corresponding to this destination object this moment.
S102 takes this first image, to obtain the second image corresponding to this first image;
, after obtaining the first image corresponding to this destination object this first image is taken again taking this destination object, to obtain the second image corresponding to this first image.Need to prove, take the first image and photographic subjects object and can use same camera to take, perhaps, use the different camera that in this electronic equipment, color error ratio is identical to take, this is all rational.
S103 determines the heterochromia value between this second image and the first image;
After obtaining the second image corresponding to the first image corresponding to destination object and this first image, can obtain color parameter value corresponding to the first image and color parameter value corresponding to the second image, and then determine the heterochromia value between this second image and this first image.
S104 utilizes this heterochromia value, and this first image is carried out color compensation, to realize the color correction to this first image.
Because this first image is processed by the identical photographing device of color error ratio with the second image, so can be by the heterochromia value between this second image and this first image, determine the deviation of taking pictures between this first image and destination object real image, therefore, can utilize this heterochromia value, this first image is carried out color compensation, realize color correction to this first image with this.Need to prove, when the color error ratio between the second image and the first image only causes due to the deviation of taking pictures, can be directly with the heterochromia value between the second image and the first image as the deviation of taking pictures, and this deviation of taking pictures of this first image compensation is got final product; And the color error ratio between the second image and the first image causes reason not only to comprise the deviation of taking pictures, when also comprising other factors, after needing the heterochromia value between the second image and the first image is carried out specific computing, determine the deviation of taking pictures, and then realize the color compensation to this first image.
In the present embodiment, when taking a destination object, the first taken image is taken again, obtain the second image corresponding to this first image, and then calculate heterochromia value between the first image and the second image, and utilize this heterochromia value, this first image is carried out color compensation.Compared with prior art, take to obtain heterochromia value between the second image and the first image by the first image corresponding to destination object being carried out secondary, can determine the deviation of taking pictures of the first image and destination object true picture, and then this first image is carried out color compensation, realize color correction to captured image with this.
Below in conjunction with a specific embodiment, a kind of color of image bearing calibration provided by the present invention is introduced.
The method that the embodiment of the present invention provides is applicable to an electronic equipment with camera function, and the image that this electronic equipment is captured and destination object true picture have certain misalignment.Be understandable that, this electronic equipment can have for mobile phone, notebook, camera, IPAD etc. the equipment of camera function.
As shown in Figures 2 and 3, a kind of color of image bearing calibration can comprise:
S201 takes a destination object, to obtain the first image corresponding to this destination object;
S202 carries out projection with the first image of taken destination object;
The holder opens camera function when electronic equipment, in the time of need to taking pictures to a destination object, takes this destination object under this holder's control, has obtained one first image corresponding to this destination object this moment.
After obtaining the first image corresponding to destination object, this first image can be carried out projection process, to carry out follow-up shooting again to this first image.Need to prove due to the impact of projection environment and projection device, to have specific distortion between the projected image that this first image is corresponding and this first image.This distortion can obtain according to the multiple projections statistics.
Those skilled in the art are understandable that, when this first image is carried out projection, can be with this first image projection in the corresponding projection of electronic equipment internal receiving area, perhaps, can be with this first image projection in the outer projections receiving area that is connected with electronic equipment of setting up, this is all rational.Certainly, the projected position of the first image is not limited to the mode that the present embodiment provides, and also can take other mode.Simultaneously, when the first image is carried out projection, can adopt the mode of laser projection, certainly, be not limited to laser projection.
S203 takes projected image corresponding to this first image, to obtain the second image corresponding to this destination object;
After the first image is carried out corresponding projection process, projected image corresponding to this first image taken, to obtain the second image corresponding to this first image.Be understandable that, for different projection orientation, when projected image is taken, need corresponding different photo angles; Simultaneously, the corresponding projected image of the first image and the first image can use same camera to take, and perhaps, use the different camera that in this electronic equipment, color error ratio is identical to take, and this is all rational.
S204 determines the first color parameter value of a pixel in this first image;
S205 determines the second color parameter value of this pixel respective pixel point in this second image and the first image;
After the first image that obtains destination object and the second image corresponding to the first image, can determine the color parameter value of the corresponding pixel of the first image and the second image, for example: the rgb value of this pixel, to carry out the calculating of follow-up heterochromia value.
Be understandable that, can choose a corresponding pixel in the color parameter value of determining the first image and the second image, can certainly select corresponding a plurality of pixel, pixels a plurality of according to this are determined color parameter value corresponding to the second image, are all rational.
S206 calculates the difference between this second color parameter value and this first color parameter value;
S207, with this difference as the heterochromia value between the second image and the first image;
After determining to obtain the second color parameter value corresponding to the first color parameter value corresponding to the first image and the second image, can calculate the difference between this second color parameter value and this first color parameter value, and with this difference of obtaining as the heterochromia value between this second image and the first image.
S208, as the deviation of taking pictures, wherein, described distortion is the color error ratio between projected image corresponding to described the first image and described the first image with the difference between this heterochromia value and specific distortion;
Wherein, when this first image is carried out projection, because projected image and this first image have specific distortion, therefore, after being compensated this distortion, this projected image becomes this first image; Simultaneously, second image and the projected image corresponding due to projected image have the deviation of taking pictures, therefore, the color difference that has between the second image and the first image be distortion with the deviation of taking pictures and.Therefore, after the heterochromia value that obtains between the second image and the first image, need to remove distortion, to obtain to take pictures accordingly deviation, this deviation of taking pictures is the color difference between the first image and destination object true picture.
S209 is to the described deviation of taking pictures of this first image compensation.
After the deviation of taking pictures that obtains between the second image and the first image, can be to this deviation of taking pictures of this first image compensation, realize color correction to the first image with this.
In the present embodiment, obtain the first image of destination object in shooting after, this first image is carried out projection, and take projected image corresponding to this first image, to obtain the second image corresponding to the first image; And then the color difference between definite the first image and the second image respective pixel point, utilize described definite color difference and the difference between distortion to carry out color compensation to this first image, realized color correction to the captured image of capture apparatus with this.
Below in conjunction with another specific embodiment, a kind of color of image bearing calibration provided by the present invention is introduced.
Same, the method that the embodiment of the present invention provides is applicable to an electronic equipment with camera function, and the image that this electronic equipment is captured and destination object true picture have certain misalignment.Be understandable that, this electronic equipment can have for mobile phone, notebook, camera, IPAD etc. the equipment of camera function.
As shown in Figure 3, a kind of color of image bearing calibration can comprise:
S301 takes a destination object, to obtain the first image corresponding to this destination object;
S302 carries out projection with the pixel in the first image of taken destination object;
The holder opens camera function when electronic equipment, in the time of need to taking pictures to a destination object, takes this destination object under this holder's control, has obtained one first image corresponding to this destination object this moment.Need to prove due to the impact of projection environment and projection device, to have specific distortion between the projected image that this first image is corresponding and this first image.This distortion can obtain according to the multiple projections statistics.
After obtaining the first image corresponding to destination object, because the color error ratio between respective pixel point in each pixel in the first image and destination object true picture is identical, therefore, the capable projection process of pixel in this first image can being advanced is to carry out follow-up shooting again.Certainly, also a plurality of pixels in the first taken image can be carried out projection, and select a pixel to carry out determining of follow-up color parameter value in the second image corresponding to projection result.
Those skilled in the art are understandable that, when a pixel carries out projection in to this first image, this pixel can be projected in the corresponding projection of electronic equipment internal receiving area, perhaps, this pixel can be projected in the outer projections receiving area that is connected with electronic equipment of setting up, this is all rational.Certainly, the projected position of the first image is not limited to the mode that the present embodiment provides, and also can take other mode.Simultaneously, when this pixel carries out projection in to the first image, can select the mode of laser projection, certainly, be not limited to laser projection.
S303 takes projected image corresponding to this pixel, to obtain the second image corresponding to this destination object;
After a pixel carries out corresponding projection process in to the first image, projected image corresponding to this pixel taken, to obtain the second image corresponding to this first image.Be understandable that, for different projection orientation, when projected image is taken, need corresponding different photo angles; Simultaneously, the corresponding projected image of the first image and the first image can use same camera to take, and perhaps, use the different camera that in this electronic equipment, color error ratio is identical to take, and this is all rational.As shown in Figure 5, by optical collector, this pixel in the first image is projected in the projection receiving area, and take projected image corresponding to this pixel by transducer.
S304 determines the color parameter value of pixel described in this first image;
S305 determines the color parameter value of this second image;
S306 calculates the difference of the color parameter value of this pixel in the color parameter value of this second image and this first image;
After the first image that obtains destination object and the second image corresponding to the first image, can determine the color parameter value of this pixel in the first image and the color parameter value of the second image, for example: the rgb value of this pixel, to carry out the calculating of follow-up heterochromia value.
S307, with this difference as the heterochromia value between the second image and the first image;
After the second color parameter value corresponding to the first color parameter value that this pixel is corresponding in determining to obtain the first image and the second image, can calculate the difference between this second color parameter value and this first color parameter value, and with this difference of obtaining as the heterochromia value between this second image and the first image.
S308, as the deviation of taking pictures, wherein, described distortion is the color error ratio between projected image corresponding to described the first image and described the first image with the difference between this heterochromia value and specific distortion;
S309 is to the described deviation of taking pictures of this first image compensation.
In the present embodiment, step S308~step S309 and above-described embodiment step S208~step S209 is similar, do not giving unnecessary details at this.
In the present embodiment, obtain the first image of destination object in shooting after, a pixel in this first image is carried out projection, and take projected image corresponding to this pixel, to obtain the second image corresponding to the first image; And then determine the color difference between this pixel and the second image in the first image, utilize described definite color difference and the difference between the specific projection deviation to carry out color compensation to this first image, realized color correction to the captured image of electronic equipment with this.
In actual applications, can be under different photographical condition, repeatedly take, to determine the deviation of taking pictures corresponding under different photographical condition, and with the determined deviation of taking pictures as with reference to value, with under photographical condition corresponding to the described deviation of taking pictures, utilize described reference value directly to the color compensation of the first image of captured destination object, realize with this efficient that provides color of image to proofread and correct.
Need to prove, in special scenes in actual applications, can by constantly regulating the color-values of projected image, make its effect identical with destination object true picture color-values, can watch the image identical with the true picture color-values to reach the user.
Be understandable that, when the projected image of destination object and the first image corresponding to destination object is taken, also can select to take the different camera of color error ratio, and utilize color difference between described acquisition the first image and the second image, after specific computing, obtain the heterochromia value between the first image and destination object true picture, and then utilize this heterochromia value that this first image is compensated, realize color correction to this first image with this.
Description by above embodiment of the method, the those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but in a lot of situation, the former is better execution mode.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in a storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out all or part of step of the described method of each embodiment of the present invention.And aforesaid storage medium comprises: the various media that can be program code stored such as read-only memory (ROM), random access memory (RAM), magnetic disc or CD.
Corresponding to top embodiment of the method, the embodiment of the present invention also provides a kind of electronic equipment, as shown in Figure 6, can comprise:
The first taking module 110 is used for taking a destination object, to obtain the first image corresponding to described destination object;
The second taking module 120 is taken described the first image, to obtain the second image corresponding to described the first image;
Heterochromia value determination module 130 is used for the heterochromia value between definite described the second image and the first image;
Color correction module 140 is used for utilizing described heterochromia value, and described the first image is carried out color compensation, to realize the color correction to described the first image.
By the electronic equipment that utilizes the present embodiment to provide, when taking a destination object, the first taken image is taken again, obtain the second image corresponding to this first image, and then calculate heterochromia value between the first image and the second image, and utilize this heterochromia value, this first image is carried out color compensation.Compared with prior art, take to obtain heterochromia value between the second image and the first image by the first image corresponding to destination object being carried out secondary, can determine the deviation of taking pictures of the first image and destination object true picture, and then this first image is carried out color compensation, realize color correction to captured image with this.
Wherein, described the second taking module comprises:
Projecting cell is used for the first image of taken destination object is carried out projection;
Take the unit, be used for taking projected image corresponding to described the first image, to obtain the second image corresponding to described destination object.
Wherein, described heterochromia value determination module comprises:
The first color parameter determining unit is for the first color parameter value of determining described the first image one pixel;
The second color parameter determining unit is for the second color parameter value of determining pixel respective pixel point described in described the second image and the first image;
Difference computational unit is used for calculating the difference between described the second color parameter value and described the first color parameter value;
Heterochromia value determining unit is used for described difference as the heterochromia value between the second image and the first image.
Wherein, described the second taking module comprises:
Projecting cell is used for a pixel of the first image of taken destination object is carried out projection;
Take the unit, be used for taking projected image corresponding to described pixel, to obtain the second image corresponding to described destination object.
Wherein, described heterochromia value determination module comprises:
The first color parameter determining unit is for the color parameter value of determining pixel described in described the first image;
The second color parameter determining unit is for the color parameter value of determining described the second image;
Difference computational unit is used for calculating the difference of the color parameter value of pixel described in the color parameter value of described the second image and described the first image;
Heterochromia value determining unit is used for described difference as the heterochromia value between the second image and the first image.
Wherein, described color correction module comprises:
The deviation of taking pictures determining unit is used for described heterochromia value and specifically the difference between distortion is as the deviation of taking pictures, and wherein, described distortion is the color error ratio between projected image corresponding to described the first image and described the first image;
The color correction unit is used for the described deviation of taking pictures of described the first image compensation.
For device or system embodiment, due to it substantially corresponding to embodiment of the method, so relevant part gets final product referring to the part explanation of embodiment of the method.Device described above or system embodiment are only schematic, wherein said unit as the separating component explanation can or can not be also physically to separate, the parts that show as the unit can be or can not be also physical locations, namely can be positioned at a place, perhaps also can be distributed on a plurality of network element.Can select according to the actual needs wherein some or all of module to realize the purpose of the present embodiment scheme.Those of ordinary skills namely can understand and implement in the situation that do not pay creative work.
In several embodiment provided by the present invention, should be understood that, disclosed system, apparatus and method not surpassing in the application's spirit and scope, can realize in other way.Current embodiment is a kind of exemplary example, should be as restriction, and given particular content should in no way limit the application's purpose.For example, the division of described unit or subelement is only that a kind of logic function is divided, and during actual the realization, other dividing mode can be arranged, and for example a plurality of unit or a plurality of subelement combine.In addition, a plurality of unit can or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.
In addition, institute's descriptive system, the schematic diagram of apparatus and method and different embodiment, in the scope that does not exceed the application, can with other system, module, technology or method in conjunction with or integrated.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrically, machinery or other form.
The above is only the specific embodiment of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (13)

1. a color of image bearing calibration, is characterized in that, is applicable to an electronic equipment with camera function, and described method comprises:
Take a destination object, to obtain the first image corresponding to described destination object;
Take described the first image, to obtain the second image corresponding to described the first image;
Determine the heterochromia value between described the second image and the first image;
Utilize described heterochromia value, described the first image is carried out color compensation, to realize the color correction to described the first image.
2. method according to claim 1, is characterized in that, described the first image of described shooting is specially:
The first image of taken destination object is carried out projection;
Take projected image corresponding to described the first image, to obtain the second image corresponding to described destination object.
3. method according to claim 2, is characterized in that, the described heterochromia value of determining between described the second image and the first image is specially:
Determine the first color parameter value of a pixel in described the first image;
Determine the second color parameter value of pixel respective pixel point described in described the second image and the first image;
Calculate the difference between described the second color parameter value and described the first color parameter value;
With described difference as the heterochromia value between the second image and the first image.
4. method according to claim 1, is characterized in that, described the first image of described shooting is specially:
A pixel in the first image of taken destination object is carried out projection;
Take projected image corresponding to described pixel, to obtain the second image corresponding to described destination object.
5. method according to claim 4, is characterized in that, the described heterochromia value of determining between described the second image and the first image is specially:
Determine the color parameter value of pixel described in described the first image;
Determine the color parameter value of described the second image;
Calculate the difference of the color parameter value of pixel described in the color parameter value of described the second image and described the first image;
With described difference as the heterochromia value between the second image and the first image.
6. according to claim 3 or 5 described methods, is characterized in that, describedly utilizes described heterochromia value, and described the first image is carried out color compensation, is specially:
As the deviation of taking pictures, wherein, described distortion is the color error ratio between projected image corresponding to described the first image and described the first image with the difference between described heterochromia value and specific distortion;
To the described deviation of taking pictures of described the first image compensation.
7. method according to claim 6, is characterized in that, described method also comprises:
As with reference to value, with under photographical condition corresponding to the described deviation of taking pictures, utilize described reference value to the color compensation of the first image of captured destination object the determined deviation of taking pictures.
8. an electronic equipment, is characterized in that, comprising:
The first taking module is used for taking a destination object, to obtain the first image corresponding to described destination object;
The second taking module is taken described the first image, to obtain the second image corresponding to described the first image;
Heterochromia value determination module is used for the heterochromia value between definite described the second image and the first image;
The color correction module is used for utilizing described heterochromia value, and described the first image is carried out color compensation, to realize the color correction to described the first image.
9. electronic equipment according to claim 8, is characterized in that, described the second taking module comprises:
Projecting cell is used for the first image of taken destination object is carried out projection;
Take the unit, be used for taking projected image corresponding to described the first image, to obtain the second image corresponding to described destination object.
10. electronic equipment according to claim 9, is characterized in that, described heterochromia value determination module comprises:
The first color parameter determining unit is for the first color parameter value of determining described the first image one pixel;
The second color parameter determining unit is for the second color parameter value of determining pixel respective pixel point described in described the second image and the first image;
Difference computational unit is used for calculating the difference between described the second color parameter value and described the first color parameter value;
Heterochromia value determining unit is used for described difference as the heterochromia value between the second image and the first image.
11. electronic equipment according to claim 8 is characterized in that, described the second taking module comprises:
Projecting cell is used for a pixel of the first image of taken destination object is carried out projection;
Take the unit, be used for taking projected image corresponding to described pixel, to obtain the second image corresponding to described destination object.
12. electronic equipment according to claim 11 is characterized in that, described heterochromia value determination module comprises:
The first color parameter determining unit is for the color parameter value of determining pixel described in described the first image;
The second color parameter determining unit is for the color parameter value of determining described the second image;
Difference computational unit is for the difference of calculating the color parameter value of pixel described in described the second image color parameter value and described the first image;
Heterochromia value determining unit is used for described difference as the heterochromia value between the second image and the first image.
13. according to claim 10 or 12 described electronic equipments is characterized in that, described color correction module comprises:
The deviation of taking pictures determining unit is used for described heterochromia value and specifically the difference between distortion is as the deviation of taking pictures, and wherein, described distortion is the color error ratio between projected image corresponding to described the first image and described the first image;
The color correction unit is used for the described deviation of taking pictures of described the first image compensation.
CN201110430759.XA 2011-12-20 2011-12-20 A kind of image color correction method and electronic equipment Active CN103179322B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110430759.XA CN103179322B (en) 2011-12-20 2011-12-20 A kind of image color correction method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110430759.XA CN103179322B (en) 2011-12-20 2011-12-20 A kind of image color correction method and electronic equipment

Publications (2)

Publication Number Publication Date
CN103179322A true CN103179322A (en) 2013-06-26
CN103179322B CN103179322B (en) 2016-03-02

Family

ID=48638923

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110430759.XA Active CN103179322B (en) 2011-12-20 2011-12-20 A kind of image color correction method and electronic equipment

Country Status (1)

Country Link
CN (1) CN103179322B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104378612A (en) * 2013-08-12 2015-02-25 联想(北京)有限公司 Method for adjusting color balance and electronic device
CN104580922A (en) * 2014-12-02 2015-04-29 广东欧珀移动通信有限公司 Control method and device for supplemental lighting during shooting
CN104754313A (en) * 2013-12-31 2015-07-01 联想(北京)有限公司 Image collecting method and electronic device
CN105791783A (en) * 2016-03-10 2016-07-20 广州视睿电子科技有限公司 Adjusting method and system for imaging color of camera
CN107995476A (en) * 2018-01-03 2018-05-04 京东方科技集团股份有限公司 A kind of image processing method and device
CN109167992A (en) * 2018-08-08 2019-01-08 珠海格力电器股份有限公司 A kind of image processing method and device
CN110033412A (en) * 2018-01-12 2019-07-19 华为技术有限公司 A kind of image processing method and device
CN110830778A (en) * 2018-08-14 2020-02-21 杭州海康威视数字技术股份有限公司 Imaging device color correction method, imaging device color correction device, electronic device and storage medium
CN111239119A (en) * 2020-02-25 2020-06-05 西安交通大学 System and method for colorimetric detection of mercury ions based on App
CN113055659A (en) * 2021-03-11 2021-06-29 Oppo广东移动通信有限公司 Color compensation parameter generation method and device, computer equipment and storage medium
WO2024001922A1 (en) * 2022-06-27 2024-01-04 青岛海信激光显示股份有限公司 Rojection image source correction method and ultra-short throw projection device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1822660A (en) * 2005-02-14 2006-08-23 精工爱普生株式会社 Image processing system, projector, and image processing method
CN101335901A (en) * 2007-06-29 2008-12-31 三星电子株式会社 Projected picture correcting method and apparatus
CN101674443A (en) * 2009-09-08 2010-03-17 长春理工大学 Method for correcting colors of projector
CN102026003A (en) * 2010-12-24 2011-04-20 广东威创视讯科技股份有限公司 Method and device for correcting colors of multi-screen splicing wall

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1822660A (en) * 2005-02-14 2006-08-23 精工爱普生株式会社 Image processing system, projector, and image processing method
CN101335901A (en) * 2007-06-29 2008-12-31 三星电子株式会社 Projected picture correcting method and apparatus
CN101674443A (en) * 2009-09-08 2010-03-17 长春理工大学 Method for correcting colors of projector
CN102026003A (en) * 2010-12-24 2011-04-20 广东威创视讯科技股份有限公司 Method and device for correcting colors of multi-screen splicing wall

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104378612B (en) * 2013-08-12 2017-09-29 联想(北京)有限公司 A kind of method and electronic equipment for adjusting color balance
CN104378612A (en) * 2013-08-12 2015-02-25 联想(北京)有限公司 Method for adjusting color balance and electronic device
CN104754313A (en) * 2013-12-31 2015-07-01 联想(北京)有限公司 Image collecting method and electronic device
CN104580922A (en) * 2014-12-02 2015-04-29 广东欧珀移动通信有限公司 Control method and device for supplemental lighting during shooting
CN104580922B (en) * 2014-12-02 2018-03-02 广东欧珀移动通信有限公司 A kind of control method and device for shooting light filling
CN105791783B (en) * 2016-03-10 2018-11-02 广州视睿电子科技有限公司 Camera imaging color adjustment method and system
CN105791783A (en) * 2016-03-10 2016-07-20 广州视睿电子科技有限公司 Adjusting method and system for imaging color of camera
CN107995476B (en) * 2018-01-03 2020-08-14 京东方科技集团股份有限公司 Image processing method and device
CN107995476A (en) * 2018-01-03 2018-05-04 京东方科技集团股份有限公司 A kind of image processing method and device
CN110033412A (en) * 2018-01-12 2019-07-19 华为技术有限公司 A kind of image processing method and device
CN110033412B (en) * 2018-01-12 2023-12-15 华为技术有限公司 Image processing method and device
CN109167992A (en) * 2018-08-08 2019-01-08 珠海格力电器股份有限公司 A kind of image processing method and device
CN110830778A (en) * 2018-08-14 2020-02-21 杭州海康威视数字技术股份有限公司 Imaging device color correction method, imaging device color correction device, electronic device and storage medium
CN111239119A (en) * 2020-02-25 2020-06-05 西安交通大学 System and method for colorimetric detection of mercury ions based on App
CN113055659A (en) * 2021-03-11 2021-06-29 Oppo广东移动通信有限公司 Color compensation parameter generation method and device, computer equipment and storage medium
CN113055659B (en) * 2021-03-11 2022-10-25 Oppo广东移动通信有限公司 Color compensation parameter generation method and device, computer equipment and storage medium
WO2024001922A1 (en) * 2022-06-27 2024-01-04 青岛海信激光显示股份有限公司 Rojection image source correction method and ultra-short throw projection device

Also Published As

Publication number Publication date
CN103179322B (en) 2016-03-02

Similar Documents

Publication Publication Date Title
CN103179322B (en) A kind of image color correction method and electronic equipment
US10659675B2 (en) Terminal, shooting method thereof and computer storage medium
CN111510618B (en) Zooming method and electronic equipment applying same
US10171791B2 (en) Methods and apparatus for conditional display of a stereoscopic image pair
CN104363379A (en) Shooting method by use of cameras with different focal lengths and terminal
CN112714255B (en) Shooting method and device, electronic equipment and readable storage medium
CN103078924A (en) Visual field sharing method and equipment
CN104333703A (en) Method and terminal for photographing by virtue of two cameras
CN109691080B (en) Image shooting method and device and terminal
CN102955664A (en) Method and system for electronic book display adjustment
CN108513069B (en) Image processing method, image processing device, storage medium and electronic equipment
US20220343520A1 (en) Image Processing Method and Image Processing Apparatus, and Electronic Device Using Same
CN104813212A (en) Imaging device and exposure determination method
EP2760197B1 (en) Apparatus and method for processing image in mobile terminal having camera
US10380719B2 (en) Device and method for generating panorama image
US20200090309A1 (en) Method and device for denoising processing, storage medium, and terminal
CN111866378A (en) Image processing method, apparatus, device and medium
CN105554366A (en) Multimedia photographing processing method and device and intelligent terminal
CN105120153A (en) Image photographing method and device
CN107005626A (en) Camera device and its control method
CN105282428B (en) A kind of method and mobile terminal of mobile terminal shooting
CN111669572A (en) Camera module detection method and device, medium and electronic equipment
CN111654620B (en) Shooting method and device
US20190007666A1 (en) Image details processing method, apparatus, terminal, and storage medium
CN103905718A (en) Information processing method and device and electronic 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
C14 Grant of patent or utility model
GR01 Patent grant