CN116134808A - White balance processing method and device - Google Patents

White balance processing method and device Download PDF

Info

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
Application number
CN202080104052.7A
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN116134808A publication Critical patent/CN116134808A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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)
  • 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)

  1. 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.
  2. The method of claim 1, wherein the image features comprise color attributes of solid color blocks, and/or geometric attributes of solid color blocks.
  3. 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/or
    The 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.
  4. 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.
  5. The method of claim 4, wherein the first history information further includes image features of historical solid color image frames.
  6. 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.
  7. 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.
  8. 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.
  9. 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.
  10. 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.
  11. 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.
  12. 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.
  13. The method of claim 12, wherein the plurality of historical image frames recorded in the second historical information are consecutive.
  14. 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.
  15. 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.
  16. 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.
  17. 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.
  18. The apparatus of claim 17, wherein the image features comprise color attributes of solid color blocks, and/or geometric attributes of solid color blocks.
  19. 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/or
    The 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.
  20. 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.
  21. The apparatus of claim 20, wherein the first history information further includes image features of historical color-only image frames.
  22. 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.
  23. 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.
  24. 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.
  25. 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.
  26. 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.
  27. 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.
  28. 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.
  29. The apparatus of claim 28, wherein a plurality of calendar Shi Tu frames recorded in the second history information are consecutive.
  30. 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.
  31. 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.
  32. 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.
  33. 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.
  34. 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.
  35. 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.
CN202080104052.7A 2020-08-13 2020-08-13 White balance processing method and device Pending CN116134808A (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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