CN112243584A - Image color correction method, shooting device and image color correction system - Google Patents

Image color correction method, shooting device and image color correction system Download PDF

Info

Publication number
CN112243584A
CN112243584A CN201980033901.1A CN201980033901A CN112243584A CN 112243584 A CN112243584 A CN 112243584A CN 201980033901 A CN201980033901 A CN 201980033901A CN 112243584 A CN112243584 A CN 112243584A
Authority
CN
China
Prior art keywords
image
color
shooting
color correction
photographing apparatus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201980033901.1A
Other languages
Chinese (zh)
Inventor
林隽曦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SZ DJI Technology Co Ltd
SZ DJI Innovations Technology Co Ltd
Original Assignee
SZ DJI Technology 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 SZ DJI Technology Co Ltd filed Critical SZ DJI Technology Co Ltd
Publication of CN112243584A publication Critical patent/CN112243584A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/68Circuits for processing colour signals for controlling the amplitude of colour signals, e.g. automatic chroma control circuits
    • H04N9/69Circuits for processing colour signals for controlling the amplitude of colour signals, e.g. automatic chroma control circuits for modifying the colour signals by gamma correction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • H04N23/81Camera processing pipelines; Components thereof for suppressing or minimising disturbance in the image signal generation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • H04N23/84Camera processing pipelines; Components thereof for processing colour signals
    • H04N23/88Camera processing pipelines; Components thereof for processing colour signals for colour balance, e.g. white-balance circuits or colour temperature control

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Processing (AREA)

Abstract

A color correction method of an image, a photographing apparatus, and a color correction system of an image, the color correction method comprising: a first photographing apparatus photographs a first image of an imaging subject (S101); the second photographing apparatus acquires the first image and the photographing condition of the first image (S102); the second photographing apparatus acquires a second image of the imaging subject under the photographing condition (S103); the second photographing apparatus updates its own color correction parameter according to the first image and the second image (S104).

Description

