A light sensor (2; 4) comprising a plurality of pixels (1; 5), each pixel comprising: - N first nodes IN1-2i, N being an integer superior or equal to 2 and i being an integer having values in the range from 1 to N; - N first photodiodes PDi, each first photodiode PDi having a terminal coupled to the first node IN1-2i; and - a first amplifier comprising a first part (AMP1-1) and N second parts AMP2-11, the first part (AMP1-1) of the first amplifier being common to the N first photodiodes PDi and comprising an output of the first amplifier and a first MOS transistor of a differential pair of the first amplifier, each of the N second parts AMP1-21 of the first amplifier being associated with a corresponding first photodiode PDi and comprising: - a second MOS transistor T2i of the differential pair, the second transistor T2i having a gate coupled to the first node IN1-2i, - a first switch IT1i for coupling a source of the second transistor T2i to the first part (AMP1-1) of the first amplifier, - a second switch IT2i for coupling a drain of the second transistor T2i to the first part (AMP1-1) of the amplifier; - a feedback loop FbLi having a first end connected to the first node IN1-2i, and - at least one third switch for coupling a second end of the feedback loop FbLi to the output of the first amplifier; and a control circuit (CTRL) configured: for each selected first photodiode PDi, to close the first switch IT1i, the second switch IT2i and the at least one third switch of the second part AMP1-21 of the first amplifier associated with said selected first photodiode PDi to electrically couple said second part AMP1-21 to the first part (AMP1-1) of the first amplifier; and for each non-selected first photodiode PDi, to open the first switch IT1i, the second switch IT2i and the at least one third switch of the second part AMP1-21 of the first amplifier associated with said non-selected first photodiode PDi to electrically disconnect said second part AMP1-21 and the first part (AMP1-1) of the first amplifier. - N first nodes IN1-2i, N being an integer superior or equal to 2 and i being an integer having values in the range from 1 to N; - N first photodiodes PDi, each first photodiode PDi having a terminal coupled to the first node IN1-2i; and - a first amplifier comprising a first part (AMP1-1) and N second parts AMP2-11, the first part (AMP1-1) of the first amplifier being common to the N first photodiodes PDi and comprising an output of the first amplifier and a first MOS transistor of a differential pair of the first amplifier, each of the N second parts AMP1-21 of the first amplifier being associated with a corresponding first photodiode PDi and comprising: - a second MOS transistor T2i of the differential pair, the second transistor T2i having a gate coupled to the first node IN1-2i, - a first switch IT1i for coupling a source of the second transistor T2i to the first part (AMP1-1) of the first amplifier, - a second switch IT2i for coupling a drain of the second transistor T2i to the first part (AMP1-1) of the amplifier; - a feedback loop FbLi having a first end connected to the first node IN1-2i, and - at least one third switch for coupling a second end of the feedback loop FbLi to the output of the first amplifier; and - a second MOS transistor T2i of the differential pair, the second transistor T2i having a gate coupled to the first node IN1-2i, - a first switch IT1i for coupling a source of the second transistor T2i to the first part (AMP1-1) of the first amplifier, - a second switch IT2i for coupling a drain of the second transistor T2i to the first part (AMP1-1) of the amplifier; - a feedback loop FbLi having a first end connected to the first node IN1-2i, and - at least one third switch for coupling a second end of the feedback loop FbLi to the output of the first amplifier; and for each selected first photodiode PDi, to close the first switch IT1i, the second switch IT2i and the at least one third switch of the second part AMP1-21 of the first amplifier associated with said selected first photodiode PDi to electrically couple said second part AMP1-21 to the first part (AMP1-1) of the first amplifier; and for each non-selected first photodiode PDi, to open the first switch IT1i, the second switch IT2i and the at least one third switch of the second part AMP1-21 of the first amplifier associated with said non-selected first photodiode PDi to electrically disconnect said second part AMP1-21 and the first part (AMP1-1) of the first amplifier.