This work was presented at the 2016 Spring Conference of the Korean Society for Agricultural Machinery (Proceedings, 21(1), 129–130).

Introduction

A consumer camera can be converted to NIR imaging by removing the internal IR-blocking filter and adding a red-blocking filter in front of the lens. This gives near-infrared sensitivity for vegetation analysis on a UAV, but the manufacturer’s spectral response no longer applies. Without measuring the camera’s actual sensitivity, the reflectance values derived from it are biased.

In this post I measure the spectral response of an NIR-modified Canon SX260 and an unmodified Canon S110 (RGB), and use both for radiometric calibration of UAV images. There are two steps:

  1. Spectral response characterization: recovering each channel’s sensitivity curve from a color checker and spectrometer measurements.
  2. Radiometric calibration: mapping the DN values of each flight to surface reflectance using ground reference panels.

The approach follows Jiang et al. (2013).


1. Camera Spectral Response Identification

Cameras

The NIR-converted Canon SX260 is the reason for this work. Removing the factory IR-blocking filter and adding a red-blocking filter shifts its sensitivity into the NIR band, so its spectral response has to be measured rather than taken from the factory specifications.

Two cameras were mounted on the UAV platform:

Camera Model Modification
RGB Canon S110 Stock (unmodified)
NIR Canon SX260 IR-blocking filter removed; red-blocking filter added

Experimental Setup

Spectral responses were identified in a lab setting by:

  • Illuminating a 24-patch color checker under a tungsten halogen lamp
  • Capturing images with both cameras under the same conditions
  • Measuring the patches’ surface reflectance with a spectrometer (known $R(\lambda)$)
Lab setup with color checker and halogen lamp
Fig. 1. 24-patch color checker illuminated by a tungsten halogen lamp. Camera DN and spectrometer reflectance are recorded for each patch.

Mathematical Model

We model the spectral response function $c_k(\lambda)$ of channel $k$ as a linear combination of $D$ basis functions:

\[c_k(\lambda) = \sum_{i=1}^{D} q_{k,i} \, u_{k,i}(\lambda)\] \[\begin{aligned} &\text{where} \quad k \in \{R,\, G,\, B,\, NIR\} &&\text{(image channel)} \\ &\phantom{\text{where}} \quad c_k(\lambda) &&\text{relative spectral sensitivity of channel } k \\ &\phantom{\text{where}} \quad u_{k,i}(\lambda) &&\text{basis function } i \text{ for channel } k \\ &\phantom{\text{where}} \quad q_{k,i} \in \mathbb{R} &&\text{scalar coefficient, solved by least squares} \\ &\phantom{\text{where}} \quad D = 2 &&\text{number of basis functions} \end{aligned}\]
Basis functions for RGB and NIR channels
Fig. 2. Basis functions $u_{k,1}(\lambda)$ and $u_{k,2}(\lambda)$ derived for each camera channel. These span the space of plausible spectral sensitivity curves for the sensors used.

Recovering the Response Coefficients

The digital number $I_k$ for a camera channel $k$ viewing a surface with reflectance $R(\lambda)$ is:

\[I_k = \int R(\lambda)\, c_k(\lambda)\, d\lambda = \sum_{i=1}^{D} \underbrace{\left( \int R(\lambda)\, u_{k,i}(\lambda)\, d\lambda \right)}_{E_{k,i}} q_{k,i}\]

Stacking all 24 color patches into a matrix system gives:

\[\mathbf{I} = \mathbf{E}\,\mathbf{q}\]

Since we have 24 measurements but only $D = 2$ unknowns per channel, the system is overdetermined and solved via least squares using the Moore–Penrose pseudoinverse:

\[\mathbf{q} = \mathbf{E}^{+}\,\mathbf{I} = (\mathbf{E}^T \mathbf{E})^{-1} \mathbf{E}^T \mathbf{I}\]

Results: Recovered Spectral Responses

