IP Library › Granted Patent US 12,413,864
Granted Patent B2
US 12,413,864 · App. 18/266,222 · Granted Sep 9, 2025

Photographing method from plurality of artificial light sources and related apparatus

Inventor: Hanyu Feng (Shenzhen, CN)
Assignee: HONOR DEVICE CO., LTD.
H04N23/745H04N23/72H04N23/73
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,413,864
App. No.
18/266,222
Granted
Sep 9, 2025
Kind
B2
Abstract

This application provides a photographing method from a plurality of artificial light sources and a related apparatus. An electronic device may determine flicker frequencies of the plurality of artificial light sources, and select two of the flicker frequencies, denoted as F1 and F2. Flicker periods corresponding to F1 and F2 are denoted as T1 and T2, respectively. Based on these two flicker periods (T1 and T2), the electronic device determines the exposure time and frame interval to be used for the next image acquisition by the electronic device. The method can eliminate a banding phenomenon caused by a single artificial light source and attenuate a banding phenomenon caused by other artificial light sources, avoiding scrolling bright and dark streaks in images on the electronic device.

Claims (45)

1. A photographing method from a plurality of artificial light sources, comprising:

determining, by an electronic device, a first flicker period and a second flicker period; wherein the first flicker period is a flicker period of a first artificial light source in a photographing environment, and the second flicker period is a flicker period of a second artificial light source in the photographing environment;

determining, by the electronic device, a first exposure time and a first frame interval; wherein when k1 times the first flicker period does not exceed a first range, the first exposure time is determined as k1 times the first flicker period, and the first frame interval is determined as k2 times the second flicker period; wherein both k1 and k2 are positive integers, and wherein when k1 times the first flicker period exceeds the first range, and k2 times the second flicker period does not exceed the first range, the first exposure time is determined as k2 times the second flicker period; and

photographing, by the electronic device, by using the first exposure time and the first frame interval, wherein the first frame interval is an interval between two adjacent frames of images captured by a camera.

2. The method according to claim 1 , wherein a luminous intensity of the first artificial light source is greater than a luminous intensity of the second artificial light source.

3. The method according to claim 1 , wherein

when k1 times the first flicker period exceeds the first range, and k2 times the second flicker period does not exceed the first range, the first frame interval is determined as k1 times the first flicker period.

4. The method according to claim 1 , wherein

when k1 times the first flicker period exceeds the first range, and k2 times the second flicker period also exceeds the first range, the first frame interval is determined as k1 times the first flicker period.

5. The method according to claim 1 , wherein the determining, by the electronic device, the first flicker period and the second flicker period specifically comprises:

obtaining, by the electronic device, a first time sequence; wherein the first time sequence comprises ambient brightness information and time information;

converting, by the electronic device, the first time sequence into a first spectrum;

determining, by the electronic device, a frequency of a first sine wave as a first flicker frequency and a frequency of a second sine wave as a second flicker frequency based on the first spectrum; and

determining, by the electronic device, the first flicker period based on the first flicker frequency, and determining the second flicker period based on the second flicker frequency.

6. The method according to claim 5 , wherein a difference between an amplitude of the first sine wave and a first average is greater than a first preset threshold; a difference between an amplitude of the second sine wave and a second average is greater than a second preset threshold; the first average is an average of amplitudes of sine waves other than the first sine wave within a frequency search range for the first spectrum; the second average is an average of amplitudes of sine waves other than the first sine wave and the second sine wave within the frequency search range for the first spectrum; and the frequency search range is used for determining a frequency range for searching the first sine wave and the second sine wave.

7. The method according to claim 6 , wherein a third artificial light source is present in the photographing environment, and the method further comprises:

determining, by the electronic device, a third flicker period; wherein the third flicker period is a flicker period of the third artificial light source; wherein when k1 times the first flicker period exceeds the first range, and when k2 times the second flicker period does not exceed the first range, and when k3 times the third flicker period does not exceed the first range, the first exposure time is determined as k3 times the third flicker period, and the first frame interval is determined as k1 times the first flicker period.

8. The method according to claim 1 , wherein two or more artificial light sources are present in the photographing environment; the first artificial light source is an artificial light source with a largest luminous intensity among the two or more artificial light sources; and the second artificial light source is an artificial light source with a second largest luminous intensity among the two or more artificial light sources.

9. The method according to claim 1 , wherein a third artificial light source is present in the photographing environment, and the method further comprises:

determining, by the electronic device, a third flicker period; wherein the third flicker period is a flicker period of the third artificial light source; wherein

when k1 times the first flicker period exceeds the first range, and when k2 times the second flicker period does not exceed the first range, and when k3 times the third flicker period does not exceed the first range, the first exposure time is determined as k3 times the third flicker period, and the first frame interval is determined as k1 times the first flicker period.

10. An electronic device, comprising a camera, one or more memories that are non-transitory, and one or more processors, wherein the one or more processors are coupled to the camera and the one or more memories, and the one or more memories are configured to store computer program code that is executed by the one or more processors to cause the electronic device to perform operations comprising:

determining a first flicker period and a second flicker period; wherein the first flicker period is a flicker period of a first artificial light source in a photographing environment, and the second flicker period is a flicker period of a second artificial light source in the photographing environment;

determining a first exposure time and a first frame interval; wherein when k1 times the first flicker period does not exceed a first range, the first exposure time is determined as k1 times the first flicker period, and the first frame interval is determined as k2 times the second flicker period, wherein both k1 and k2 are positive integers, and when k1 times the first flicker period exceeds the first range, and k2 times the second flicker period also exceeds the first range, the first frame interval is determined as k1 times the first flicker period; and

photographing, by using the first exposure time and the first frame interval, wherein the first frame interval is an interval between capturing two adjacent frames of images.