Image color correction method, shooting device and image color correction system
Technical Field
The present disclosure relates to the field of image processing technologies, and in particular, to a color correction method for an image, a shooting device, and a color correction system for an image.
Background
At present, in more and more occasions, for example, shooting scenes such as wedding celebration and movies, unmanned aerial vehicles in the air and cameras on the ground are used for shooting in a matching manner, and images shot by the unmanned aerial vehicles and images shot by the cameras on the ground are edited and spliced together to generate final works.
Because the objective environments are different, the shooting conditions of the unmanned aerial vehicle and the ground camera are different frequently, the difference can cause the image shot by the unmanned aerial vehicle and the image shot by the ground camera to have larger color difference, the color difference influences the quality and the effect of the final product, and the impression and the experience of a user are poor.
BRIEF SUMMARY OF THE PRESENT DISCLOSURE
The present disclosure provides a color correction method of an image, including:
a first photographing apparatus photographs a first image of an imaging object;
the second shooting equipment acquires the first image and the shooting condition of the first image;
the second shooting device acquires a second image of the imaging object under the shooting condition;
the second photographing apparatus updates its own color correction parameter according to the first image and the second image.
The present disclosure also provides a photographing apparatus, including:
a photographing unit for photographing a first image of an imaging object;
an acquisition unit configured to acquire a shooting condition when the first image is shot;
a transmission unit configured to transmit the first image and the photographing condition.
The present disclosure also provides another photographing apparatus including:
a receiving unit configured to receive a first image and a shooting condition of the first image, the first image being an image of an imaging object shot by another shooting apparatus;
an acquisition unit configured to acquire a second image of the imaging object under the shooting condition by the shooting device;
an updating unit configured to update a color correction parameter of the photographing apparatus according to the first image and the second image.
The present disclosure also provides a color correction system for an image, comprising:
the first shooting equipment is used for shooting a first image of an imaging object and acquiring shooting conditions of the first image;
and the second shooting equipment is used for acquiring the first image and the shooting condition of the first image, acquiring a second image of the imaging object under the shooting condition, and updating the color correction parameters of the second image according to the first image and the second image.
According to the technical scheme, the method has the following beneficial effects that:
the image shot by the camera and the unmanned aerial vehicle is utilized to update the color correction parameters of the unmanned aerial vehicle, so that the updated color correction parameters are consistent with the camera, and the phenomenon of color difference caused by different shooting conditions can be greatly reduced or even eliminated.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
fig. 1 is an image processing flowchart.
Fig. 2 is a flowchart of a color correction method of an image according to an embodiment of the disclosure.
Fig. 3 is a view of an application scenario for a color correction method of an image according to an embodiment of the present disclosure.
Fig. 4 is a gamma curve diagram of a color correction method of an image according to an embodiment of the present disclosure, in which (a) is a gamma curve diagram before correction, and (b) is a gamma curve diagram after correction.
Fig. 5 is an appearance diagram of the unmanned aerial vehicle in the color correction method for an image according to the embodiment of the present disclosure.
Fig. 6 is another appearance diagram of the drone in the color correction method for images according to the embodiment of the present disclosure.
Fig. 7 is a schematic structural diagram of a photographing apparatus according to still another embodiment of the present disclosure.
Fig. 8 is a schematic structural diagram of a photographing apparatus according to still another embodiment of the present disclosure.
Fig. 9 is a schematic structural diagram of a color correction system for images according to an embodiment of the disclosure.
Detailed Description
The present disclosure provides a color correction method of an image, a photographing apparatus, and a color correction system of an image. Before describing the present disclosure with the embodiments, an image processing procedure of a photographing apparatus is first described.
As shown in fig. 1, when a photographing apparatus photographs an imaging subject, light from the imaging subject first enters a lens, and an image sensor photoelectrically converts the light passing through the lens to generate an electric signal, and the image generated at this time is referred to as an original image (Raw). The Raw image cannot be directly output without subsequent processing, but is subjected to coarse correction (including black level correction, white balance correction, and the like), color correction (a color correction matrix, gamma correction, and the like), and post-processing (denoising, sharpening, and the like) in sequence to meet the image quality requirement, and the processed image is obtained and output. In the color correction method of an image, the photographing apparatus, and the color correction system of an image of the present disclosure, it is an improvement of the color correction stage in the above-described processing procedure.
The technical solution of the present disclosure will be clearly and completely described below with reference to the embodiments and the drawings in the embodiments. It is to be understood that the described embodiments are merely illustrative of some, and not restrictive, of the embodiments of the disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
An embodiment of the present disclosure provides a method for correcting color of an image, which is shown in fig. 2 and fig. 3 and includes the following steps:
step S101: the first photographing apparatus photographs a first image of an imaging subject.
Step S102: the second photographing apparatus acquires the first image and a photographing condition of the first image.
Step S103: the second photographing apparatus acquires a second image of the imaging subject under the photographing condition thereof.
Step S104: the second photographing apparatus updates its own color correction parameter according to the first image and the second image.
First, an application scenario of the present embodiment will be described. The color correction method of the present embodiment involves two photographing apparatuses: the device comprises a first shooting device and a second shooting device. These two photographing apparatuses photograph in different photographing environments, and thus there is a problem in that the colors of images differ due to different photographing conditions. In this embodiment, the color correction method will be described by taking an example in which the first photographing device is a camera, the second photographing device is an unmanned aerial vehicle, the photographing environment of the camera is the ground, and the photographing environment of the unmanned aerial vehicle is the air. The embodiment is not limited to this, and it should be understood by those skilled in the art that the first shooting device and the second shooting device may be any shooting devices other than cameras and drones, and their corresponding shooting environments may be any shooting environments other than the ground and the air, and the shooting environments may be underwater, for example.
In step S101, a first photographing apparatus photographs a first image of an imaging subject under a photographing condition in a first photographing environment. For example, the camera may photograph the imaging subject on the ground.
Since the present embodiment relates to a color correction method, the imaging subject should select a subject favorable for color correction, which generally contains a plurality of numbers of colors and has a wide distribution of colors. In one example, a color chart (color checker) is employed as an imaging object. A color chip is a card that includes a plurality of color patches, such as a 24 color chip that includes four rows and six columns of 24 color patches of different colors.
The photographing condition refers to a set of one or more photographing parameters. The photographing conditions of the present embodiment include photographing parameters related to the colors of the image. How many various shooting parameters of the shooting device are related to colors. When a photographing apparatus photographs in different photographing environments, color temperature and sensitivity (ISO) are parameters that have a large influence on color. Even when the same imaging subject is photographed, different color temperatures and sensitivities cause color differences of images. Therefore, the present embodiment selects two parameters of color temperature and ISO as the shooting conditions.
In this embodiment, in consideration of the subsequent steps, the first image includes both the Raw image and the processed image. Namely, the ground camera shoots 24 color cards on the ground, and sends the Raw image and the processed image of the color cards, and the parameters of color temperature and ISO during shooting to the second shooting equipment. The format of the processed image is not limited in this embodiment, and may be in various formats known to those skilled in the art. In the present embodiment, the following describes the processed image by taking the JPG format as an example.
In step S102, the second photographing apparatus receives the first image transmitted by the first photographing apparatus and the photographing condition of the first image. The unmanned aerial vehicle acquires a Raw image and a JPG image of a first image shot by the camera, and two shooting parameters of color temperature and ISO. In this step, the drone may first fly off the ground, receive the first image and the shooting parameters in the air. Of course, the first image and the shooting parameters may be received on the ground and then flying off the ground.
In step S103, the second photographing apparatus acquires a second image of the imaging subject under the photographing condition thereof. That is, the unmanned aerial vehicle acquires an image formed by the unmanned aerial vehicle shooting the imaging object under the shooting condition.
In this embodiment, the unmanned aerial vehicle stores the comparison table in advance, and obtains the second image by looking up the comparison table. The comparative table for this example is shown in table 1:
TABLE 1
Figure GDA0002824784220000051
Each row of the comparison table represents different color temperature values, each column represents different ISO values, and the middle position of the table is a Raw image corresponding to the color temperature value and the ISO value.
After the unmanned aerial vehicle obtains the shooting conditions, the unmanned aerial vehicle searches in the table 1 according to the color temperature and the ISO, and then a second image can be obtained. For example, if the camera takes 24 color cards, the shooting conditions are: color temperatures 2800k and ISO100, and after receiving the shooting conditions, the unmanned aerial vehicle searches for images corresponding to the color temperatures 2800k and ISO100 in table 1, so that a Raw image of a 24-color card formed by the unmanned aerial vehicle under the shooting conditions of the color temperatures 2800k and ISO100 can be obtained, and the Raw image is used as a second image. Similar operations are also performed for other photographing conditions (different color temperatures and ISO).
The drone may take a 24-color chart in advance at each shooting parameter (color temperature, ISO) to get each image in table 1, and store the shooting parameters and images in table form in the drone body. This embodiment acquires through above-mentioned mode unmanned aerial vehicle right under the shooting condition the second image of formation of image object need not to carry out actual shooting to the formation of image object at the colour correction in-process, and easy operation, swift is favorable to improving the efficiency of colour correction, has promoted user experience.
In step S104, the second photographing apparatus updates its own color correction parameter according to the first image and the second image. That is, the drone updates its color correction parameters according to the first image and the second image.
It should be noted that the color of an image can be generally represented by three attributes: brightness (luma), saturation (saturation), and hue (hue). Therefore, if the second image differs in color from the first image, it means that at least one of the three attributes is different. That is, if the above-mentioned three properties of the second image are compensated to be close to or even in agreement with the corresponding properties of the first image, this means that the image color difference between the drone and the camera is mitigated or even eliminated.
In the image processing, a Color Correction Matrix (CCM, Color Correction Matrix) and a Gamma Correction (Gamma) of a Color Correction stage are used to correct the above-described properties of the Color, respectively. Specifically, the saturation and hue can be corrected by the color correction matrix, and the brightness can be corrected by the gamma curve. Therefore, the color correction parameters of the embodiment select the color correction matrix and the gamma curve, and the color correction matrix and the gamma curve are updated, so that the color difference of the processed images of the unmanned aerial vehicle and the camera can be greatly reduced or even eliminated under the same or similar shooting conditions.
First, how to update the color correction matrix will be described. In this embodiment, the color correction matrix is updated according to the color values of the processed image of the camera and the original image of the drone in a color space, and a constraint condition, where the color space may be an RGB space, a Lab space, or an R/GR/GB/B space.
When the RGB space is adopted, assuming that the color value of the JPG image of the camera is [ R _ target, G _ target, B _ target ], the color value of the Raw image of the drone is [ R _ Raw, G _ raw.b _ Raw ], then:
Figure GDA0002824784220000071
Figure GDA0002824784220000072
wherein M isccmFor a 3 × 3 color correction matrix in RGB space:
Figure GDA0002824784220000073
equation (2) is a constraint condition, ε1The threshold value in the constraint condition can be set according to the requirement. In this embodiment, the color correction matrix M can be obtained by calculating the formulas (1) and (2) by methods such as dichotomy, gradient descent method, newton method, and genetic algorithmccm
If the camera and the unmanned aerial vehicle adopt an R/GR/GB/B space, the color value [ R _ target, GR _ target, GB _ target, B _ target ] of the JPG image of the camera needs to be adjusted]Color value [ R _ Raw, GR _ Raw, GB _ Raw, B _ Raw ] of Raw image of unmanned aerial vehicle]And converting to obtain the color value of the RGB space.
Figure GDA0002824784220000075
The R conversion formula is as follows:
G=0.5*(GR+GB) (3)
then reuse the above
Figure GDA0002824784220000076
(2) Obtaining a color correction matrix Mccm
When the RGB or R/GR/GB/B space is adopted, the color value of the space can be converted into the Lab space, and then the color correction matrix is calculated through the color value of the Lab space. Wherein, the conversion formula of the Lab space is as follows:
Figure GDA0002824784220000074
by formula (4), the color values of the RGB space of the camera and drone can be converted to the color values of the Lab space.
The color correction matrix is then calculated by the following formula.
Figure GDA0002824784220000081
Figure GDA0002824784220000082
Wherein, M'ccmIs a 3X 3 color correction matrix in Lab space with equation (6) as a constraint2The threshold value in the constraint condition can be set according to the requirement. In this embodiment, the color correction matrix M 'can be obtained by calculating the equations (5) and (6) by methods such as dichotomy, gradient descent method, newton method, and genetic algorithm'ccm
How the gamma curve is updated is then described. In this embodiment, the unmanned aerial vehicle first obtains the gamma curve of the camera according to the original image and the processed image of the camera, and then updates the gamma curve of the unmanned aerial vehicle according to the difference between the gamma curve of the unmanned aerial vehicle and the gamma curve of the camera.
Specifically, as shown in fig. 4(a), first, the drone may obtain a gamma curve of the camera by analyzing the Raw image and the JPG image of the camera. The abscissa of the gamma curve represents the input luminance value and the ordinate represents the output luminance value. That is, for an image, after it is corrected by the gamma curve, the corrected brightness value can be found out on the gamma curve according to the brightness value before it is corrected.
In this embodiment, the gamma curve of the camera is obtained from the same partial region of the Raw image and the JPG image. As in fig. 4(a), the gamma curve is obtained from the six gray color blocks of the fourth row of the 24 color card. This has the advantage of requiring a smaller amount of data to be analyzed, which is beneficial to simplify the color correction method and improve the efficiency of the color correction method. Of course, fig. 4(a) is also only an exemplary illustration, and the partial area may also select several other color blocks in the 24-color card instead of the six gray color blocks in the fourth row, and these color blocks may be, for example, color blocks with high saturation and skin color. In other examples, the gamma curve of the camera can also be obtained from all the areas of the Raw image and the JPG image, i.e., all 24 patches of the 24 color card.
The drone has its own gamma curve, but due to differences between, for example, image sensors of the capture device, the gamma curve of the drone is generally not consistent with the gamma curve of the camera. As shown in fig. 4(a), it shows the difference between the gamma curve of the drone and the gamma curve of the camera. Therefore, after obtaining the gamma curve of the camera, the drone analyzes the difference between its own gamma curve and the gamma curve of the camera, and updates its own gamma curve according to the difference, as shown in fig. 4(b), where the updated gamma curve is consistent or substantially consistent with the gamma curve of the camera.
According to the color correction method of the image, the camera and the image shot by the unmanned aerial vehicle are utilized to update the color correction parameters of the unmanned aerial vehicle, so that the updated color correction parameters are consistent with the camera, and the color difference phenomenon caused by different shooting conditions can be greatly reduced or even eliminated.
It should be noted that, how to update the color correction matrix and the gamma curve is described above, in this embodiment, one of the color correction matrix and the gamma curve may be updated, which may also improve the color difference caused by different shooting conditions to some extent. When the color correction matrix and the gamma curve are updated, the order of the color correction matrix and the gamma curve is not limited in this embodiment, and the color correction matrix and the gamma curve may be updated first or vice versa.
Similar to step S102, the drone may fly off the ground first, perform steps S103 and S104 in the air, or may stay on the ground, perform steps S103 and S104 on the ground, and then fly off the ground.
In this embodiment, the color correction method may further include the steps of:
the second photographing apparatus performs photographing in a photographing environment different from the first photographing apparatus using the updated color correction parameter.
If the unmanned aerial vehicle still stays on the ground or is already in the air but does not arrive at the shooting place, the unmanned aerial vehicle flies to the shooting place and then executes the step.
In the aerial shooting place, the unmanned aerial vehicle shoots the target to obtain the Raw image. In the image processing process, the Raw image is processed by utilizing the updated color correction parameters, so that the shot processed image has little or no color difference compared with the processed image shot by the camera, and the image of the unmanned aerial vehicle and the image of the camera can be directly edited and spliced together to generate a final work when the image is processed in the later period, thereby improving the quality and effect of the final work and improving the impression and experience of a user.
For brief description, the same or similar features as those of the previous embodiment are not repeated, and only the features different from those of the previous embodiment are described below.
The present embodiment is different from the previous embodiment in that in step S103, the second photographing apparatus acquires a second image of the subject under photographing conditions in a different manner.
Specifically, in this embodiment, the unmanned aerial vehicle also stores the comparison table in advance, and obtains the second image by looking up the comparison table. However, the comparison table of this embodiment is different from the previous embodiment, and is shown in table 2:
TABLE 2
Figure GDA0002824784220000101
Each row of the comparison table represents different color temperature values, each column represents different ISO values, and the middle position of the table is not a Raw image corresponding to the color temperature values and the ISO values, but color values of 24 color blocks in a 24-color card.
After the unmanned aerial vehicle obtains the shooting condition, the color value of the second image can be obtained by searching in the table 2 according to the color temperature and the ISO. For example, if the camera takes 24 color cards, the shooting conditions are: color temperature 2800k, ISO100, unmanned aerial vehicle receive this shooting condition after, look for the color value that color temperature 2800k, ISO100 correspond in table 2, can obtain unmanned aerial vehicle under the shooting condition of color temperature 2800k, ISO100, the color value of the Raw image of 24 color chips that becomes. Similar operations are also performed for other photographing conditions (different color temperatures and ISO).
The drone can shoot 24 colour cards under each shooting parameter (colour temperature, ISO) in advance to get the colour values in table 2, and store the shooting parameters and colour values in tabular form in the drone fuselage. This embodiment acquires through above-mentioned mode unmanned aerial vehicle right under the shooting condition the second image of formation of image object need not to carry out actual shooting to the formation of image object at the colour correction in-process, and easy operation, swift is favorable to improving the efficiency of colour correction, has promoted user experience.
In table 2, the drone uses R/GR/GB/B space, but the embodiment is not limited thereto, and it may use other color spaces, such as RGB space, Lab space, and the like. When the RGB space is used, table 2 stores color values of the RGB space, and when the Lab space is used, table 2 stores color values of the Lab space.
This embodiment is except possessing the technological effect of last embodiment, because it is the colour value that its storage is, rather than the image, the memory space that the colour value occupy is little than the memory space that the image occupied, can reduce the occupation to unmanned aerial vehicle storage resource from this, saves unmanned aerial vehicle's memory space.
For brief description, the same or similar features as those of the above embodiments are not repeated, and only the features different from those of the above embodiments are described below.
The present embodiment is different from the above-described embodiments in that the second photographing apparatus acquires the second image of the imaging object under the photographing condition thereof in a different manner in step S103. The second shooting device is located in a shooting environment different from that of the first shooting device, and shoots an imaging object under shooting conditions to obtain a second image.
Specifically, in step S103, the unmanned aerial vehicle is in the air, above the shooting location. The unmanned aerial vehicle shoots the 24 color cards on site in the air under the same shooting condition as that of shooting the 24 color cards by the camera, so that Raw images of the 24 color cards are obtained.
The drone can photograph the entire area of the 24 color chip. Consider that unmanned aerial vehicle's fuselage size is limited, the unmanned aerial vehicle of this embodiment only shoots the subregion of 24 colour chips to unmanned aerial vehicle only need carry this subregion of 24 colour chips can.
For low saturation colors and grays, the effect on the human eye is limited due to its low saturation. Therefore, the present embodiment selects only the high saturation region and the skin color region for shooting. When the colors of the high saturation region and the skin color region are determined, the color gamut of the unmanned aerial vehicle can be substantially determined, and the colors inside the color gamut can be well influenced, so that the limited space on the unmanned aerial vehicle is effectively utilized.
In this embodiment, the color patches at the following positions of the 24 color patch are selected: the first row and the sixth column, the second row and the first column, the second row and the fourth column, the second row and the sixth column, and the third row and the first column to the fifth column are fixed on the unmanned aerial vehicle, for example, fixed on a foot stool of the unmanned aerial vehicle, and located in the visual field range of a camera of the unmanned aerial vehicle, as shown in fig. 5. The unmanned aerial vehicle adjusts shooting parameters (color temperature and ISO) in the air, the shooting conditions are set to be the same as those when the camera shoots 24 color cards on the ground, the color blocks are shot on site, and the obtained Raw image serves as a second image.
When the unmanned aerial vehicle is in the air, the shooting condition the same as that of the ground camera is difficult to achieve sometimes due to the limitation of objective conditions. For example, when the drone is in a shadow area, the color temperature of the shadow area may be different from the ground on which the camera is located. In this case, the required shooting condition may not be achieved only by the camera of the unmanned aerial vehicle. Therefore, in this embodiment, the second photographing apparatus compensates the photographing environment by using the environment compensation device to achieve the photographing condition.
As shown in fig. 6, the environment compensation device of this embodiment is a flash lamp with adjustable color temperature, and is installed on the body of the unmanned aerial vehicle, so as to compensate the color temperature of the shooting environment. For improving the color temperature compensation effect, the unmanned aerial vehicle is also provided with a color temperature sensor, and the color temperature sensor is used for detecting the color temperature of the shooting place. The environment compensation device compensates the color temperature of the shooting environment according to the color temperature detection result, namely, if the color temperature of the shooting place and the color temperature of the ground camera have a difference value, the flash lamp compensates the difference value.
By arranging the flash lamp, the color temperature above the shooting place can be ensured to be the same as the ground color temperature of the camera, so that the accuracy of the color compensation method is improved, and the color compensation effect is further ensured.
For brief description, the same or similar features as those of the above embodiments are not repeated, and only the features different from those of the above embodiments are described below.
The present embodiment is different from the previous embodiment in that in step S103, the second photographing apparatus is located in the same photographing environment as the first photographing apparatus, and photographs the imaging object under the photographing conditions to obtain the second image.
Specifically, in step S103, the drone is also located on the ground, is in the same shooting condition as the camera, and shoots the 24-color card on site, thereby obtaining a Raw image of the 24-color card.
In this embodiment, since the unmanned aerial vehicle also photographs the 24-color chart on the ground, the same photographing conditions as those of the camera can be achieved. During concrete implementation, can shoot earlier by unmanned aerial vehicle, then the camera shoots again, also can be opposite, perhaps, unmanned aerial vehicle and camera shoot simultaneously. Because unmanned aerial vehicle is on ground, so need not to set up the colour chip on unmanned aerial vehicle to can shoot the whole regions of colour chip, simultaneously owing to can realize being identical completely with the shooting condition of camera, so also need not the double-lamp and carry out the colour temperature compensation, realize simple, swift, thereby further improved the accuracy of colour compensation method, guaranteed the colour compensation effect.
Still another embodiment of the present disclosure provides a photographing apparatus for photographing an imaging object in a photographing environment, as shown in fig. 7, the photographing apparatus including: the device comprises a shooting unit, an acquisition unit and a sending unit.
In the present embodiment, a camera is taken as an example to describe the shooting device, but it should be understood by those skilled in the art that the shooting device may be any shooting device except a camera, and its corresponding shooting environment may also be any shooting environment except the ground, and the shooting environment may also be, for example, air, underwater, etc.
The photographing unit is used for photographing a first image of an imaging object. In one example, the photographing unit includes: a lens of a camera and an image sensor.
The acquisition unit is connected with the shooting unit and used for acquiring shooting conditions when the first image is shot. The acquisition unit may be an image processor of the camera.
The sending unit is connected with the acquiring unit and used for sending the first image and the shooting condition. The transmitting unit may be a wired or wireless communication module.
In the present embodiment, the imaging subject is a color chart, particularly a 24 color chart. The first image includes: a raw image of a 24 color card and a processed image. The shooting conditions include: photographing parameters related to colors of an image, i.e., color temperature and sensitivity.
Still another embodiment of the present disclosure provides a photographing apparatus for photographing an imaging object in a photographing environment, wherein the photographing environment of the present embodiment is different from that of the previous embodiment. As shown in fig. 8, the photographing apparatus includes: the device comprises a receiving unit, an obtaining unit and an updating unit.
In the present embodiment, an unmanned aerial vehicle is taken as an example to describe the shooting device, but it should be understood by those skilled in the art that the shooting device may be any shooting device except an unmanned aerial vehicle, and the corresponding shooting environment may also be any shooting environment except the air, and the shooting environment may also be, for example, the ground, underwater, etc.
The receiving unit is a wired or wireless communication module, is in mutual communication with the sending unit of the previous embodiment, and is used for receiving the first image sent by the shooting device of the previous embodiment and the shooting condition of the first image.
The acquiring unit is connected with the receiving unit and is used for acquiring a second image of the imaging object under the shooting condition of the shooting device of the embodiment.
The updating unit is connected with the acquiring unit and used for updating the color correction parameters of the shooting device according to the first image and the second image.
In the present embodiment, the imaging subject is a color chart, particularly a 24 color chart. The first image includes: an original image and a processed image of a 24 color chip, the second image comprising: original image of 24 color card. The shooting conditions include: photographing parameters related to image colors: color temperature, sensitivity.
In one example, the obtaining unit includes: image processor of unmanned aerial vehicle camera. The drone further comprises a memory. The memory stores a comparison table, and the image processor obtains a second image by looking up the comparison table. In this embodiment, each row of the comparison table represents a different color temperature value, each column represents a different ISO value, and the middle position of the table is a Raw image or a color value corresponding to the color temperature value and the ISO value.
After the unmanned aerial vehicle obtains the shooting conditions, searching in a comparison table according to the color temperature and the ISO, and obtaining a second image. For example, if the camera takes 24 color cards, the shooting conditions are: and after the unmanned aerial vehicle receives the shooting conditions, images or color values corresponding to the color temperatures 2800k and ISO100 are searched in a comparison table, so that a Raw image or color value of a 24-color card formed by the unmanned aerial vehicle under the shooting conditions of the color temperatures 2800k and ISO100 can be obtained, and the Raw image or color value is used as a second image. Similar operations are also performed for other photographing conditions (different color temperatures and ISO).
The drone may shoot the 24 color cards in advance under each shooting parameter (color temperature, ISO) to get each image or color value in the look-up table, and store the shooting parameters and images in, or color value table form in the memory. This embodiment acquires through above-mentioned mode unmanned aerial vehicle right under the shooting condition the second image of formation of image object need not to carry out actual shooting to the formation of image object at the colour correction in-process, and easy operation, swift is favorable to improving the efficiency of colour correction, has promoted user experience.
In another example, the drone is in the air, above the shooting site. The unmanned aerial vehicle shoots the 24 color cards on site in the air under the same shooting condition as that of shooting the 24 color cards by the camera, so that Raw images of the 24 color cards are obtained. The acquisition unit includes: the camera lens of unmanned aerial vehicle camera, image sensor and image processor.
The drone can photograph the entire area of the 24 color chip. Consider that unmanned aerial vehicle's fuselage size is limited, the unmanned aerial vehicle of this embodiment only shoots the subregion of 24 colour chips to unmanned aerial vehicle only need carry this subregion of 24 colour chips can.
For low saturation colors and grays, the effect on the human eye is limited due to its low saturation. Therefore, the present embodiment selects only the high saturation region and the skin color region for shooting. When the colors of the high saturation region and the skin color region are determined, the color gamut of the unmanned aerial vehicle can be substantially determined, and the colors inside the color gamut can be well influenced, so that the limited space on the unmanned aerial vehicle is effectively utilized.
In this embodiment, the color patches at the following positions of the 24 color patch are selected: the first row and the sixth column, the second row and the first column, the second row and the fourth column, the second row and the sixth column, and the third row and the first column to the fifth column are fixed on the unmanned aerial vehicle, for example, fixed on a foot stool of the unmanned aerial vehicle, and positioned in the visual field range of a camera of the unmanned aerial vehicle. The unmanned aerial vehicle adjusts shooting parameters (color temperature and ISO) in the air, the shooting conditions are set to be the same as those when the camera shoots 24 color cards on the ground, the color blocks are shot on site, and the obtained Raw image serves as a second image.
When the unmanned aerial vehicle is in the air, the shooting condition the same as that of the ground camera is difficult to achieve sometimes due to the limitation of objective conditions. For example, when the drone is in a shadow area, the color temperature of the shadow area may be different from the ground on which the camera is located. In this case, the required shooting condition may not be achieved only by the camera of the unmanned aerial vehicle. Therefore, in this embodiment, unmanned aerial vehicle still is provided with environment compensation arrangement, can compensate the shooting environment to reach the shooting condition.
The environment compensation arrangement of this embodiment is the flash light of adjustable colour temperature, installs on unmanned aerial vehicle's fuselage, can compensate the colour temperature of shooting the environment. For improving the color temperature compensation effect, the unmanned aerial vehicle is also provided with a color temperature sensor, and the color temperature sensor is used for detecting the color temperature of the shooting place. The environment compensation device compensates the color temperature of the shooting environment according to the color temperature detection result, namely, if the color temperature of the shooting place and the color temperature of the ground camera have a difference value, the flash lamp compensates the difference value.
By arranging the flash lamp, the color temperature above the shooting place can be ensured to be the same as the ground color temperature of the camera, so that the accuracy of the color compensation method is improved, and the color compensation effect is further ensured.
And the unmanned aerial vehicle updates the color correction matrix according to the color values of the processed image of the camera and the original image of the unmanned aerial vehicle in a color space and a constraint condition, wherein the color space can be an RGB space, a Lab space or an R/GR/GB/B space. It should be noted that, when the acquiring unit is an image processor of the unmanned aerial vehicle camera, the image processor serves as both the acquiring unit and the updating unit, or the acquiring unit and the updating unit are combined into one. When the acquiring unit includes: the updating unit may be an image processor in the acquisition unit, when the lens, the image sensor and the image processor of the drone camera are used.
When the RGB space is adopted, assuming that the color value of the JPG image of the camera is [ R _ target, G _ target, B _ target ], the color value of the Raw image of the drone is [ R _ Raw, G _ Raw, B _ Raw ], then:
Figure GDA0002824784220000161
Figure GDA0002824784220000162
wherein M isccmFor a 3 × 3 color correction matrix in RGB space:
Figure GDA0002824784220000163
equation (8) is a constraint condition, ε1The threshold value in the constraint condition can be set according to the requirement. In this embodiment, the color correction matrix M can be obtained by calculating the formulas (7) and (8) by methods such as dichotomy, gradient descent method, newton method, and genetic algorithmccm
If the camera and the unmanned aerial vehicle adopt an R/GR/GB/B space, the color value [ R _ target, GR _ target, GB _ target, B _ target ] of the JPG image of the camera and the color value [ R _ Raw, GR _ Raw, GB _ Raw, B _ Raw ] of the Raw image of the unmanned aerial vehicle need to be converted so as to obtain the color value of the RGB space. Wherein, the conversion formula is as follows:
R=R
G=0.5*(GR+GB) (9)
B=B
then, the above formulas (7) and (8) are used to obtain the color correction matrix Mccm
When the RGB or R/GR/GB/B space is adopted, the color value of the space can be converted into the Lab space, and then the color correction matrix is calculated through the color value of the Lab space. Wherein, the conversion formula of the Lab space is as follows:
Figure GDA0002824784220000172
by formula (10), the color values of the RGB space of the camera and drone can be converted to the color values of the Lab space.
The color correction matrix is then calculated by the following formula.
Figure GDA0002824784220000173
Figure GDA0002824784220000174
Wherein, M'ccmIs a 3X 3 color correction matrix in Lab space with equation (12) as a constraint2The threshold value in the constraint condition can be set according to the requirement. In this embodiment, the color correction matrix M 'can be obtained by calculating the equations (11) and (12) by a dichotomy method, a gradient descent method, a newton method, a genetic algorithm, and the like'ccm
In this embodiment, the unmanned aerial vehicle first obtains the gamma curve of the camera according to the original image and the processed image of the camera, and then updates the gamma curve of the unmanned aerial vehicle according to the difference between the gamma curve of the unmanned aerial vehicle and the gamma curve of the camera.
Specifically, first, the drone may obtain a gamma curve of the camera by analyzing the Raw image and the JPG image of the camera. In this embodiment, the gamma curve of the camera is obtained from the same partial region of the Raw image and the JPG image. For example, the gamma curve is obtained from the six gray color blocks in the fourth row of the 24 color card. This has the advantage of requiring a smaller amount of data to be analyzed, which is beneficial to simplify the color correction method and improve the efficiency of the color correction method. Of course, the partial area may also select several other color blocks in the 24 color card instead of the six gray color blocks in the fourth row, and these color blocks may be, for example, color blocks with high saturation and skin color. In other examples, the gamma curve of the camera can also be obtained from all the areas of the Raw image and the JPG image, i.e., all 24 patches of the 24 color card.
The drone has its own gamma curve, but due to differences between, for example, image sensors of the capture device, the gamma curve of the drone is generally not consistent with the gamma curve of the camera. Therefore, after the gamma curve of the camera is obtained, the unmanned aerial vehicle analyzes the difference between the gamma curve of the unmanned aerial vehicle and the gamma curve of the camera, the gamma curve of the unmanned aerial vehicle is updated according to the difference, and the updated gamma curve is consistent or basically consistent with the gamma curve of the camera.
The shooting equipment of this embodiment utilizes the image that camera and unmanned aerial vehicle shot to realize the update to unmanned aerial vehicle's color correction parameter for the color correction parameter after the update is unanimous with the camera, thereby can greatly alleviate or even eliminate the color difference phenomenon that leads to because the shooting condition is different.
It should be noted that, how to update the color correction matrix and the gamma curve is described above, in this embodiment, one of the color correction matrix and the gamma curve may be updated, which may also improve the color difference caused by different shooting conditions to some extent. When the color correction matrix and the gamma curve are updated, the order of the color correction matrix and the gamma curve is not limited in this embodiment, and the color correction matrix and the gamma curve may be updated first or vice versa.
In this embodiment, the second photographing apparatus further performs photographing in a photographing environment different from that of the first photographing apparatus using the updated color correction parameter.
If the unmanned aerial vehicle still stays on the ground or is already in the air but does not arrive at the shooting place, the unmanned aerial vehicle flies to the shooting place and then executes the step.
In the aerial shooting place, the unmanned aerial vehicle shoots the target to obtain the Raw image. In the image processing process, the Raw image is processed by utilizing the updated color correction parameters, so that the shot processed image has little or no color difference compared with the processed image shot by the camera, and the image of the unmanned aerial vehicle and the image of the camera can be directly edited and spliced together to generate a final work when the image is processed in the later period, thereby improving the quality and effect of the final work and improving the impression and experience of a user.
An embodiment of the present disclosure further provides a color correction system for an image, as shown in fig. 9, including: the imaging apparatus includes a first photographing apparatus that photographs an imaging subject in a first photographing environment, and a second photographing apparatus that photographs the imaging subject in a second photographing environment. The first photographing apparatus of the present embodiment may be a photographing apparatus in still another embodiment of the present disclosure, and the second photographing apparatus may be a photographing apparatus in still another embodiment of the present disclosure.
In this embodiment, the first shooting device may be a camera, the second shooting device may be an unmanned aerial vehicle, the shooting environment of the camera is the ground, and the shooting environment of the unmanned aerial vehicle is the air. The embodiment is not limited to this, and it should be understood by those skilled in the art that the first shooting device and the second shooting device may be any shooting devices other than cameras and drones, and their corresponding shooting environments may be any shooting environments other than the ground and the air, and the shooting environments may be underwater, for example.
The first shooting device is used for shooting a first image of an imaging object and acquiring shooting conditions of the first image.
The second shooting equipment is used for acquiring the first image and the shooting condition of the first image, acquiring a second image of the imaging object under the shooting condition, and updating the color correction parameters of the second image according to the first image and the second image.
In the present embodiment, the imaging subject is a color chart, particularly a 24 color chart. The first image includes: an original image and a processed image, the second image comprising: an original image.
The shooting conditions include: photographing parameters related to image colors: color temperature, sensitivity.
The second shooting device is used for searching a comparison table to obtain the second image of the imaging object corresponding to the shooting condition. Wherein, the comparison table reflects the corresponding relation of the following two data: the shooting parameters and the image of the imaging object under the shooting parameters; or the shooting parameters and the color values of the images of the imaging objects under the shooting parameters. The color values may be RGB, R/GR/GB/B, Lab spatial color values. The comparison table is stored in the second shooting device.
The second shooting device is located in a shooting environment different from the first shooting device, and shoots the imaging object under the shooting condition to obtain the second image. Wherein the second photographing apparatus is used to photograph the whole or partial region of the imaging object. The partial region includes: high saturation and/or skin tone regions of the imaging subject. The partial area at least comprises color blocks of the following positions of 24 color cards: the display device comprises a first row, a sixth column, a second row, a first column, a second row, a fourth column, a second row, a sixth column, a third row, a first column and a fifth column.
The second photographing apparatus includes: and the environment compensation device is used for compensating the shooting environment so as to achieve the shooting condition. The environment compensation device is a flash lamp with adjustable color temperature so as to compensate the color temperature of the shooting environment.
The second photographing apparatus further includes: and the environment compensation device is used for compensating the color temperature of the shooting environment according to a color temperature detection result.
The second shooting device is located in the same shooting environment as the first shooting device, and shoots the imaging object under the shooting condition to obtain the second image.
The color correction parameters include at least one of the following parameters: color correction matrix, gamma curve.
And the second shooting device updates the color correction matrix according to the color values of the processed image and the original image of the second shooting device in a color space and a constraint condition. The color correction matrix is calculated by at least the following method: dichotomy, gradient descent, newton's method, genetic algorithm. The color space comprises at least: RGB, Lab space.
And the second shooting equipment converts the color values of the processed image and the original image of the second shooting equipment in an R/GR/GB/B space so as to obtain the color value of the RGB space. And the second shooting equipment converts the color values of the processed image and the original image of the second shooting equipment in the RGB space to obtain the color value of the Lab space.
And the second shooting device obtains a gamma curve of the first shooting device according to the original image and the processed image of the first shooting device, and updates the gamma curve of the second shooting device according to the difference between the gamma curve of the second shooting device and the gamma curve of the first shooting device.
The second shooting device obtains the first gamma curve according to the same partial area of the original image and the processed image. The partial region includes at least: high saturation, skin tone, gray regions of the imaged object.
The second photographing apparatus performs photographing in a photographing environment different from the first photographing apparatus using the updated color correction parameter.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present disclosure, and not for limiting the same; while the present disclosure has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; features in embodiments of the disclosure may be combined arbitrarily, without conflict; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present disclosure.

