| CPC H04N 23/672 (2023.01) [H04N 9/01 (2023.01); H04N 23/71 (2023.01); H04N 25/133 (2023.01)] | 11 Claims |

|
1. A control method, implemented by an image sensor, the image sensor comprising a two-dimensional pixel array and a lens array, the two-dimensional pixel array comprising a plurality of color pixels and a plurality of panchromatic pixels, the plurality of color pixels having narrower spectral responses than the plurality of panchromatic pixels; the two-dimensional pixel array comprising minimum repeating units, in which the plurality of panchromatic pixels are arranged in a first diagonal direction and the plurality of color pixels are arranged in a second diagonal direction being different from the first diagonal direction; each of the minimum repeating units comprising a plurality of sub-units, and each of the plurality of sub-units comprising at least two color pixels of the plurality of color pixels and at least two panchromatic pixels of the plurality of panchromatic pixels; and the lens array comprising a plurality of lenses, and each of the plurality of lenses covering a corresponding one sub-unit of the plurality of sub-units, the control method comprising:
obtaining phase information of different pixels of the corresponding one sub-unit covered by the lens; and
calculating a phase difference according to the phase information of the different pixels, to perform focusing;
wherein obtaining phase information of different pixels of the corresponding one sub-unit covered by the lens comprises:
obtaining the phase information of a plurality of pixel pairs arranged in a lengthwise direction of the two-dimensional pixel array in the corresponding one sub-unit covered by the lens, each of the plurality of pixel pairs comprising at least one color pixel and at least one panchromatic pixel arranged in a widthwise direction of the two-dimensional pixel array in the corresponding one sub-unit covered by the lens; and
wherein calculating the phase difference according to the phase information of the different pixels, to perform focusing comprises:
calculating the phase difference according to the phase information of the plurality of pixel pairs arranged in the lengthwise direction of the two-dimensional pixel array, to perform focusing;
or
wherein obtaining phase information of different pixels of the corresponding one sub-unit covered by the lens comprises:
obtaining the phase information of a plurality of pixel pairs arranged in a widthwise direction of the two-dimensional pixel array in the corresponding one sub-unit covered by the lens, each of the plurality of pixel pairs comprising at least one color pixel and at least one panchromatic pixel arranged in a lengthwise direction of the two-dimensional pixel array in the corresponding one sub-unit covered by the lens; and
wherein calculating the phase difference according to the phase information of the different pixels, to perform focusing comprises:
calculating the phase difference according to the phase information of the plurality of pixel pairs arranged in the widthwise direction of the two-dimensional pixel array, to perform focusing.
|