IP Library › Granted Patent US 12,335,667
Granted Patent B2
US 12,335,667 · App. 18/175,887 · Granted Jun 17, 2025

Apparatus and method for white balance editing

Inventors: Mahmoud Nasser Mohammed Afifi (Toronto, CA); Michael Scott Brown (Toronto, CA)
Assignee: SAMSUNG ELECTRONICS CO., LTD.
H04N9/73G06T3/40G06T5/50G06F3/04847G06T2200/24G06T2207/10024G06T2207/20084
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,335,667
App. No.
18/175,887
Granted
Jun 17, 2025
Kind
B2
Abstract

An apparatus for white balance editing, includes a memory storing instructions, and at least one processor configured to execute the instructions to obtain an input image having an original white balance that is corrected by image signal processing, and obtain, using a first neural network, an intermediate representation of the obtained input image, the intermediate representation having the original white balance that is not corrected by the image signal processing. The at least one processor is further configured to execute the instructions to obtain, using a second neural network, a first output image having a first white balance different than the original white balance, based on the obtained intermediate representation.

Claims (60)

1. A mobile device comprising:

a camera module including a lens module and an image sensing module configured to obtain first image data from light collected through the lens module;

a sensor module configured to obtain information about a shooting condition;

a storage module storing information about a plurality of artificial intelligence (AI) models for white-balance control;

an image signal processor configured to obtain second image data by processing at least one of the stored AI models; and

at least one application processor,

wherein the at least one application processor is configured to:

determine an AI model corresponding to the shooting condition among the plurality of AI models, for white-balance control, stored in the storage module, based on the information about the shooting condition o7btained by the sensor module; and

control the determined AI model to be loaded into the image signal processor, and

the image signal processor is further configured to input the first image data to the determined AI model so as to obtain the second image data with a white balance controlled to correspond to the shooting condition,

wherein the shooting condition is a condition for identifying whether the mobile device is located indoors or outdoors,

wherein the plurality of AI models shares a common encoder model and comprises a plurality of different decoder models.

2. The mobile device of claim 1 , wherein the first image data comprises original color filter array data.

3. The mobile device of claim 1 , wherein the first image data comprises original RGB data.

4. The mobile device of claim 1 , wherein the sensor module comprises:

a global positioning system (GPS) sensing module configured to obtain GPS sensor information;

an illumination sensing module configured to obtain illuminance sensor information; and

a network status information obtaining module configured to obtain network status information,

wherein the at least one application processor identifies whether the mobile device is located indoors or outdoors, based on at least one of the GPS sensor information, the illuminance sensor information, or the network status information, and

the AI model corresponding to a result of the identification among the plurality of AI models, for white balance control, stored in the storage module, is determined.

5. The mobile device of claim 4 , wherein, when whether the mobile device is located indoors or outdoors is determined, based on at least one of the GPS sensor information, the illumination sensor information, or the network status information, the mobile device is identified as being located indoors when the GPS sensor information is not updated and identified as being located outdoors when the GPS sensor information is updated.

6. The mobile device of claim 4 , wherein, when whether the mobile device is located indoors or outdoors is determined, based on at least one of the GPS sensor information, the illumination sensor information, or the network status information, the mobile device is identified as being located outdoors when a sensor value of the illumination sensor information is greater than or equal to a first value, and

the mobile device is identified as being located indoors when the sensor value of the illuminance sensor information is less than or equal to a second value.

7. The mobile device of claim 4 , wherein the network status information comprises at least one of received signal strength indication (RSSI) information or service set identifier (SSID) information of at least one scanned access point (AP),

wherein, when whether the mobile device is located indoors or outdoors is determined, based on at least one of the GPS sensor information, the illuminance sensor information, or the network status information, the at least one application processor is further configured to:

identify that the mobile device is located indoors when an average value of RSSIs of the scanned APs is greater than or equal to a first value and is located outdoors when the average value of the RSSIs of the scanned APs is less than a second value; and