Claims (97)

1. A method of color correction of an image, comprising:
a first photographing apparatus photographs a first image of an imaging object;
the second shooting equipment acquires the first image and the shooting condition of the first image;
the second shooting device acquires a second image of the imaging object under the shooting condition;
the second photographing apparatus updates its own color correction parameter according to the first image and the second image.
2. The color correction method according to claim 1, wherein the imaging object is a color chart.
3. The color correction method according to claim 1, wherein the first image includes: an original image and a processed image; and/or, the second image comprises: an original image.
4. The color correction method according to claim 1, wherein the photographing condition includes: photographing parameters related to colors of the image.
5. The color correction method according to claim 4, wherein the shooting parameter includes at least one of: color temperature, sensitivity.
6. The color correction method according to claim 1, wherein the second photographing apparatus acquiring the second image of the imaging subject under the photographing condition thereof comprises:
and the second shooting equipment searches a comparison table to obtain the second image of the imaging object corresponding to the shooting condition.
7. The color correction method according to claim 6, wherein the look-up table reflects a correspondence between:
the shooting parameters;
and the image of the imaging object under the shooting parameters.
8. The color correction method according to claim 6, wherein the look-up table reflects a correspondence between:
the shooting parameters;
and the color value of the image formed by the imaging object under the shooting parameters.
9. The color correction method of claim 8, wherein the color values comprise at least: color values in RGB, R/GR/GB/B, Lab space.
10. The color correction method according to claim 6, wherein the look-up table is stored in the second photographing apparatus.
11. The color correction method according to claim 1, wherein the second photographing apparatus acquiring the second image of the imaging subject under the photographing condition thereof comprises:
the second shooting device is located in a shooting environment different from the first shooting device, and shoots the imaging object under the shooting condition to obtain the second image.
12. The color correction method according to claim 11, wherein the second photographing apparatus photographs the whole or a partial region of the imaging subject.
13. The color correction method according to claim 12, wherein the partial region includes: high saturation and/or skin tone regions of the imaging subject.
14. The color correction method according to claim 13, wherein the partial area includes at least color patches of the following positions of 24 color patches:
the display device comprises a first row, a sixth column, a second row, a first column, a second row, a fourth column, a second row, a sixth column, a third row, a first column and a fifth column.
15. The color correction method according to claim 11, wherein the second photographing apparatus compensates the photographing environment using an environment compensation device to achieve the photographing condition.
16. The color correction method according to claim 15, wherein the environment compensation means includes at least: and the flash lamp can adjust the color temperature so as to compensate the color temperature of the shooting environment.
17. The color correction method of claim 16, wherein the second photographing apparatus detects a color temperature of the photographing environment using a color temperature sensor, and the environment compensation means compensates for the color temperature of the photographing environment according to the color temperature detection result.
18. The color correction method according to claim 1, wherein the second photographing apparatus acquiring the second image of the imaging subject under the photographing condition thereof comprises:
the second shooting device is located in the same shooting environment as the first shooting device, and shoots the imaging object under the shooting condition to obtain the second image.
19. The color correction method according to claim 1, wherein the color correction parameters include at least one of: color correction matrix, gamma curve.
20. The color correction method according to claim 19, wherein the first image comprises a processed image, and the second image comprises an original image;
the second photographing apparatus updating its own color correction parameter according to the first image and the second image, including:
and updating the color correction matrix according to the color values of the processed image and the original image in a color space and a constraint condition.
21. The color correction method according to claim 20, wherein the color correction matrix is calculated by at least: dichotomy, gradient descent, newton's method, genetic algorithm.
22. The color correction method according to claim 20, wherein the color space includes at least: RGB, Lab space.
23. The color correction method according to claim 22, wherein the color values of the processed image and the original image in R/GR/GB/B space are converted to obtain the color values in RGB space.
24. The color correction method of claim 22, wherein the color values of the processed image and the original image in RGB space are converted to obtain the color values in Lab space.
25. The color correction method according to claim 19, wherein the first image includes an original image and a processed image;
the second photographing apparatus updating its own color correction parameter according to the first image and the second image, including:
obtaining a gamma curve of the first shooting device according to the original image and the processed image;
updating the gamma curve of the second photographing apparatus according to a difference between the gamma curve of the second photographing apparatus and the gamma curve of the first photographing apparatus.
26. The color correction method according to claim 25, wherein the gamma curve of the first photographing apparatus is derived from the same partial area of both the original image and the processed image.
27. The color correction method according to claim 26, wherein the partial region includes at least: high saturation, skin tone, gray regions of the imaged object.
28. The color correction method according to claim 1, further comprising: the second photographing apparatus performs photographing in a photographing environment different from the first photographing apparatus using the updated color correction parameter.
29. The color correction method according to claim 11, 18 or 28, wherein the shooting environment includes at least: ground, air, underwater.
30. The color correction method according to claim 29,
the first shooting equipment is a camera, and the shooting environment of the camera is the ground;
the second shooting equipment is an unmanned aerial vehicle, and the shooting environment of the unmanned aerial vehicle is aerial.
31. A photographing apparatus, comprising:
a photographing unit for photographing a first image of an imaging object;
an acquisition unit configured to acquire a shooting condition when the first image is shot;
a transmission unit configured to transmit the first image and the photographing condition.
32. The photographing apparatus of claim 31, wherein the imaging object is a color chart.
33. The photographing apparatus of claim 31, wherein the first image comprises: an original image and a processed image.
34. The photographing apparatus of claim 31, wherein the photographing conditions include: photographing parameters related to colors of the image.
35. The photographing apparatus of claim 34, wherein the photographing parameters include at least one of: color temperature, sensitivity.
36. The photographing apparatus of claim 31, wherein the photographing environment of the photographing apparatus includes at least: ground, air, underwater.
37. The photographing apparatus of claim 36, wherein the photographing apparatus is a camera, and a photographing environment of the camera is a ground.
38. A photographing apparatus, comprising:
a receiving unit configured to receive a first image and a shooting condition of the first image, the first image being an image of an imaging object shot by another shooting apparatus;
an acquisition unit configured to acquire a second image of the imaging object under the shooting condition by the shooting device;
an updating unit configured to update a color correction parameter of the photographing apparatus according to the first image and the second image.
39. The photographing apparatus of claim 38, wherein the imaging object is a color chart.
40. The photographing apparatus of claim 38, wherein the first image comprises: an original image and a processed image; and/or, the second image comprises: an original image.
41. The photographing apparatus of claim 38, wherein the photographing conditions include: photographing parameters related to colors of the image.
42. The photographing apparatus of claim 41, wherein the photographing parameters include at least one of: color temperature, sensitivity.
43. The photographing apparatus of claim 38, wherein the acquisition unit is configured to look up a lookup table for the second image of the imaging object corresponding to the photographing condition.
44. The photographing apparatus of claim 43, wherein the lookup table reflects a correspondence of:
the shooting parameters;
and the image of the imaging object under the shooting parameters.
45. The photographing apparatus of claim 43, wherein the lookup table reflects a correspondence of:
the shooting parameters;
and the color value of the image formed by the imaging object under the shooting parameters.
46. The photographing apparatus of claim 45, wherein the color values include at least: color values in RGB, R/GR/GB/B, Lab space.
47. The photographing apparatus of claim 43, further comprising: and the storage unit is used for storing the comparison table.
48. The photographing apparatus according to claim 38, wherein the photographing apparatus is located in a photographing environment different from the other photographing apparatus, and the acquisition unit photographs the imaging object under the photographing condition, resulting in the second image.
49. The photographing apparatus of claim 48, wherein the acquisition unit photographs a whole or a partial region of the imaging object.
50. The photographing apparatus of claim 49, wherein the partial area comprises: high saturation and/or skin tone regions of the imaging subject.
51. The photographing apparatus of claim 50, wherein the partial area includes at least color patches of the following positions of 24-color patches:
the display device comprises a first row, a sixth column, a second row, a first column, a second row, a fourth column, a second row, a sixth column, a third row, a first column and a fifth column.
52. The photographing apparatus of claim 48, further comprising: and the environment compensation device is used for compensating the shooting environment so as to achieve the shooting condition.
53. The photographing apparatus of claim 52, wherein the environment compensation means includes at least: and the flash lamp can adjust the color temperature so as to compensate the color temperature of the shooting environment.
54. The photographing apparatus of claim 53, further comprising: and the environment compensation device is used for compensating the color temperature of the shooting environment according to a color temperature detection result.
55. The photographing apparatus of claim 38, wherein the photographing apparatus is located in the same photographing environment as the other photographing apparatus, and the acquisition unit is configured to photograph the imaging object under the photographing condition, resulting in the second image.
56. The photographing apparatus of claim 38, wherein the color correction parameter comprises at least one of: color correction matrix, gamma curve.
57. The camera device of claim 56, wherein the first image comprises a processed image and the second image comprises an original image;
the updating unit is used for updating the color correction matrix according to the color values of the processed image and the original image in a color space and a constraint condition.
58. The photographing apparatus of claim 57, wherein the updating unit calculates the color correction matrix at least by: dichotomy, gradient descent, newton's method, genetic algorithm.
59. The photographing apparatus of claim 57, wherein the color space comprises at least: RGB, Lab space.
60. The photographing apparatus of claim 59, wherein the updating unit is configured to convert color values of the processed image and the original image in R/GR/GB/B space to obtain color values in the RGB space.
61. The photographing apparatus of claim 59, wherein the updating unit is configured to convert color values of the processed image and the original image in RGB space to obtain color values in Lab space.
62. The photographing apparatus of claim 56, wherein the first image comprises an original image and a processed image;
the updating unit obtains a gamma curve of the first shooting device according to the original image and the processed image, and updates the gamma curve of the second shooting device according to the difference between the gamma curve of the second shooting device and the gamma curve of the first shooting device.
63. The photographing apparatus of claim 62, wherein the updating unit derives the first gamma curve from a same partial area of both the original image and the processed image.
64. The photographing apparatus of claim 63, wherein the partial area includes at least: high saturation, skin tone, gray regions of the imaged object.
65. The photographing apparatus of claim 38, further comprising: a photographing unit for photographing in a photographing environment different from the first photographing apparatus using the updated color correction parameter.
66. The photographing apparatus of claim 47, 55 or 65, wherein the photographing environment includes at least: ground, air, underwater.
67. The camera device of claim 66, wherein the camera device is a drone, the environment of which is airborne; the other shooting device is a camera, and the shooting environment of the camera is the ground.
68. A system for color correction of an image, comprising:
the first shooting equipment is used for shooting a first image of an imaging object and acquiring shooting conditions of the first image;
and the second shooting equipment is used for acquiring the first image and the shooting condition of the first image, acquiring a second image of the imaging object under the shooting condition, and updating the color correction parameters of the second image according to the first image and the second image.
69. The color correction system of claim 68, wherein the imaging subject is a color chart.
70. The color correction system of claim 68, wherein the first image comprises: an original image and a processed image; and/or, the second image comprises: an original image.
71. The color correction system of claim 68, wherein the photographing conditions include: photographing parameters related to colors of the image.
72. The color correction system of claim 71, wherein the capture parameters comprise at least one of: color temperature, sensitivity.
73. The color correction system of claim 68, wherein the second capture device is configured to look up a look-up table resulting in the second image of the imaging subject corresponding to the capture condition.
74. The color correction system of claim 73, wherein said look-up table reflects a correspondence between:
the shooting parameters;
and the image of the imaging object under the shooting parameters.
75. The color correction system of claim 73, wherein said look-up table reflects a correspondence between:
the shooting parameters;
and the color value of the image formed by the imaging object under the shooting parameters.
76. The color correction system of claim 75, wherein the color values comprise at least: color values in RGB, R/GR/GB/B, Lab space.
77. The color correction system of claim 73, wherein the look-up table is stored in the second capture device.
78. The color correction system of claim 68, wherein the second capture device is located in a different capture environment than the first capture device, the imaging subject being captured under the capture conditions resulting in the second image.
79. The color correction system of claim 78, wherein the second photographing apparatus is used to photograph the whole or a partial region of the imaging subject.
80. The color correction system of claim 79, wherein the partial region comprises: high saturation and/or skin tone regions of the imaging subject.
81. The color correction system of claim 80, wherein said partial region comprises at least the following locations of color patches of 24 color cards:
the display device comprises a first row, a sixth column, a second row, a first column, a second row, a fourth column, a second row, a sixth column, a third row, a first column and a fifth column.
82. The color correction system of claim 78, wherein the second capture device comprises: and the environment compensation device is used for compensating the shooting environment so as to achieve the shooting condition.
83. The color correction system of claim 82, wherein said environment compensation means comprises at least: and the flash lamp can adjust the color temperature so as to compensate the color temperature of the shooting environment.
84. The color correction system of claim 83, wherein the second capture device further comprises: and the environment compensation device is used for compensating the color temperature of the shooting environment according to a color temperature detection result.
85. The color correction system of claim 68, wherein the second capture device is located in the same capture environment as the first capture device, the imaging subject being captured under the capture conditions, resulting in the second image.
86. The color correction system of claim 68, wherein the color correction parameters comprise at least one of: color correction matrix, gamma curve.
87. The color correction system of claim 86, wherein said first image comprises a processed image and said second image comprises an original image;
and the second shooting equipment updates the color correction matrix according to the color values of the processed image and the original image in a color space and a constraint condition.
88. The color correction system of claim 87, wherein the color correction matrix is calculated by at least: dichotomy, gradient descent, newton's method, genetic algorithm.
89. The color correction system of claim 87, wherein the color space comprises at least: RGB, Lab space.
90. The color correction system of claim 89 wherein the second capture device converts color values of the processed image and the original image in R/GR/GB/B space to obtain color values in the RGB space.
91. The color correction system of claim 89, wherein the second capture device converts color values of the processed image and the raw image in RGB space to obtain color values in the Lab space.
92. The color correction system of claim 86, wherein said first image comprises a raw image and a processed image;
and the second shooting equipment obtains a gamma curve of the first shooting equipment according to the original image and the processed image, and updates the gamma curve of the second shooting equipment according to the difference between the gamma curve of the second shooting equipment and the gamma curve of the first shooting equipment.
93. The color correction system of claim 92, wherein the second capture device derives the first gamma curve from the same partial region of both the original image and the processed image.
94. The color correction system of claim 93, wherein said partial region comprises at least: high saturation, skin tone, gray regions of the imaged object.
95. The color correction system of claim 68, wherein the second capture device captures in a different capture environment than the first capture device using the updated color correction parameters.
96. The color correction system of claim 78, 85 or 95, wherein the capture environment comprises at least: ground, air, underwater.
97. The color correction system of claim 96,
the first shooting equipment is a camera, and the shooting environment of the camera is the ground;
the second shooting equipment is an unmanned aerial vehicle, and the shooting environment of the unmanned aerial vehicle is aerial.
CN201980033901.1A 2019-09-18 2019-09-18 Image color correction method, shooting device and image color correction system Pending CN112243584A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/106429 WO2021051307A1 (en) 2019-09-18 2019-09-18 Image color calibration method, camera devices, and image color calibration system

