CN116134808A - White balance processing method and device - Google Patents
White balance processing method and device Download PDFInfo
- Publication number
- CN116134808A CN116134808A CN202080104052.7A CN202080104052A CN116134808A CN 116134808 A CN116134808 A CN 116134808A CN 202080104052 A CN202080104052 A CN 202080104052A CN 116134808 A CN116134808 A CN 116134808A
- Authority
- CN
- China
- Prior art keywords
- image
- solid
- frame
- color
- history information
- 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
Links
- 238000003672 processing method Methods 0.000 title 1
- 239000007787 solid Substances 0.000 claims abstract 56
- 238000000034 method Methods 0.000 claims abstract 23
- 238000004590 computer program Methods 0.000 claims 3
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
- H04N23/84—Camera processing pipelines; Components thereof for processing colour signals
- H04N23/88—Camera 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)
- Color Television Image Signal Generators (AREA)
- Processing Of Color Television Signals (AREA)
Abstract
The application provides a method and a device for white balance processing, wherein the method comprises the following steps: acquiring image characteristics of a pure-color image frame; obtaining a non-solid color matching frame from one or more non-solid color image frames, wherein image features of the non-solid color matching frame match image features of the solid color image frame; and performing white balance processing on the solid-color image frame according to the white balance information of the non-solid-color matching frame. Since a non-solid color matching frame has image features that match those of a solid color image frame, it is reasonable to consider the non-solid color matching frame as being of the same scene as the solid color image frame, and it is also reasonable to apply white balance information of the non-solid color matching frame of the same scene to the solid color image frame. Therefore, in the case where the photographed scene is a solid-color scene, the white balance processing effect of the image can be improved.
Description
PCT国内申请,说明书已公开。PCT domestic application, specification has been published.
Claims (35)
- A method of white balance processing, comprising:acquiring image characteristics of a pure-color image frame;obtaining a non-solid color matching frame from one or more non-solid color image frames, wherein image features of the non-solid color matching frame match image features of the solid color image frame;and carrying out white balance processing on the solid-color image frame according to the white balance information of the non-solid-color matching frame.
- The method of claim 1, wherein the image features comprise color attributes of solid color blocks, and/or geometric attributes of solid color blocks.
- The method of claim 2, wherein the image features of the non-solid color matching frame match the image features of the solid color image frame, representing:the non-solid color matching frame includes solid color blocks having color attributes matching the color attributes of the solid color blocks in the solid color image frame, and/orThe non-solid color matching frame comprises solid color blocks with geometrical properties matched with those of the solid color blocks in the solid color image frame.
- A method according to any of claims 1-3, wherein the solid-color image frame is a current solid-color image frame; wherein the acquiring the non-solid color matching frame from the one or more non-solid color image frames comprises:the non-solid color matching frame is obtained from first history information, wherein the first history information includes image features of a plurality of history image frames including the one or more non-solid color image frames, and each image frame recorded in the first history information has a common view feature with at least one other image frame recorded in the first history information, the common view feature representing image features common to at least two image frames.
- The method of claim 4, wherein the first history information further includes image features of historical solid color image frames.
- The method of claim 4 or 5, wherein the first history information comprises a set of co-view features, wherein the set of co-view features comprises co-view features of image frames recorded in the first history information;Wherein the obtaining the non-solid color matching frame from the first history information includes:acquiring matching features matched with the image features of the current pure-color image frame from common-view features included in the common-view feature set;and acquiring the non-solid color matching frame from the image frames which are recorded by the first historical information and correspond to the matching features.
- The method of claim 6, wherein the first history information includes frame identification of each image frame recorded in the first history information and identification information of whether the image frame is a non-solid color frame, and further includes white balance information of the recorded non-solid color image frame.
- The method according to any one of claims 4-7, further comprising:in the case where a first image frame has a common view characteristic with at least one image frame recorded in the first history information, adding the first image frame to the first history information to update the first history information,wherein the first image frame represents a real-time processed image frame.
- The method of claim 8, wherein the first history information has a first window threshold that represents a maximum number of image frames that the first history information can record, the method further comprising:And deleting one or more image frames recorded in the first historical information if the number of the image frames recorded in the first historical information exceeds the first window threshold.
- The method of claim 9, wherein the deleting one or more image frames recorded in the first history information comprises:one or more image frames recorded earliest in the first history information are deleted.
- The method according to any one of claims 1-10, wherein the solid-color image frame is a current solid-color image frame; the acquiring the image characteristics of the pure color image frame comprises the following steps:and under the condition that the current shooting scene is determined to be a solid-color scene, acquiring the image characteristics of the current solid-color image frame.
- The method as recited in claim 11, further comprising:and under the condition that the number of the solid-color image frames recorded in the second historical information reaches a threshold value, determining that the current shooting scene is a solid-color scene, wherein a plurality of historical image frames are recorded in the second historical information.
- The method of claim 12, wherein the plurality of historical image frames recorded in the second historical information are consecutive.
- The method according to claim 12 or 13, further comprising:and adding the image frames processed in real time to the second history information to update the second history information.
- The method of claim 14, wherein the second history information has a second window threshold that represents a maximum number of image frames that the second history information can record, the method further comprising:and deleting one or more image frames recorded earliest in the second historical information if the number of the image frames recorded in the second historical information exceeds the second window threshold.
- The method of any of claims 1-15, wherein the acquiring image features of the solid-color image frame comprises:acquiring a first image feature of an R/G channel of the pure color image frame;acquiring a second image feature of a B/G channel of the pure color image frame;and fusing the first image feature and the second image feature to obtain the image feature of the pure-color image frame.
- An apparatus for white balance processing, comprising:an acquisition unit for acquiring image features of the pure color image frames;A matching unit, configured to obtain a non-solid color matching frame from one or more non-solid color image frames, where image features of the non-solid color matching frame match image features of the solid color image frame;and the white balance processing unit is used for carrying out white balance processing on the solid-color image frame according to the white balance information of the non-solid-color matching frame.
- The apparatus of claim 17, wherein the image features comprise color attributes of solid color blocks, and/or geometric attributes of solid color blocks.
- The apparatus of claim 18, wherein the image features of the non-solid color matching frame match the image features of the solid color image frame, representing:the non-solid color matching frame includes solid color blocks having color attributes matching the color attributes of the solid color blocks in the solid color image frame, and/orThe non-solid color matching frame comprises solid color blocks with geometrical properties matched with those of the solid color blocks in the solid color image frame.
- The apparatus of any of claims 17-19, wherein the solid-color image frame is a current solid-color image frame; the matching unit is configured to obtain the non-solid color matching frame from first history information, where the first history information includes image features of a plurality of history image frames including the one or more non-solid color image frames, and each image frame recorded in the first history information has a common view feature with at least one other image frame recorded in the first history information, the common view feature representing an image feature common to at least two image frames.
- The apparatus of claim 20, wherein the first history information further includes image features of historical color-only image frames.
- The apparatus of claim 20 or 21, wherein the first history information comprises a set of co-view features, wherein the set of co-view features comprises co-view features of image frames recorded in the first history information;wherein, the matching unit is used for:acquiring matching features matched with the image features of the current pure-color image frame from common-view features included in the common-view feature set;and acquiring the non-solid color matching frame from the image frames which are recorded by the first historical information and correspond to the matching features.
- The apparatus of claim 22, wherein the first history information includes frame identification of each image frame recorded in the first history information and identification information of whether the image frame is a non-solid color frame, and further includes white balance information of the recorded non-solid color image frame.
- The apparatus according to any one of claims 20-23, further comprising:a first updating unit configured to add a first image frame to the first history information to update the first history information in a case where the first image frame has a common view feature with at least one image frame recorded in the first history information,Wherein the first image frame represents a real-time processed image frame.
- The apparatus of claim 24, wherein the first history information has a first window threshold indicating a maximum number of image frames that can be recorded in the first history information, and wherein the first updating unit is configured to delete one or more image frames recorded in the first history information if the number of image frames recorded in the first history information exceeds the first window threshold.
- The apparatus of claim 25, wherein the first updating unit is configured to delete one or more image frames recorded earliest in the first history information if a number of image frames recorded in the first history information exceeds the first window threshold.
- The apparatus of any of claims 17-26, wherein the solid-color image frame is a current solid-color image frame; the acquisition unit is used for acquiring the image characteristics of the current pure-color image frame under the condition that the current shooting scene is determined to be the pure-color scene.
- The apparatus as recited in claim 27, further comprising:And the judging unit is used for determining the current shooting scene to be a solid-color scene under the condition that the number of the solid-color image frames recorded in the second historical information reaches a threshold value, wherein a plurality of historical image frames are recorded in the second historical information.
- The apparatus of claim 28, wherein a plurality of calendar Shi Tu frames recorded in the second history information are consecutive.
- The apparatus according to claim 28 or 29, further comprising:and a second updating unit configured to add an image frame processed in real time to the second history information to update the second history information.
- The apparatus of claim 30, wherein the second history information has a second window threshold, the second window threshold representing a maximum number of image frames that can be recorded in the second history information, and the second updating unit is configured to delete one or more image frames recorded earliest in the second history information if the number of image frames recorded in the second history information exceeds the second window threshold.
- The apparatus according to any one of claims 17-31, wherein the acquisition unit is configured to:Acquiring a first image feature of an R/G channel of the pure color image frame;acquiring a second image feature of a B/G channel of the pure color image frame;and fusing the first image feature and the second image feature to obtain the image feature of the pure-color image frame.
- An apparatus for white balance processing, comprising:a memory for storing executable instructions;a processor for invoking and executing the executable instructions in the memory to perform the method of any of claims 1-16.
- A computer readable storage medium, characterized in that it has stored therein program instructions which, when executed by a processor, implement the method of any of claims 1 to 16.
- A computer program product, characterized in that it comprises a computer program code for implementing the method of any one of claims 1 to 16 when said computer program code is run on a computer.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2020/108851 WO2022032564A1 (en) | 2020-08-13 | 2020-08-13 | White balance processing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116134808A true CN116134808A (en) | 2023-05-16 |
Family
ID=80246778
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202080104052.7A Pending CN116134808A (en) | 2020-08-13 | 2020-08-13 | White balance processing method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN116134808A (en) |
WO (1) | WO2022032564A1 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030222992A1 (en) * | 2002-06-04 | 2003-12-04 | Michael Kaplinsky | Method for statistical analysis of images for automatic white balance of color channel gains for image sensors |
CN105989599A (en) * | 2015-02-15 | 2016-10-05 | 西安酷派软件科技有限公司 | Image processing method and apparatus, and terminal |
CN108462866A (en) * | 2018-03-26 | 2018-08-28 | 福州大学 | A kind of 3D stereo-picture color calibration methods based on matching and optimization |
CN109076169A (en) * | 2016-04-28 | 2018-12-21 | 高通股份有限公司 | Colored and monochrome image displacement and matching fusion |
CN110460826A (en) * | 2019-08-12 | 2019-11-15 | Oppo广东移动通信有限公司 | White balance processing method and device and mobile terminal |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102581802B1 (en) * | 2016-11-21 | 2023-09-25 | 삼성전자주식회사 | Display apparatus, system and recording media |
CN107483906B (en) * | 2017-07-25 | 2019-03-19 | Oppo广东移动通信有限公司 | White balancing treatment method, device and the terminal device of image |
CN107690065A (en) * | 2017-07-31 | 2018-02-13 | 努比亚技术有限公司 | A kind of white balance correcting, device and computer-readable recording medium |
CN108616691B (en) * | 2018-04-28 | 2020-07-10 | 北京小米移动软件有限公司 | Photographing method and device based on automatic white balance, server and storage medium |
CN108769634B (en) * | 2018-07-06 | 2020-03-17 | Oppo(重庆)智能科技有限公司 | Image processing method, image processing device and terminal equipment |
-
2020
- 2020-08-13 WO PCT/CN2020/108851 patent/WO2022032564A1/en active Application Filing
- 2020-08-13 CN CN202080104052.7A patent/CN116134808A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030222992A1 (en) * | 2002-06-04 | 2003-12-04 | Michael Kaplinsky | Method for statistical analysis of images for automatic white balance of color channel gains for image sensors |
CN105989599A (en) * | 2015-02-15 | 2016-10-05 | 西安酷派软件科技有限公司 | Image processing method and apparatus, and terminal |
CN109076169A (en) * | 2016-04-28 | 2018-12-21 | 高通股份有限公司 | Colored and monochrome image displacement and matching fusion |
CN108462866A (en) * | 2018-03-26 | 2018-08-28 | 福州大学 | A kind of 3D stereo-picture color calibration methods based on matching and optimization |
CN110460826A (en) * | 2019-08-12 | 2019-11-15 | Oppo广东移动通信有限公司 | White balance processing method and device and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
WO2022032564A1 (en) | 2022-02-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10242250B2 (en) | Picture ranking method, and terminal | |
CN110427807B (en) | Time sequence event action detection method | |
CN110210434A (en) | Pest and disease damage recognition methods and device | |
JP6158882B2 (en) | Generating device, generating method, and generating program | |
EP4242971A1 (en) | Method for generating stop-motion animation, computer readable storage medium, and computer device | |
CN111898682B (en) | Method and device for correcting new model based on multiple source models and computer equipment | |
CN110473227B (en) | Target tracking method, device, equipment and storage medium | |
EP3706068A1 (en) | Land use determination system, land use determination method and program | |
CN110781960A (en) | Training method, classification method, device and equipment of video classification model | |
CN107609149B (en) | Video positioning method and device | |
KR20220093187A (en) | Positioning method and apparatus, electronic device, computer readable storage medium | |
CN109887001A (en) | Target tracking method, device, computer equipment and storage medium | |
CN111797672A (en) | Object recognition system and object recognition method | |
CN109685805B (en) | Image segmentation method and device | |
CN116134808A (en) | White balance processing method and device | |
CN109978863B (en) | Target detection method based on X-ray image and computer equipment | |
CN114005019B (en) | Method for identifying flip image and related equipment thereof | |
CN114090401B (en) | Method and device for processing user behavior sequence | |
CN113850077A (en) | Topic identification method, device, server and medium based on artificial intelligence | |
US9934434B2 (en) | Determining image forensics using an estimated camera response function | |
CN108566567B (en) | Movie editing method and device | |
CN116612498A (en) | Bird recognition model training method, bird recognition method, device and equipment | |
EP1713059A1 (en) | Signal detecting method, signal detecting system, signal detecting program and recording medium on which the program is recorded | |
CN114187545A (en) | Identification method and device of gradient lens, electronic equipment and storage medium | |
JP2017134853A (en) | Generating device, generating method, and generating program |
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 |