METHOD AND SYSTEM OF DETECTING FLICKERING FREQUENCY OF AMBIENT LIGHT SOURCE
First Claim
1. A method of detecting a flickering frequency of an ambient light source, comprising:
- sensing a light intensity of a light source in a predetermined time period according to a sampling frequency to obtain a plurality of sample values;
calculating the sample values to obtain a median value;
making a comparison between the sample values and the median value and binarizing the sample values according to a result of the comparison to obtain a first sequence;
differentiating the first sequence to obtain a second sequence, wherein the second sequence comprises numbers −
1, 0 and 1; and
calculating a distance N between the same numbers in the second sequence, and dividing the sampling frequency by the distance N to obtain the flickering frequency of the light source, wherein the distance N is a positive integer greater than 1.
1 Assignment
0 Petitions
Accused Products
Abstract
A method of detecting a flickering frequency of an ambient light source includes the following steps. First, a light intensity of the light source is sensed in a predetermined time period according to a sampling frequency to obtain a plurality of sample values. Then, the sample values are calculated to obtain a median value. Next, the sample values are binarized according to a result of a comparison between the sample values and the median value to obtain a first sequence. The first sequence is differentiated to obtain a second sequence, and the second sequence includes numbers −1, 0, and 1. Then, a distance between the same numbers in the second sequence is calculated, and the sampling frequency is divided by the distance to obtain the flickering frequency of the ambient light source. A system of detecting a flickering frequency of an ambient light source is also disclosed herein.
-
Citations
23 Claims
-
1. A method of detecting a flickering frequency of an ambient light source, comprising:
-
sensing a light intensity of a light source in a predetermined time period according to a sampling frequency to obtain a plurality of sample values; calculating the sample values to obtain a median value; making a comparison between the sample values and the median value and binarizing the sample values according to a result of the comparison to obtain a first sequence; differentiating the first sequence to obtain a second sequence, wherein the second sequence comprises numbers −
1, 0 and 1; andcalculating a distance N between the same numbers in the second sequence, and dividing the sampling frequency by the distance N to obtain the flickering frequency of the light source, wherein the distance N is a positive integer greater than 1. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A system of detecting a flickering frequency of an ambient light source, comprising:
-
at least one light-emitting device, configured for providing at least one light source; a light sensing unit, configured for sensing the light intensity of the light source according to a sampling frequency to obtain a plurality of sample values; and a processing unit, wherein the processing unit calculates the sample values to obtain a median value, makes a comparison between the sample values and the median value, binarizes the sample values according to a result of the comparison to obtain a first sequence and differentiates the first sequence to obtain a second sequence, wherein the processing unit calculates a distance N between the same numbers in the second sequence and divides the sampling frequency by the distance N to obtain the flickering frequency of the light source and the distance N is a positive integer greater than 1. - View Dependent Claims (8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23)
-
Specification