Publications (1)

Publication Number Publication Date
CN112243584A true CN112243584A (en) 2021-01-19

Family

ID=74168439

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201980033901.1A Pending CN112243584A (en) 2019-09-18 2019-09-18 Image color correction method, shooting device and image color correction system

Country Status (2)

Country Link
CN (1) CN112243584A (en)
WO (1) WO2021051307A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114268778A (en) * 2021-12-16 2022-04-01 苏州科达科技股份有限公司 Color temperature compensation method and system in white balance algorithm and image acquisition equipment
WO2022170482A1 (en) * 2021-02-09 2022-08-18 深圳市大疆创新科技有限公司 Color calibration method, controller, camera, electronic device, and storage medium
CN116700646A (en) * 2022-12-19 2023-09-05 荣耀终端有限公司 Image color difference processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE2445144A1 (en) * 1974-09-20 1976-04-08 Heimann Gmbh Camera for producing colour television pictures - has device for automatic correction of colour channel sensitivity for correct colour reproduction
CN106131527A (en) * 2016-07-26 2016-11-16 深圳众思科技有限公司 Dual camera color synchronization method, device and terminal
CN107205109A (en) * 2016-03-18 2017-09-26 聚晶半导体股份有限公司 The method of electronic installation and its control with many photographing modules
CN108270952A (en) * 2017-11-21 2018-07-10 深圳市芯舞时代科技有限公司 A kind of bearing calibration of binocular camera image aberration and system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10536633B2 (en) * 2015-02-06 2020-01-14 Panasonic Intellectual Property Management Co., Ltd. Image processing device, imaging system and imaging apparatus including the same, and image processing method
CN104897374B (en) * 2015-06-16 2016-04-13 常州千明智能照明科技有限公司 A kind of color calibration method of camera module
CN107820023A (en) * 2017-11-05 2018-03-20 信利光电股份有限公司 A kind of color synchronous method of multi-cam module
CN108600723A (en) * 2018-07-20 2018-09-28 长沙全度影像科技有限公司 A kind of color calibration method and evaluation method of panorama camera
CN109218561A (en) * 2018-11-30 2019-01-15 豪威科技(上海)有限公司 The synchronous method and device of multi-cam
CN110213494B (en) * 2019-07-03 2021-05-11 Oppo广东移动通信有限公司 Photographing method and device, electronic equipment and computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE2445144A1 (en) * 1974-09-20 1976-04-08 Heimann Gmbh Camera for producing colour television pictures - has device for automatic correction of colour channel sensitivity for correct colour reproduction
CN107205109A (en) * 2016-03-18 2017-09-26 聚晶半导体股份有限公司 The method of electronic installation and its control with many photographing modules
CN106131527A (en) * 2016-07-26 2016-11-16 深圳众思科技有限公司 Dual camera color synchronization method, device and terminal
CN108270952A (en) * 2017-11-21 2018-07-10 深圳市芯舞时代科技有限公司 A kind of bearing calibration of binocular camera image aberration and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022170482A1 (en) * 2021-02-09 2022-08-18 深圳市大疆创新科技有限公司 Color calibration method, controller, camera, electronic device, and storage medium
CN114268778A (en) * 2021-12-16 2022-04-01 苏州科达科技股份有限公司 Color temperature compensation method and system in white balance algorithm and image acquisition equipment
CN114268778B (en) * 2021-12-16 2024-05-03 苏州科达科技股份有限公司 Color temperature compensation method and system in white balance algorithm and image acquisition equipment
CN116700646A (en) * 2022-12-19 2023-09-05 荣耀终端有限公司 Image color difference processing method and device
CN116700646B (en) * 2022-12-19 2024-05-28 荣耀终端有限公司 Image color difference processing method and device