Recovered spectral response of Canon S110 RGB camera
Fig. 3a. Canon S110 (RGB). The recovered response shows the classic overlapping R/G/B sensitivity peaks of an unmodified Bayer sensor.
Recovered spectral response of NIR-converted Canon SX260
Fig. 3b. Canon SX260 (NIR-converted). The red-blocking filter suppresses the R channel's short-wavelength sensitivity, pushing sensitivity into the NIR band.

2. Radiometric Calibration of UAV Images

UAV Platform

Field data was collected with a DJI F550 hexa-rotor equipped with a 3DR Pixhawk autopilot. The dual-camera payload (RGB + NIR side by side) was mounted in a nadir-facing gimbal for consistent ground coverage.

DJI F550 UAV with dual camera payload
Fig. 4. DJI F550 hex-rotor with the Canon S110 (RGB) and Canon SX260 (NIR-converted) mounted as a synchronized dual-camera payload.

Ground Reference Panels

Before each flight, calibration panels covering a wide reflectance range were laid on the ground within the image footprint.

The panels’ full spectral curves $R_x(\lambda)$ were measured by spectrometer, shown below:

Spectral reflectance of all calibration panels from 400–800 nm
Fig. 5. Spectrometer-measured surface reflectance of all calibration panels (400–800 nm). These spectra serve as ground truth for computing the band-weighted reference reflectance $\vec{r}_{x,k}$.

The panels are clearly visible in both the RGB and NIR UAV images below:

Aerial RGB and NIR views of the field showing calibration panels
Fig. 6. Nadir UAV views of the field. Left: RGB image showing the grayscale panel strip along the field edge. Right: NIR image of the same area. The NIR response of vegetation and soil differs markedly from the visible.

Band-Weighted Reference Reflectance

Using the recovered camera responses $C_k(\lambda)$, we compute the expected reflectance that each channel “sees” for each calibration panel $x$:

\[r_{x,k} = \frac{\displaystyle\int_{400}^{800} R_x(\lambda)\, C_k(\lambda)\, d\lambda}{\displaystyle\int_{400}^{800} C_k(\lambda)\, d\lambda}\]

Each channel averages reflectance over a range of wavelengths weighted by its own sensitivity curve, so this band-weighted value is used instead of a simple wideband average.

Calibration Curves: DN to Reflectance

The observed DN values from the panel pixels in the UAV image are paired with the computed $\vec{r}_{x,k}$ values. Fitting an exponential model $\rho = a \cdot e^{b \cdot \text{DN}}$ to this scatter yields the per-channel, per-flight calibration function:

DN vs Reflectance calibration scatter plots for R, G, B, NIR channels
Fig. 7. DN vs. reference reflectance for each channel (R, G, B, NIR). Each dot is one calibration panel. Saturation artifacts (DN > 240) were excluded. $R^2$ values range from 0.69 (NIR) to 0.94 (Red). The lower NIR fit quality reflects sensor non-linearity near saturation.

3. Results

Two basis functions ($D = 2$) were enough to recover smooth spectral responses for both cameras. The recovered response of the NIR-converted SX260 differs from a generic Bayer response, so using a generic curve would bias its reflectance values.

An exponential model fit the DN–reflectance relation across the eight panels (about 3–90% reflectance), with $R^2$ from 0.69 (NIR) to 0.94 (R). Panels with DN above 240 were saturated and distorted the fit, so I excluded them.


References

  • Jiang, J., et al. (2013). “What is the space of spectral sensitivity functions for digital color cameras?” IEEE Workshop on Applications of Computer Vision (WACV).
  • Hunt, E. R., et al. (2010). “Acquisition of NIR-green-blue digital photographs from unmanned aircraft for crop monitoring.” Remote Sensing, 2(1), 290–305.
  • Hakala, T., et al. (2013). “Direct reflectance measurements from a UAV: sensor absolute radiometric calibration and system tests for forest reflectance characterization.” Sensors, 13(4), 5170–5192.