11. The electronic device according to claim 10 , wherein a luminous intensity of the first artificial light source is greater than a luminous intensity of the second artificial light source.

12. The electronic device according to claim 10 , wherein when k1 times the first flicker period exceeds the first range, and when k2 times the second flicker period does not exceed the first range, the first exposure time is determined as k2 times the second flicker period, and the first frame interval is determined as k1 times the first flicker period.

13. The electronic device according to claim 10 , wherein determining the first flicker period and the second flicker period, comprises to:

obtain a first time sequence, wherein the first time sequence comprises ambient brightness information and time information;

convert the first time sequence into a first spectrum;

determine a frequency of a first sine wave as a first flicker frequency and a frequency of a second sine wave as a second flicker frequency based on the first spectrum; and

determine the first flicker period based on the first flicker frequency, and determine the second flicker period based on the second flicker frequency.

14. The electronic device according to claim 13 , wherein a difference between an amplitude of the first sine wave and a first average is greater than a first preset threshold; a difference between an amplitude of the second sine wave and a second average is greater than a second preset threshold; the first average is an average of amplitudes of sine waves other than the first sine wave within a frequency search range for the first spectrum; the second average is an average of amplitudes of sine waves other than the first sine wave and the second sine wave within the frequency search range for the first spectrum; and the frequency search range is used for determining a frequency range for searching the first sine wave and the second sine wave.

15. The electronic device according to claim 14 , wherein a third artificial light source is present in the photographing environment; and the operations further comprise to determine a third flicker period; wherein the third flicker period is a flicker period of the third artificial light source; wherein when k1 times the first flicker period exceeds the first range, and when k2 times the second flicker period does not exceed the first range, and when k3 times the third flicker period does not exceed the first range, the first exposure time is determined as k3 times the third flicker period, and the first frame interval is determined as k1 times the first flicker period.

16. The electronic device according to claim 10 , wherein two or more artificial light sources are present in the photographing environment; the first artificial light source is an artificial light source with a largest luminous intensity among the two or more artificial light sources; and the second artificial light source is an artificial light source with a second largest luminous intensity among the two or more artificial light sources.

17. The electronic device according to claim 10 , wherein a third artificial light source is present in the photographing environment; and the operations further comprise to determine a third flicker period, wherein the third flicker period is a flicker period of the third artificial light source; wherein

when k1 times the first flicker period exceeds the first range, and when k2 times the second flicker period does not exceed the first range, and when k3 times the third flicker period does not exceed the first range, the first exposure time is determined as k3 times the third flicker period, and the first frame interval is determined as k1 times the first flicker period.

18. A non-statutory computer-readable storage medium, comprising computer instructions, wherein when the computer instructions are run on an electronic device, the electronic device is enabled to perform operations comprising:

determining, by an electronic device, a first flicker period and a second flicker period; wherein the first flicker period is a flicker period of a first artificial light source in a photographing environment, and the second flicker period is a flicker period of a second artificial light source in the photographing environment;

determining, by the electronic device, a first exposure time and a first frame interval; wherein when k1 times the first flicker period does not exceed a first range, the first exposure time is k1 times the first flicker period, and the first frame interval is k2 times the second flicker period, wherein both k1 and k2 are positive integers;

photographing, by the electronic device, by using the first exposure time and the first frame interval, wherein the first frame interval is an interval between two adjacent frames of images captured by a camera; and

determining, by the electronic device, a third flicker period based on the first range, wherein the third flicker period is a flicker period of a third artificial light source in the photographing environment.

19. The non-statutory computer-readable storage medium of claim 18 , wherein a luminous intensity of the first artificial light source is greater than a luminous intensity of the second artificial light source.

20. The non-statutory computer-readable storage medium of claim 18 , wherein

when k1 times the first flicker period exceeds the first range, and k2 times the second flicker period does not exceed the first range, the first frame interval is determined as k1 times the first flicker period.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 13, 2024
From: FENG, HANYU
To: HONOR DEVICE CO., LTD.
Reel/Frame 066751/0905 →
Priority Claims (1)
CN 202110708031.2 · Jun 24, 2021 · national
Continuity (1)
Related Publication 20230388658A1 · Nov 30, 2023
References Cited (24)
US 7164439B2 · Yoshida et al. · 2007 [cited by applicant]
US 7764312B2 · Ono et al. · 2010 [cited by applicant]
US 20020044205A1 · Nagaoka et al. · 2002 [cited by applicant]
US 20050093996A1 · Kinoshita · 2005 [cited by applicant]
US 20070153094A1 · Noyes et al. · 2007 [cited by applicant]
US 20100053369A1 · Nagai et al. · 2010 [cited by applicant]
US 20130342726A1 · Ebina et al. · 2013 [cited by applicant]
US 20150229824A1 · Tanaka et al. · 2015 [cited by applicant]
US 20170094148A1 · Tsukagoshi · 2017 [cited by applicant]
US 20170134634A1 · Jin et al. · 2017 [cited by applicant]
US 20210112189A1 · Gang et al. · 2021 [cited by applicant]
CN 1437389A · 2003 [cited by applicant]
CN 1863277A · 2006 [cited by applicant]
CN 101394483A · 2009 [cited by applicant]
CN 101567977A · 2009 [cited by applicant]
CN 108111767A · 2018 [cited by applicant]
CN 109151256A · 2019 [cited by applicant]
CN 110248110A · 2019 [cited by applicant]
CN 110381276A · 2019 [cited by applicant]
CN 111355864A · 2020 [cited by applicant]
JP 2012094956A · 2012 [cited by applicant]
JP 2013238479A · 2013 [cited by applicant]
JP 2015054221A · 2015 [cited by applicant]
JP 2020129756A · 2020 [cited by applicant]