Also Published As

Publication number Publication date
WO2021051307A1 (en) 2021-03-25

Similar Documents

Publication Publication Date Title
CN110660088B (en) Image processing method and device
KR100513342B1 (en) An apparatus for automatical digital white balance
CN106131527A (en) Dual camera color synchronization method, device and terminal
CN112243584A (en) Image color correction method, shooting device and image color correction system
EP3888345B1 (en) Method for generating image data for machine learning based imaging algorithms
US9438794B2 (en) Method and apparatus for distributed image processing in cameras for minimizing artifacts in stitched images
US8243164B2 (en) Method, apparatus, and system for selecting pixels for automatic white balance processing
JP6455764B2 (en) Color correction parameter calculation method, color correction parameter calculation device, and image output system
US8629919B2 (en) Image capture with identification of illuminant
CN111292246B (en) Image color correction method, storage medium, and endoscope
JP2008504751A (en) Automatic white balance method and apparatus
US7864222B2 (en) Automatic white balance system and automatic white balance control method
CN109191403A (en) Image processing method and device, electronic equipment, computer readable storage medium
JP4533287B2 (en) Color processing method and apparatus
CN109218561A (en) The synchronous method and device of multi-cam
CN112669758A (en) Display screen correction method, device, system and computer readable storage medium
US10158789B2 (en) Photographing system and method for synchronizing image quality thereof
CN111492653B (en) Method and device for quickly adjusting white balance of camera and computer readable storage medium
US10326947B2 (en) Image processing device, imaging device, image processing method, and program
JP2003102031A (en) Image processing method, image processing apparatus, method for evaluation imaging device, image information storage method, image processing system, and data structure in image data file
KR102285756B1 (en) Electronic system and image processing method
US20140098258A1 (en) Color distortion correction method and device for imaging systems and image output systems
US7965322B2 (en) Color correction on an image
CN111064860A (en) Image correction method, image correction device and electronic equipment
KR101143834B1 (en) Aparatus and metod for controlling auto white balance

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210119

RJ01 Rejection of invention patent application after publication