CPC H04N 23/741 (2023.01) [G06T 5/50 (2013.01); H04N 23/56 (2023.01); H04N 23/74 (2023.01); H04N 23/743 (2023.01); H04N 23/745 (2023.01); G06T 2207/10144 (2013.01); G06T 2207/20208 (2013.01)] | 20 Claims |
1. A method comprising:
receiving, by at least one processor from an imaging system, a first plurality of pixel data having a first exposure time;
receiving, by the at least one processor from the imaging system, a second plurality of pixel data having a second exposure time greater than the first exposure time;
detecting, by the at least one processor, whether flicker is present in the first plurality of pixel data;
detecting whether the second plurality of pixel data is in a saturation state;
selecting, by the at least one processor, a first or a second set of merging weights based on whether or not flicker is detected in the first plurality of pixel data and whether or not the second plurality of pixel data is in the saturation state, in which the first set of merging weights weight the second plurality of pixel data more heavily than the first plurality of pixel data, and in which the second set of merging weights weight the first plurality of pixel data more heavily than the second plurality of pixel data; and
merging, by the at least one processor, the first plurality of pixel data and the second plurality of pixel data, using the selected first or second set of merging weights, to generate a merged image.
|