Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2023 Jan 9;12(2):317.
doi: 10.3390/plants12020317.

An Open-Source Package for Thermal and Multispectral Image Analysis for Plants in Glasshouse

Affiliations

An Open-Source Package for Thermal and Multispectral Image Analysis for Plants in Glasshouse

Neelesh Sharma et al. Plants (Basel). .

Abstract

Advanced plant phenotyping techniques to measure biophysical traits of crops are helping to deliver improved crop varieties faster. Phenotyping of plants using different sensors for image acquisition and its analysis with novel computational algorithms are increasingly being adapted to measure plant traits. Thermal and multispectral imagery provides novel opportunities to reliably phenotype crop genotypes tested for biotic and abiotic stresses under glasshouse conditions. However, optimization for image acquisition, pre-processing, and analysis is required to correct for optical distortion, image co-registration, radiometric rescaling, and illumination correction. This study provides a computational pipeline that optimizes these issues and synchronizes image acquisition from thermal and multispectral sensors. The image processing pipeline provides a processed stacked image comprising RGB, green, red, NIR, red edge, and thermal, containing only the pixels present in the object of interest, e.g., plant canopy. These multimodal outputs in thermal and multispectral imageries of the plants can be compared and analysed mutually to provide complementary insights and develop vegetative indices effectively. This study offers digital platform and analytics to monitor early symptoms of biotic and abiotic stresses and to screen a large number of genotypes for improved growth and productivity. The pipeline is packaged as open source and is hosted online so that it can be utilized by researchers working with similar sensors for crop phenotyping.

Keywords: co-registration; illumination correction; image processing; multispectral; segmentation; thermal.

PubMed Disclaimer

Conflict of interest statement

The authors declare no conflict of interest.

Figures

Figure 1
Figure 1
Integrated multimodal and imaging setup. A multispectral camera was physically mounted on the top of a thermal camera using a magnetic mount assembly to provide a uniform field-of-view (FoV). The irradiance sensor was mounted on the top. During imaging, a radiometric calibration target with 80 percent reflectivity was placed behind the plants.
Figure 2
Figure 2
The image processing pipeline. The steps include image acquisition by thermal and multispectral cameras, and image processing for distortion correction of multispectral images, image registration (coarse and fine), radiometric scaling of thermal images, and illumination correction of multispectral images.
Figure 3
Figure 3
Process of capturing images and radial optical distortion. (a) An image without distortion (top) and image with radial barrel distortion (bottom) where r is the off-axis image distance, which increases with distortion. (b) Extrinsic parameters (Rotation (R) and Translation (T)) are used to convert the 3D world plane coordinates (Ow) to a 3D camera plane coordinates (Oc), which are converted to 2D image coordinates (Oi) with the help of intrinsic parameters; Op represents the pixel plane.
Figure 4
Figure 4
(a) A distorted image of a checkerboard pattern from a multispectral camera and (b) extrinsic parameters action visualisation. Images were taken from different angles and distances to calculate extrinsic parameters and minimise radial barrel distortion.
Figure 5
Figure 5
Setup for coarse image registration: (a) FoV of RGB; (b) FoV of thermal image. A white corflute with different geometric cut-outs was placed in front of a black background with a higher surface temperature than the corflute sheet. The cut-outs are visible in optical (RGB), multispectral, and thermal image bands.
Figure 6
Figure 6
(a) Feature detection between RGB and thermal images; the green cross and red circles represent common features (corners) for thermal and multispectral images, respectively. (b) Working principle of the projection of moving image into the FoV of a fixed image using a geometric transformations matrix. The red circle, blue cross, and green cross represent the features of the fixed image, moving image, and projected image, respectively.
Figure 7
Figure 7
Image registration output after (a) coarse registration and (b) fine registration. Pink represents misalignment between the thermal and optical images, which was significantly reduced after fine registration.
Figure 8
Figure 8
Pixel values of images: (a) before radiometric rescaling—the pixel values are stored as Digital Numbers (DNs); (b) after radiometric rescaling—the DNs are converted to temperature values. The maximum and minimum temperature values are recorded on the right of the thermal image.
Figure 9
Figure 9
Output of RGB images after (a) gradient correction and (b) illumination correction.
Figure 10
Figure 10
Image segmentation: (a) foreground mask after adaptive thresholding and (b) segmented RGB image after application of the foreground mask. The non-canopy pixel values are converted to zero.
Figure 11
Figure 11
An eight-band stacked image representing only the canopy pixels in the following order: RGB, green, red, NIR, red-edge, and thermal. Each pixel of an image represents the same pixels for the other images, which are represented by red squares in the images.
Figure 12
Figure 12
Vegetative indices: (a) Normalized Difference VI (NDVI) and (b) Chlorophyll Index red edge (CIre).
Figure 13
Figure 13
Reprojection error between the distorted and undistorted image for NIR band. The x- and y-axis represent the number of images and mean errors in pixels, respectively.
Figure 14
Figure 14
Mattes mutual information between multispectral and thermal images after registration.
Figure 15
Figure 15
Error metric for segmentation: (a) Root Mean Square Error (RMSE) and (b) Structural Similarity Map (SSIM) between the original image and segmented images.

References

    1. Li L., Zhang Q., Huang D. A Review of Imaging Techniques for Plant Phenotyping. Sensors. 2014;14:20078–20111. doi: 10.3390/s141120078. - DOI - PMC - PubMed
    1. Riaz M.W., Yang L., Yousaf M.I., Sami A., Mei X.D., Shah L., Rehman S., Xue L., Si H., Ma C. Effects of Heat Stress on Growth, Physiology of Plants, Yield and Grain Quality of Different Spring Wheat (Triticum aestivum L.) Genotypes. Sustainability. 2021;13:2972. doi: 10.3390/su13052972. - DOI
    1. Mohanty N. Photosynthetic characteristics and enzymatic antioxidant capacity of flag leaf and the grain yield in two cultivars of Triticum aestivum (L.) exposed to warmer growth conditions. J. Plant Physiol. 2003;160:71–74. doi: 10.1078/0176-1617-00847. - DOI - PubMed
    1. Pineda M., Barón M., Pérez-Bueno M. Thermal Imaging for Plant Stress Detection and Phenotyping. Remote Sens. 2020;13:68. doi: 10.3390/rs13010068. - DOI
    1. Xu R., Li C., Paterson A. Multispectral imaging and unmanned aerial systems for cotton plant phenotyping. PLoS ONE. 2019;14:e0205083. doi: 10.1371/journal.pone.0205083. - DOI - PMC - PubMed