identify that the mobile device is located indoors when the number of APs with an RSSI greater than or equal to the first value among the scanned APs is greater than or equal to a first number, and that the mobile device is located outdoors when the number of APs with an RSSI less than or equal to the second value is greater than or equal to a second number or when the number of APs, which is greater than or equal to the first value, is less than the first number.

8. A method of white balancing by a mobile device, the method comprising:

obtaining first image data;

obtaining information about a shooting condition of the mobile device;

determining an artificial intelligence (AI) model corresponding to the shooting condition among a plurality of AI models, for white-balance control, stored in a storage module of the mobile device, based on the information about the shooting condition;

controlling the determined AI model to be loaded into an image signal processor, and

inputting the first image data to the determined AI model so as to obtain a second image data with a white balance controlled to correspond to the shooting condition,

wherein the shooting condition is a condition for identifying whether the mobile device is located indoors or outdoors,

wherein the plurality of AI models shares a common encoder model and comprises a plurality of different decoder models.

9. The method of claim 8 , wherein the first image data comprises original color filter array data.

10. The method of claim 8 , wherein the first image data comprises original RGB data.

11. The method of claim 8 , wherein the plurality of AI models each comprise an encoder model and a decoder model, and comprise different decoder models.

12. The method of claim 8 , where in the shooting condition of the mobile device comprises a GPS sensor information, an illuminance sensor information and a network status information.

13. The method of claim 12 , further comprising:

identifying whether the mobile device is located indoors or outdoors, based on at least one of the GPS sensor information, the illuminance sensor information, or the network status information, and

determining the AI model corresponding to a result of the identification among the plurality of AI models, for white balance control, stored in the storage module.

14. The method of claim 13 , further comprising:

identifying the mobile device as being located indoors when the GPS sensor information is not updated; and

identifying the mobile device as being located outdoors when the GPS sensor information is updated.

15. The method of claim 13 , further comprising:

identifying the mobile device as being located outdoors when a sensor value of the illumination sensor information is greater than or equal to a first value, and

identifying the mobile device as being located indoors when the sensor value of the illuminance sensor information is less than or equal to a second value.

16. The method of claim 12 , wherein the network status information comprises at least one of received signal strength indication (RSSI) information or service set identifier (SSID) information of at least one scanned access point (AP).

17. The method of claim 16 , further comprising:

identifying that the mobile device is located indoors when an average value of at least one of RSSI of the at least one scanned AP is greater than or equal to a first value and is located outdoors when the average value of the at least one of RSSI of the at least one of scanned AP is less than a second value; and

identifying that the mobile device is located indoors when the number of AP with an RSSI greater than or equal to the first value among the at least one of scanned AP is greater than or equal to a first number, and that the mobile device is located outdoors when the number of AP with an RSSI less than or equal to the second value is greater than or equal to a second number or when the number of AP, which is greater than or equal to the first value, is less than the first number.

18. A non-transitory computer-readable storage medium storing instructions that, when executed by at least one processor for white balancing cause the at least one processor to:

obtaining first image data;

obtaining information about a shooting condition of a mobile device;

determining an artificial intelligence (AI) model corresponding to the shooting condition among a plurality of AI models, for white-balance control, stored in a storage module of the mobile device, based on the information about the shooting condition obtained by a sensor module of the mobile device;

controlling the determined AI model to be loaded into an image signal processor, and

inputting the first image data to the determined AI model so as to obtain a second image data with a white balance controlled to correspond to the shooting condition,

wherein the shooting condition is a condition for identifying whether the mobile device is located indoors or outdoors,

wherein the plurality of AI models shares a common encoder model and comprises a plurality of different decoder models.

