DYNAMIC IMAGE DIMENSION ADJUSTMENT
A computer accesses a feed of image frames from a camera. The computer determines, based on at least a first image frame from the feed, electronic image stabilization (EIS) data, and internal motion unit (IMU) data, a future image height. The computer enables or disables, for at least a second image frame from the feed, image lines on a sensor of the camera to obtain the determined future image height.
1 . A method comprising:
accessing a feed of image frames from a camera;
determining, based on at least a first image frame from the feed, a future image height based on electronic image stabilization (EIS) data and internal motion unit (IMU) data; and
enabling or disabling, for at least a second image frame from the feed, image lines on a sensor of the camera to obtain the determined future image height.
2 . The method of claim 1 , wherein enabling or disabling the image lines on the sensor of the camera comprises:
disabling h uppermost image lines of the camera sensor;
disabling h lowermost image lines of the camera sensor; and
enabling remaining image lines of the camera sensor, wherein h is a positive integer determined based on the future image height and a total number of image lines of the camera sensor.
3 . The method of claim 1 , further comprising:
recursively repeating accessing the feed, determining the future image height, and enabling or disabling the image lines on the sensor.
4 . The method of ah claim 1 , wherein the IMU data comprises angular motion data from a gyroscope.
5 . The method of claim 1 , wherein the EIS data comprises at least one of: rotation data, panning data, or tilting data.
6 . The method of claim 1 , wherein enabling the image lines on the sensor comprises providing electric power to the image lines on the sensor.
7 . The method of claim 1 , wherein disabling the image lines on the sensor comprises failing to provide electric power to the image lines on the sensor.
8 . An apparatus comprising:
a camera comprising a sensor, the sensor comprising image lines;
processing circuitry; and
a memory storing instructions which, when executed by the processing circuitry, cause the processing circuitry to:
access a feed of image frames from the camera;
determine, based on at least a first image frame from the feed, a future image height based on electronic image stabilization (EIS) data and internal motion unit (IMU) data; and
enable or disable, for at least a second image frame from the feed, at least one of the image lines on the sensor of the camera to obtain the determined future image height.
9 . The apparatus of claim 8 , wherein the instructions which, when executed by the processing circuitry, cause the processing circuitry to enable or disable the at least one of the image lines on the sensor of the camera comprise instructions which, when executed by the processing circuitry, cause the processing circuitry to:
disable h uppermost image lines of the camera sensor;
disable h lowermost image lines of the camera sensor; and
enable remaining image lines of the camera sensor, wherein h is a positive integer determined based on the future image height and a total number of image lines of the camera sensor.
10 . The apparatus of claim 8 , the memory further storing instructions which, when executed by the processing circuitry, cause the processing circuitry to:
recursively repeating accessing the feed, determining the future image height, and enabling or disabling the image lines on the sensor.
11 . The apparatus of claim 8 , wherein the IMU data comprises angular motion data from a gyroscope.
12 . The apparatus of claim 8 , wherein the EIS data comprises at least one of: rotation data, panning data, or tilting data.
13 . The apparatus of claim 8 , wherein enabling the image lines on the sensor comprises providing electric power to the image lines on the sensor.
14 . The apparatus of ah claim 8 , wherein disabling the image lines on the sensor comprises failing to provide electric power to the image lines on the sensor.
15 . A non-transitory machine-readable medium storing instructions that, when executed by processing circuitry, cause the processing circuitry to:
access a feed of image frames from a camera;
determine, based on at least a first image frame from the feed, a future image height based on electronic image stabilization (EIS) data and internal motion unit (IMU) data; and
enable or disable, for at least a second image frame from the feed, image lines on a sensor of the camera to obtain the determined future image height.
16 . The non-transitory machine-readable medium of claim 15 , wherein the instructions that, when executed by the processing circuitry, cause the processing circuitry to enable or disable the at least one of the image lines on the sensor of the camera comprise instructions which, when executed by the processing circuitry, cause the processing circuitry to:
disable h uppermost image lines of the camera sensor;
disable h lowermost image lines of the camera sensor; and
enable remaining image lines of the camera sensor, wherein h is a positive integer determined based on the future image height and a total number of image lines of the camera sensor.
17 . The non-transitory machine-readable medium of claim 15 , further storing instructions that, when executed by the processing circuitry, cause the processing circuitry to:
recursively repeating accessing the feed, determining the future image height, and enabling or disabling the image lines on the sensor.
18 . The non-transitory machine-readable medium of claim 15 , wherein the IMU data comprises angular motion data from a gyroscope.
19 . The non-transitory machine-readable medium of claim 15 , wherein the EIS data comprises at least one of: rotation data, panning data, or tilting data.
20 . The non-transitory machine-readable medium of claim 15 , wherein enabling the image lines on the sensor comprises providing electric power to the image lines on the sensor.