| CPC H04N 23/675 (2023.01) [H04N 25/50 (2023.01); B60W 60/001 (2020.02)] | 12 Claims |

|
1. A method for focal adjustment of an automotive camera, the method comprising:
for each of two or more predefined regions of interest (ROIs) within a field of view of the camera, providing a corresponding target focal setting for the camera;
determining a first focal setting for a first subset of the two or more ROIs depending on the respective target focal settings of the ROIs of the first subset of ROIs;
capturing a first image during a first frame period by an imager of the camera, wherein the first focal setting is used at least during a part of the first frame period;
determining a second focal setting for a second subset of the two or more predefined ROIs depending on the respective target focal settings of the ROIs of the second subset of ROIs;
changing the first focal setting to the second focal setting and capturing a second image during a second frame period after the first frame period by the imager,
wherein the second focal setting is used at least during a part of the second frame period,
wherein the target focal settings of the first subset of ROIs contain at least two different target focal settings, and the first focal setting is computed by carrying out an optimization depending on the at least two different target focal settings of the first subset of ROIs,
wherein the first focal setting is given by an optimal solution of a predefined first objective function, and
wherein the target focal settings of the second subset of ROIs contain at least two different target focal settings and the second focal setting is computed by carrying out an optimization depending on the at least two different target focal settings of the second subset of ROIs,
wherein the second focal setting is given by an optimal solution of a predefined second objective function.
|