This note is part of my M.S. thesis at Seoul National University, Development of Remote Sensing Technology for Radish and Chinese Cabbage Growth Using UAV and RGB Camera (2017, advisor: Hak-Jin Kim). It covers how I set the shutter speed for UAV images of white radish and Chinese cabbage.

Why the shutter speed matters

In UAV remote sensing, the UAV moves not only along the flight direction. Wind adds a velocity component perpendicular to the flight direction, and the UAV also rotates in roll, pitch, and yaw. Because of these motions, the pixels of an object on the camera sensor shift while the shutter is open (pixel smear), and the image comes out blurred (Figure 1). The amount of smear is the product of the camera’s exposure time and the speed at which the pixel moves (Eqn. 1). I assumed that the image is not blurred when the smear is smaller than one pixel.

\[\text{Pixel smear} = \frac{v_p \, \Delta t}{\text{Pixel size}} < 1 \quad\therefore\quad v_p \, \Delta t < \text{Pixel size} \tag{1}\]

where $v_p$ is the pixel velocity in the real world (m/s) and $\Delta t$ is the shutter speed (s).

Pixel velocity from the UAV’s motion

The exposure time of a camera is the time that light enters the image sensor. To get the pixel velocity, I wrote the position vector from the center of the UAV to an object P on the ground (Figure 1), and differentiated it to get the instantaneous relative velocity of the object’s pixel in the camera (Eqn. 2).

Sketch of the earth-fixed frame, the UAV frame, the camera ray to a ground point P, and the pixel velocity vector
Figure 1. Earth-fixed frame {i}, UAV frame {b}, line-of-sight vector \(H_{p/b}\), and image pixel velocity vector \(v_{p/b}\).
\[\begin{aligned} P_{p/b} &= P_b + H_{p/b} = P_b + h\hat{k} \\ v_{p/b} &= \frac{dP_b}{dt} + \frac{dH_{p/b}}{dt} = v_b + \dot{h}\hat{k} + h\,\vec{\omega}_b \times \hat{k} \\ v_b &= R_{b/i}\, v_{b/i} \\ \vec{\omega}_b &= [p\ q\ r]^T = p\hat{i} + q\hat{j} + r\hat{k} \\ \therefore\ v_{p/b} &= R_{b/i}\, v_{b/i} + \dot{h}\hat{k} + h\,(q\hat{i} - p\hat{j}) \end{aligned} \tag{2}\]

where $P_{p/b}$ is the pixel position vector from the UAV, $P_b$ is the UAV body position vector, $H_{p/b}$ is the vector from the UAV camera to the ground object, $h$ is the distance from the camera to the object (m), $\hat{k}$ is the downward unit vector of the UAV frame, $v_{p/b}$ is the pixel velocity vector (m/s), and $\vec{\omega}_b = [p\ q\ r]^T$ is the angular velocity of the UAV body (rad/s), all written in the UAV frame.

Minimum shutter speed

Using the magnitude of the pixel velocity from Eqn. 2, I calculated the minimum shutter speed that keeps the image from shifting by one pixel or more (Eqn. 3). The pixel size on the ground is set by the distance to the object, the sensor pitch, and the focal length.

\[\begin{aligned} V_p &= \lvert v_{p/b} \rvert \\ V_p\,\Delta t &< \text{Pixel size} = \frac{hc}{l} \\ \Delta t &\le \frac{hc}{V_p\, l} \;\Rightarrow\; \frac{1}{\Delta t} \ge \frac{V_p\, l}{hc} \\ \therefore\ \text{Minimum shutter speed} &= \frac{1}{\Delta t} = \frac{V_p\, l}{hc} \end{aligned} \tag{3}\]

where $V_p$ is the planar velocity of the pixel (m/s), $h$ is the distance from the camera to the object (m), $c$ is the sensor pitch (mm), and $l$ is the focal length (mm).

From a flight log to one shutter speed

During a waypoint flight for remote sensing, the UAV’s roll, pitch, yaw, and its velocity along the X, Y, and Z axes change with the target altitude and target speed (Figure 2a). In theory, the required shutter speed changes every moment as well (Figure 2b). I took the histogram of the minimum shutter speed over the flight time (Figure 2c) and used its top 5% value as the optimal shutter speed, which satisfies the minimum shutter speed in most situations.

Three plots: flight speed over time for 2, 4, and 6 m/s, the minimum shutter speed over time, and its histogram with the 95% point marked
Figure 2. Process of the optimal shutter speed calculation: (a) flight speed, (b) minimum shutter speed over time, (c) histogram of the minimum shutter speed, with the value exceeded only 5% of the time marked.

To see how the optimal shutter speed changes with the target altitude and target speed without the effect of the outside environment, I flew a test flight at the Muan Bioenergy Crop Research Center on September 29, 2016, with a target altitude of 40 m and a target speed of 2 m/s. From the flight log of this standard flight, I generated simulation data with the altitude scaled to 1/2 (20 m) and 1.5 times (60 m), and the speed scaled to 2 times (4 m/s) and 3 times (6 m/s) (Table 1). I used MATLAB (2016a, MathWorks, USA) for the data processing and simulation.

Dataset 1 2 3 4 5 6 7 8 9
Altitude (m) 20 20 20 40 40 40 60 60 60
Speed (m/s) 2 4 6 2 4 6 2 4 6

Table 1. Simulation datasets for the optimal shutter speed calculation at different flight altitudes and speeds.

Results

First, to see how the optimal shutter speed changes with flight altitude, I changed the altitude to 20 m, 40 m, and 60 m at a flight speed of 2 m/s. As the altitude increased from 20 m to 40 m to 60 m, the optimal shutter speed became longer: 1/503 s, 1/415 s, and 1/391 s (Figure 3). This means that a lower altitude needs a faster shutter speed, and a higher altitude allows a slower one.

Histograms of minimum shutter speed at 20, 40, and 60 m altitude with the 95% points at 1/503, 1/415, and 1/391 s
Figure 3. Effect of flight altitude on the optimal shutter speed (2 m/s).

At an altitude of 40 m, increasing the target speed to 2 m/s, 4 m/s, and 6 m/s made the optimal shutter speed shorter: 1/415 s, 1/503 s, and 1/613 s (Figure 4). At the same altitude, a faster flight needs a faster shutter speed, and a slower flight allows a slower one.

Histograms of minimum shutter speed at 2, 4, and 6 m/s with the 95% points at 1/415, 1/503, and 1/613 s
Figure 4. Effect of flight speed on the optimal shutter speed (40 m).

The shutter speed I used

A small rotary-wing UAV does not have the flight capability to fly faster than 6 m/s, and the optimal altitude for radish and Chinese cabbage remote sensing was about 40 m. So I judged that a shutter speed of 1/613 s or faster, the optimal value at 40 m and 6 m/s, was appropriate. Considering unexpected situations such as wind, and that the standard shutter speed after 1/500 s is 1/1000 s, I chose 1/1000 s as the optimal setting for radish and Chinese cabbage images. This setting should give fewer blurred images than leaving the shutter speed on Auto.

The next part covers how I used these images to estimate vegetation fraction and crop height and to predict radish and cabbage growth.