Continuity (3)
Continuation 17077837 · Oct 22, 2020
Provisional Application 62939286 · Nov 22, 2019
Related Publication 20230209029A1 · Jun 29, 2023
References Cited (37)
US 10713816B2 · Hu et al. · 2020 [cited by applicant]
US 20040126012A1 · Sakaida · 2004 [cited by applicant]
US 20080062273A1 · Okamoto et al. · 2008 [cited by applicant]
US 20090067711A1 · Sasaki · 2009 [cited by applicant]
US 20130083216A1 · Jiang et al. · 2013 [cited by applicant]
US 20140241620A1 · Zhang et al. · 2014 [cited by applicant]
US 20150310794A1 · Gille et al. · 2015 [cited by applicant]
US 20160061607A1 · Yang · 2016 [cited by examiner]
US 20160284095A1 · Chalom et al. · 2016 [cited by applicant]
US 20190045163A1 · Nikkanen et al. · 2019 [cited by applicant]
US 20190132563A1 · Wang · 2019 [cited by applicant]
US 20190166344A1 · Sun · 2019 [cited by applicant]
US 20200389635A1 · Afifi et al. · 2020 [cited by applicant]
CN 105898260A · 2016 [cited by applicant]
CN 107911682A · 2018 [cited by applicant]
CN 107911683A · 2018 [cited by applicant]
CN 109348206 · 2019 [cited by examiner]
CN 109348206A · 2019 [cited by applicant]
KR 1020180116574A · 2018 [cited by applicant]
KR 1020190037842A · 2019 [cited by applicant]
KR 1020190064958A · 2019 [cited by applicant]
WO 2020206539A1 · 2020 [cited by applicant]
Lipowezky, Uri. “Indoor-outdoor detector for mobile phone cameras using gentle boosting.” 2010 IEEE Computer Society Conference on Computer Vision and Pattern Recognition—Workshops. IEEE, 2010. [cited by examiner]
Communication issued on Jan. 19, 2024 by the China National Intellectual Property Administration for Chinese Patent Application No. 202080091131.9. [cited by applicant]
Communication issued on Jan. 31, 2024 by the European Patent Office for European Patent Application No. 20889398.2. [cited by applicant]
Communication issued on Mar. 14, 2024 by the European Patent Office for European Patent Application No. 23158058.0. [cited by applicant]
Zhetong Liang et al., “CameraNet: A Two-Stage Framework for Effective Camera ISP Learning”, Aug. 5, 2019, 13 pages, arXiv:1908.01481v1 [eess.IV], XP081455641. [cited by applicant]
International Search Report (PCT/ISA/210) and Written Opinion (PCT/ISA/237) dated Jan. 29, 2021 issued by the International Searching Authority in International Application No. PCT/KR2020/015799. [cited by applicant]
Communication dated Jan. 31, 2022 issued by the Korean Intellectual Property Office in application No. 10-2020-0149896. [cited by applicant]
Communication issued Dec. 5, 2022 by the European Patent Office for European Patent Application No. 20889398.2. [cited by applicant]
Afifi, Mahmoud, et al. “When color constancy goes wrong: Correcting improperly white-balanced images. ”Proceedings of the IEE/CVF conference on computer vision and pattern recognition. 2019. [cited by applicant]
Extended European Search Report dated Mar. 14, 2023, issued by European Patent Office for European Application No. 20889398.2. [cited by applicant]
Communication dated Mar. 30, 2023, issued by European Patent Office in European Patent Application No. 23158058.0. [cited by applicant]
Afifi et al., “Deep White-Balance Editing”, 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Jun. 13, 2020, pp. 1394-1403. [cited by applicant]
Liang et al., “CameraNet: A Two-Stage Framework for Effective Camera ISP Learning”, IEEE Transactions On Image Processing, Jan. 20, 2021, pp. 2248-2262, vol. 30, doi:10.1109/TIP.2021.3051486. [cited by applicant]
Notice of Allowance dated Jan. 3, 2025, issued by European Patent Center in European Patent Application No. 20889398.2. [cited by applicant]
Notice of Allowance dated Mar. 3, 2025, issued by European Patent Center in European Patent Application No. 23158058.0. [cited by applicant]