Literature DB >> 32995105

Robust mosaicking of maize fields from aerial imagery.

Rumana Aktar1, Dewi Endah Kharismawati1,2,3, Kannappan Palaniappan1,2, Hadi Aliakbarpour1,2, Filiz Bunyak1,2, Ann E Stapleton4, Toni Kazic1,2,3.   

Abstract

PREMISE: Aerial imagery from small unmanned aerial vehicle systems is a promising approach for high-throughput phenotyping and precision agriculture. A key requirement for both applications is to create a field-scale mosaic of the aerial imagery sequence so that the same features are in registration, a very challenging problem for crop imagery.
METHODS: We have developed an improved mosaicking pipeline, Video Mosaicking and summariZation (VMZ), which uses a novel two-dimensional mosaicking algorithm that minimizes errors in estimating the transformations between successive frames during registration. The VMZ pipeline uses only the imagery, rather than relying on vehicle telemetry, ground control points, or global positioning system data, to estimate the frame-to-frame homographies. It exploits the spatiotemporal ordering of the image frames to reduce the computational complexity of finding corresponding features between frames using feature descriptors. We compared the performance of VMZ to a standard two-dimensional mosaicking algorithm (AutoStitch) by mosaicking imagery of two maize (Zea mays) research nurseries freely flown with a variety of trajectories.
RESULTS: The VMZ pipeline produces superior mosaics faster. Using the speeded up robust features (SURF) descriptor, VMZ produces the highest-quality mosaics. DISCUSSION: Our results demonstrate the value of VMZ for the future automated extraction of plant phenotypes and dynamic scouting for crop management.
© 2020 Aktar et al. Applications in Plant Sciences is published by Wiley Periodicals LLC on behalf of the Botanical Society of America.

Entities:  

Keywords:  aerial imagery; crop field imagery; maize; mosaicking; small unmanned aerial system (sUAS); video summarization

Year:  2020        PMID: 32995105      PMCID: PMC7507512          DOI: 10.1002/aps3.11387

Source DB:  PubMed          Journal:  Appl Plant Sci        ISSN: 2168-0450            Impact factor:   1.936


Current technologies generate massive amounts of video data that could provide abundant spatiotemporal information for plant phenotyping and crop management. Like other robotic technologies, small unmanned aerial systems (sUAS), or drones, produce new types of high‐throughput data that are very difficult to generate using manual scouting and sampling (Furbank and Tester, 2011; White et al., 2012; Busemeyer et al., 2013; White and Corley, 2013; Andrade‐Sanchez et al., 2014; Müller‐Linow et al., 2015; Shi et al., 2016). The advantages of sUAS over ground‐based robots and structured fields include the minimal damage to plants, rapid data collection, low capital costs, high portability among field sites, and no soil compaction (Busemeyer et al., 2013; Andrade‐Sanchez et al., 2014; Vadez et al., 2014; Liebisch et al., 2015; Blue River Technology [http://www.bluerivert.com/]; LemnaTec GmbH [http://www.lemnatec.com/]; Maricopa Agricultural Center [http://cals‐mac.arizona.edu/precision‐agriculture/]). Recent research applying drone technologies to phenotyping crops (Huang et al., 2013; López‐Granados et al., 2016; Gnädinger and Schmidhalter, 2017; Nasir and Tharani, 2017) builds on the extensive experience of the remote‐sensing community (Rouse et al., 1974; Li et al., 2014; Liebisch et al., 2015; Minervini et al., 2015). Several diverse crops, including tomatoes (Solanum lycopersicum L.), wheat (Triticum aestivum L.), and maize (Zea mays L.), have been phenotyped for traits ranging from plant height to stress responses to vegetative parameters measured at the canopy level (Condorelli et al., 2018; Enciso et al., 2019; Gracia‐Romero et al., 2019; Johansen et al., 2019; Wang et al., 2019). As described by Shi et al. (2016), the most common flight trajectory is a tight serpentine over the field with the camera in nadir view. The vehicle is paused at precomputed imaging waypoints chosen to ensure a high overlap between successive pairs of images, and still images of the canopy are collected. The number of waypoints and the image resolution are determined by the vehicle’s altitude and the camera’s resolution. Especially for large fields, feasible flight times require higher altitudes and faster speeds, lowering the resolution of the imagery and increasing the likelihood of pixel blurring. Moreover, a nadir camera view ablates the morphological structures that lie beneath the canopy, which are visible in an oblique view. The ultimate goal of quantitating phenotypes with aerial imagery begins with faster, more accurate methods for registering the flight imagery into a single mosaic that preserves the relative spatial position of each plant. Image registration, the first step in mosaicking, aligns two images of a scene taken from different viewpoints by identifying the same objects in each image, despite differences in their perspective, apparent position, and scaling. Mosaicking reconciles multiple views of the same field and the plants within it into a unified whole that can be compared with similar mosaics from imagery taken throughout the growing season. It can also be used to summarize a long video, enabling rapid searching and filtering without manual viewing (Viguier et al., 2015). Computer vision research has long focused on image registration and mosaicking (Brown, 1992; Zitova and Flusser, 2003); for example, image registration is widely applied to remote sensing, biomedicine, computer vision, and cartography (Pohl and Van Genderen, 1998; Chen et al., 2003; Zitova and Flusser, 2003; Bentoutou et al., 2005; Li et al., 2009; Aktar et al., 2016, 2018b; Teters et al., 2018; Ufuktepe et al., 2020). Each video frame has its own local coordinate system, which must be optimally transformed into the mosaic’s global coordinate system using a sequence of homography matrices that map each local system to that of the adjacent image, and thence to the global coordinate system. The two main approaches to computing homographies involve detecting distinctive, corresponding features (key points) between images using highly localized statistical descriptors (Schonberger and Frahm, 2016). The first approach computes image‐to‐image homography between successive views in two‐dimensional (2D) space, assuming the field of interest is adequately planar, and the homographies are multiplied together to produce the mosaic. Minor errors in determining each matrix rapidly accumulate as spatial and registration errors during mosaicking, and additional drift correction using non‐image metadata has been required to rapidly produce accurate mosaics (Molina and Zhu, 2014). These external metadata include georegistration or external or vehicle global positioning system data; camera and vehicle position and orientation from the vehicle’s inertial measurement unit and gimbal orientation sensors; or ground control points (i.e., fiducial markers placed on the ground to provide relative registration) (Zhu et al., 2005; Lin and Medioni, 2007). Tightly constraining trajectories and camera poses further simplify the computations by permitting the precomputation of the homographies. Downsampling the imagery produces smaller data sets that can be registered more quickly. Importantly, current phenotyping studies use either Pix4DMapper (Pix4D, Prilly, Switzerland) or AgiSoft (AgiSoft, St. Petersburg, Russia), both of which rely heavily on these strategies to produce canopy mosaics (Shi et al., 2016; Condorelli et al., 2018; Enciso et al., 2019; Gracia‐Romero et al., 2019; Johansen et al., 2019; Wang et al., 2019). Unfortunately, this approach imposes substantial technical and resource requirements. The high‐performance custom vehicles, sensors, and data acquisition systems that produce the metadata are expensive to purchase and use. Downsampling reduces image resolution, jeopardizing the early, sensitive detection of phenotypes and management problems. The analysis of large fields using this technique requires more and longer missions with more burdensome flight planning, field preparation, and data integration. Most importantly, fixed trajectories and nadir camera poses preclude the use of orbital trajectories and oblique poses that can produce other kinds of information, e.g., for 3D reconstruction of morphological phenotypes (Seetharaman et al., 2019; Aliakbarpour et al., 2020), and they cannot change to higher‐resolution imaging when anomalies are detected. Rapidly surveying large fields with variable trajectories and resolutions would permit automated scouting, reducing flight time and pilot fatigue. The second approach to computing homographies permits unconstrained trajectories and freedom from metadata, but sharply increases computational effort. Structure from Motion (SfM) uses only imagery to solve for the 3D scene and the camera spaces, globally optimizing both to more accurately recover camera poses and a sparse 3D point cloud (Agarwal et al., 2011; Gao et al., 2018). Thus, this approach can be applied to landscapes without ground control points imaged with inexpensive consumer‐grade equipment that lacks telemetry, flown without constraining the trajectory to a set of predetermined imaging waypoints (“freely flown”). The computational complexity of SfM grows exponentially with the number of frames in a data set (Agarwal et al., 2011; Wu, 2013), making it prohibitively expensive for data with hundreds of frames. Computing homographies for even small crop fields can be very challenging, and both approaches have additional difficulties when compared with mosaicking man‐made built environments (AliAkbarpour et al., 2015, 2017). First, built environments have many unique, sharp‐edged features that remain static during image capture and are minimally repeated over the landscape of interest, enabling the use of edge‐detection algorithms. In contrast, crop fields are composed of thousands of non‐sharply edged plant features that are very similar to each other. Plants repeat over the entire field, so plants in one frame look very much like those in adjacent frames. These repetitive features reduce the number of corresponding key points the algorithm correctly recognizes, misestimating the homographies and degrading registration. Although biological differences among the plants exist and occlusion during imaging occurs, these are not sufficient to give every plant visually or statistically distinct features. Second, plant features can change during the capture of a single video frame. The intermittent, irregular, and nonsmooth movements of plants due to local air currents and propeller downdraft complicate feature detection and matching. Third, unplanned changes in vehicle trajectory due to local wind currents or the miscalculation of the field of view can suddenly change camera position before automated or manual correction can occur. These complications can produce significant errors in estimating the homographies that then accumulate as the entire mosaic is computed. A few random frames from our aerial videos of a maize nursery illustrate some of these problems (Fig. 1).
FIGURE 1

Representative images from two aerial video sequences of a maize field taken at different times during the growing season, each with 670 frames. (A–E) DJI_0026.mov; (F–J) DJI_0003.mov. (A) Frame_0001, (B) Frame_0355, (C) Frame_0443, (D) Frame_0537, (E) Frame_0631, (F) Frame_0001, (G) Frame_0167, (H) Frame_0240, (I) Frame_0308, (J) Frame_0664. The viewpoint changes as the aerial vehicle and camera position shift during flight. For both sequences, the first image is a nadir view of the field.

Representative images from two aerial video sequences of a maize field taken at different times during the growing season, each with 670 frames. (A–E) DJI_0026.mov; (F–J) DJI_0003.mov. (A) Frame_0001, (B) Frame_0355, (C) Frame_0443, (D) Frame_0537, (E) Frame_0631, (F) Frame_0001, (G) Frame_0167, (H) Frame_0240, (I) Frame_0308, (J) Frame_0664. The viewpoint changes as the aerial vehicle and camera position shift during flight. For both sequences, the first image is a nadir view of the field. We have developed a novel mosaicking procedure that produces accurate mosaics of agricultural imagery taken during freely flown flights by an inexpensive, easy‐to‐fly sUAS with an RGB camera. This Video Mosaicking and summariZation (VMZ) pipeline performs 2D registration to produce a mosaic representing the whole scene in a rapid and robust manner, without any metadata or drift correction. The VMZ pipeline accelerates the computations and minimizes frame‐to‐frame drift in three ways: (1) by exploiting the temporal ordering of the image frames to help find corresponding features; (2) by generating a set of mini‐mosaics from the video sequence and then referencing these to the base frame using a novel algorithm; and (3) by choosing the strongest key points detected with feature correspondence algorithms that are less confused by repetitive structures. Using maize research nurseries imaged in two different field seasons, we compared the performance of different feature descriptors for these videos. The VMZ pipeline with the speeded up robust features (SURF) descriptor much more efficiently and accurately produced mosaics than a well‐known stitching algorithm, AutoStitch (Brown and Lowe, 2007; MATLAB, 2019).

MATERIALS AND METHODS

Materials

A field of maize inbred lines, disease lesion mimic mutants, and elite corn was imaged twice during the 2016 growing season, once at maturity (DJI_0026.mov) and once after senescence (DJI_0003.mov). This field was planted at several different densities. In 2019, we imaged a field planted with the same inbred and elite genotypes, and closely related mutant genotypes, with rows planted at two different densities (DJI_0174.mov). In all fields, the rows were 20 ft (6.1 m) long. Each block of parallel rows stretching across the field was a range, and the ranges were separated by 4 ft (1.2 m) alleys. Together, the rows and alleys form a visual checkerboard; the rows intersect the alleys at right angles.

Imaging using the sUAS

All imaging was performed near solar noon using a DJI Phantom 4 (Da‐Jiang Innovations, Shenzhen, China) photography drone. No alterations to the vehicle or its camera were made, and all flights were flown manually. The trajectory for DJI_0026.mov was a fairly high‐altitude, two‐pass, right‐angled serpentine connected by an orbit; the camera was mostly held in a nadir pose. The trajectory for DJI_0003.mov was mostly a high‐altitude orbital trajectory with nadir and oblique camera views (Appendices S1, S2). DJI_0174.mov was taken with the camera in nadir view using a straight out‐and‐back trajectory at a low, relatively constant altitude (Appendix S3). Some lateral motion of the vehicle relative to the field occurred during the course of the flight. All trajectories involved marked changes in altitude, the direction of the vehicle relative to the field, and the camera pose. The 1.0‐megapixel videos were recorded at 24 frames/s in 24‐bit color. The video files were written on Secure Digital High Capacity (SDHC) cards carried on the sUAS and manually copied onto the computer used to generate the mosaics. This machine had an Intel Core i7 processor running at a clock speed of 2.2 GHz, and 32 GB of memory.

Video preprocessing

The correction of the Phantom 4’s lens distortion was performed using the MATLAB calibration toolbox developed by Bouguet (Bouguet and Perona, 1998; Bouguet, 2015). The procedure returns camera intrinsic, extrinsic, and distortion parameters that are then applied to the raw frames prior to mosaicking. A calibration checkerboard of 12 × 9‐square checks (each check is 60 × 60 mm; Calib.io, Svendborg, Denmark) was imaged from different angles of view and camera positions relative to nadir. Errors in image selection, the manual definition of the checkerboard’s corners, or automated corner extraction produce large pixel errors. These problems must be corrected prior to the iterative optimization of the initial estimates. We refined ours thrice to get a minimum average pixel error. The computation of feature points and matching is often a huge bottleneck in terms of time complexity. The original video frame sizes were 3840 × 2160 pixels (DJI_0003.mov and DJI_0026.mov) and 4096 × 2160 pixels (DJI_0174.mov). DJI_0003.mov and DJI_0026.mov were downsampled to 1920 × 1080 pixels, while DJI_0174.mov was corrected for lens distortion prior to downsampling to 2018 × 1047 pixels. No other preprocessing was performed. These corrected downsampled frames were directly used for shot detection and mosaic generation.

Shot detection

The first step in our mosaicking algorithm is to segment the image sequence into a few meaningful spatially and temporally overlapped segments based on scene changes and camera motion. A meaningful segment is called a shot, and this method is called shot detection (second row in Fig. 2). The input is the cumulative histogram difference in graph‐cut energy (Viguier et al., 2015) between consecutive frames of the whole video. These differences mainly form two clusters of frames. The algorithmic details are provided in Appendix 1.
FIGURE 2

The VMZ pipeline. The main steps in the pipeline are: preprocessing, video segmentation based on shot detection, mini‐mosaic generation, and meta‐mosaicking using a graph optimization‐based method.

The VMZ pipeline. The main steps in the pipeline are: preprocessing, video segmentation based on shot detection, mini‐mosaic generation, and meta‐mosaicking using a graph optimization‐based method.

Feature detection for frame‐to‐frame registration

The next step is to find distinctive features in one image and identify their corresponding features in a subsequent image. Features can be corners, edges, contours, textures, intersection points, etc., and can be described mathematically by many different strategies. Here, we briefly describe the four standard feature descriptors we tested; fuller descriptions are given in Appendix 1. A 2D color structure tensor (ST) (Hafiane et al., 2008) is a semi‐local descriptor that finds large, distinctive properties of an image, such as edges and corners, over a microblock of pixels. Microblocks in one image are compared to those in another using a search window, returning the positions of the similar blocks (Hafiane et al., 2008). Scale‐invariant feature transform (SIFT), SURF, and affine SIFT (ASIFT) are local descriptors that employ different strategies and statistics for feature matching and are widely used (Lowe, 2004; Bay et al., 2006; Morel and Yu, 2009). The SIFT descriptor is invariant to scaling, orientation, and illumination changes, and partially invariant to affine distortions, whereas SURF is invariant to changes in rotation, scale, and illumination, and to small changes in camera viewpoint. The ASIFT descriptor is a more robust version of SIFT that is invariant to scaling, rotations, and translations and can use the camera orientation parameters to find the transition tilt as the camera changes position. The VMZ pipeline implements an adaptive feature descriptor (VMZ‐Adaptive) that combines features with different characteristics. Fast features such as ST and SURF are used for the efficient matching of images with large overlap. When the overlap between frames is not sufficient, VMZ automatically switches to a more robust descriptor, ASIFT. This adaptive nature helps VMZ obtain good matches by compromising time efficiency a bit.

Estimation of the homographies of the transformation models

Once the features that correspond in two images are identified, we use homography to geometrically map one frame to another. Given a landscape that is approximately planar, homography maps four points in one image into the coordinate system of another. The second coordinate system is described with reference to that of the first. The mathematical details of this mapping are provided in Appendix 1.

Inlier selection using random sample consensus

Although the prior steps produce a large number of matched, transformed features, at least some of these matches are poor or artifactual. Random sample consensus (RANSAC) is used to establish a robust matching between images by removing putative matches that are outliers in an estimated distribution (Fischler and Bolles, 1987). Random subsets of the matches are used to iteratively fit a linear model; those points that fit the proposed model are the retained “inliers.”

Pixel filling

In this method, any pixel in the canvas comes from a single frame. Pixels that are not present in the canvas at time t − 1 but are found in the warped frame at time t are added to the mosaic.

Evaluation of mosaic quality and algorithm performance

We evaluated the performance of VMZ in three ways: inspection, quantitative performance, and comparison to AutoStitch (Brown and Lowe, 2007; MATLAB, 2019). Quantitative comparisons of mosaic quality used the structural similarity indices SSIM and SSIM and scene integrity (Bolaños and Edmeades, 1996; Yang et al., 2015) (for computational details, see Appendix 1); SSIM quantifies how well a warped frame at time t is aligned or structurally similar to an overlapping region of the initial mosaic computed at t = 1, while SSIM measures how structurally similar a warped frame at time t is to the mosaic obtained from frames 1 to t − 1. Scene integrity is defined as the ratio of images in the mosaic that match those in the input scene; scores range from 0 (complete failure) to 1 (complete success). The run time performance in Table 1 was benchmarked as a function of image sequence, feature descriptor, and the average number of features in each frame. AutoStitch is a standard 2D registration algorithm incorporated into several commercial products. The MATLAB implementation uses the SURF descriptor, but unlike VMZ‐SURF it uses all image features to establish image matching (Brown and Lowe, 2007; MATLAB, 2019).
TABLE 1

Quantitative comparison of the different methods for mosaicking the three maize videos. The best results for run time and the structural similarity index measure (SSIM) statistics are in bold.

Data set a FeatureFeatures/frame b No. of imagesScene integrityTime (s)s/Frame SSIM f SSIM p
DJI_0026AutoStitch13,560670121953.28
VMZ‐Adaptive857670114,72621.980.97340.9803
VMZ‐ASIFT35,780670138,96458.16 0.9911 0.9985
VMZ‐SURF50006701 1331 1.99 0.9899 0.9990
DJI_0003AutoStitch13,706670115873.86
VMZ‐Adaptive857670115,31622.860.94130.9883
VMZ‐ASIFT36,344670151,67377.120.94010.9885
VMZ‐SURF50006701 1540 2.29 0.9491 0.9984
DJI_0174AutoStitch12,89015114853.21
VMZ‐Adaptive8071511343622.750.98020.9812
VMZ‐ASIFT34,0401511909760.250.99560.9978
VMZ‐SURF50001511 352 2.33 0.9957 0.9978

SSIM f = how well a warped frame at time t is aligned or structurally similar to an overlapping region of the initial mosaic computed at t = 1; SSIM p = how structurally similar a warped frame at time t is to the mosaic obtained from frames 1 to t − 1.

Mosaics for the sequences DJI_0003 and DJI_0174 are presented in Appendixes S1 and S3.

The number of structure tensor (ST) features for the adaptive feature descriptor (VMZ‐Adaptive), which switches between the ST, speeded up robust features (SURF), and affine scale‐invariant feature transform (ASIFT).

Quantitative comparison of the different methods for mosaicking the three maize videos. The best results for run time and the structural similarity index measure (SSIM) statistics are in bold. SSIM f = how well a warped frame at time t is aligned or structurally similar to an overlapping region of the initial mosaic computed at t = 1; SSIM p = how structurally similar a warped frame at time t is to the mosaic obtained from frames 1 to t − 1. Mosaics for the sequences DJI_0003 and DJI_0174 are presented in Appendixes S1 and S3. The number of structure tensor (ST) features for the adaptive feature descriptor (VMZ‐Adaptive), which switches between the ST, speeded up robust features (SURF), and affine scale‐invariant feature transform (ASIFT).

RESULTS

Overview of the VMZ pipeline

We present a complete system, VMZ, that accepts a sequence of video frames as input and produces one or more mosaics from the sequence. The block diagram of the VMZ pipeline is presented in Fig. 2. The video preprocessing and shot detection steps in VMZ are described in the Methods. Below, we describe our mini‐mosaicking algorithm. The algorithm’s pseudocode is presented in Appendix 1 (Algorithm 1: Mini‐mosaic generation) and is also shown pictorially in Fig. 3.
FIGURE 3

The VMZ transformation model. The VMZ transformation model explains how images are registered after shot boundaries are found. The red bars in row A represent a shot boundary. Once a shot is detected (row B), its frames are divided into a few groups using frame motion information and the number of frames in a group (row C). Each group is represented as a single color (Group 1 is in blue in rows C and D), with the reference frame (first frame of the group) in the darkest shade (dark blue for Group 1). Within a group, each frame is directly mapped to the reference by homography, as shown by the arrows (current‐to‐reference mapping; row D). Next, each reference frame is homographically mapped to the previous reference in order to obtain a global coordinate system for all frames (reference‐to‐reference mapping; row E). The mosaic is generated in the coordinates of the base or first frame (row F). Base, first frame of a shot; Ref, reference frame.

The VMZ transformation model. The VMZ transformation model explains how images are registered after shot boundaries are found. The red bars in row A represent a shot boundary. Once a shot is detected (row B), its frames are divided into a few groups using frame motion information and the number of frames in a group (row C). Each group is represented as a single color (Group 1 is in blue in rows C and D), with the reference frame (first frame of the group) in the darkest shade (dark blue for Group 1). Within a group, each frame is directly mapped to the reference by homography, as shown by the arrows (current‐to‐reference mapping; row D). Next, each reference frame is homographically mapped to the previous reference in order to obtain a global coordinate system for all frames (reference‐to‐reference mapping; row E). The mosaic is generated in the coordinates of the base or first frame (row F). Base, first frame of a shot; Ref, reference frame.

Steps in mini‐mosaic construction

Algorithm 1 (Appendix 1) includes three main steps: homography calculation, canvas estimation, and finally warping and blending. A very preliminary version of the mini‐mosaicking algorithm was presented by Aktar et al. (2018a, b). Homography estimation: The homography module estimates four different homography matrices for warping all the frames together. Within a group, it directly maps each frame to the first frame of the group, which is referred to as the reference frame. This mapping relation is denoted as current‐to‐reference homography (H_CR) (line 7). If the number of frames in the current group is greater than 40 or the displacement between the current frame () with respect to the group’s reference frame is greater than the threshold (one‐third of frame height or width), then a new group is formed (Algorithm 1, lines 8–13). Next, the reference‐to‐reference homography (H_RR), which aligns any group’s reference frame to that of the preceeding group, is calculated directly (line 9). The reference‐to‐base homography (H_RB), which aligns a reference to the first frame of a shot, is estimated using the H_RR between the current frame and the reference frame, and the H_RB between the prior frame and its prior frame by Eqn. 7 (Algorithm 1, line 11). Finally, the current‐to‐base homograpy, which aligns the current frame to the reference frame of the group, is estimated from H_CR and H_RB by Eqn. 8 (Algorithm 1, line 15). Canvas estimation: Canvas size estimation is straightforward. We transform the four corners of each frame with the current‐to‐base homography (H_CB) to get the bounding box information of the image in mosaic coordinates. From the bounding box information, we need the four extremal points: the leftmost lower and upper corners, and the rightmost lower and upper corners (Algorithm 1, lines 18–19). These four points define the canvas size. Warping and blending: We warp each frame by inverting its corresponding current‐to‐base homography (H_CB) (Algorithm 1, line 21). Next, we extract a region of interest (ROI) from the current mini‐mosaic using the corners of the current frame, i (Algorithm 1, line 22). Once we have the ROI, we blend using the pixel‐filling method described above. Finally, we reassign or update the mini‐mosaic canvas (Algorithm 1, line 24).

Global evaluation of feature descriptors

Quantitative comparisons of VMZ’s feature descriptors and AutoStitch for the maize imagery are shown in Table 1. AutoStitch uses all the image features to establish sequential matching, identifying more features than VMZ‐Adaptive and VMZ‐SURF at the cost of consistently slower run times than VMZ using any feature descriptor. In VMZ‐Adaptive, the ST descriptor finds the edges and corners in an image, grouping them into feature blocks (around 800 per frame). When the percentage of matched features after RANSAC elimination (the percent inliers) falls below 40%, VMZ‐Adaptive switches from the ST to the SURF descriptor. Because it uses ASIFT only for reference frame matching, VMZ‐Adaptive is faster than ASIFT but slower than SURF. The ASIFT descriptor extracts the most points of all the descriptors, improving feature matching quality at the cost of long computational times. Finally, SURF extracts around 14,000 feature points but picks the strongest 5000 key points for matching and registration. As a result, its computational complexity and time is much lower than ASIFT. We quantitated the mosaic quality for VMZ with each descriptor using SSIM and SSIM, which require the generation of an intermediate mosaic at each individual frame or a known ground‐truth mosaic. Unlike VMZ, AutoStitch does not provide these additional data, so we could not compute these statistics for it. Usually SSIM was highest for VMZ‐SURF, with VMZ‐ASIFT performing marginally better for DJI_0026.mov. For all three videos, SSIM was highest for VMZ‐SURF. The scene integrity was the same for all algorithms. Judged by the mosaic‐quality scores and speed, SURF was the most useful method for extracting features and matches for these maize video sequences. Examples of the features SURF finds after extraction, matching, and inlier selection for slow and fast platform trajectories are shown in Fig. 4A and 4B, respectively. The top row in each panel shows the raw frames. The second and third rows contrast the features extracted by SURF and show the strongest 5000 features. The fourth row shows the features matched by SURF, and the bottom row presents just the inliers found by RANSAC. The difference in trajectory speeds affects feature matching in VMZ, as shown in the SURF matched row; more than 2300 matches were found in the image groups captured at slower speeds, dropping to 229 matches for fast speeds.
FIGURE 4

Changes in the SURF point distribution during VMZ processing in frames of DJI_0026.mov. (A) Group 1, shots of a video flown with a slow trajectory. (B) Group 6, shots flown with a fast trajectory. The shots were sampled at every 10th (A) and second (B) frame. The location of each feature is shown by a green dot. The number of features is shown at each step below the frames. Rows from top to bottom: the original image with its frame number below it (Image), all features extracted by SURF (Features), the strongest 5000 SURF features (Strongest 5000), features matched with the reference frame features by SURF matching (SURF matching), and finally, inliers after filtration by RANSAC (RANSAC inliers).

Changes in the SURF point distribution during VMZ processing in frames of DJI_0026.mov. (A) Group 1, shots of a video flown with a slow trajectory. (B) Group 6, shots flown with a fast trajectory. The shots were sampled at every 10th (A) and second (B) frame. The location of each feature is shown by a green dot. The number of features is shown at each step below the frames. Rows from top to bottom: the original image with its frame number below it (Image), all features extracted by SURF (Features), the strongest 5000 SURF features (Strongest 5000), features matched with the reference frame features by SURF matching (SURF matching), and finally, inliers after filtration by RANSAC (RANSAC inliers). We also examined how well each of VMZ’s descriptors function during the pipeline and how well SURF performed over the sequences DJI_0026.mov and DJI_0003.mov (Appendix S4). For both videos, ST extracted the fewest features and relied most heavily on the RANSAC inliers. The most features were extracted using SURF, which relied least on RANSAC; ASIFT fell in between.

Local mosaic quality

The global statistical descriptors provide a rough estimate of overall mosaic quality, but absent comparing the mosaics over their entire extent to a ground‐truth image, the best way to assess quality is to closely examine the mosaics for localized errors. For each video sequence, we compared the mosaics produced by AutoStitch, VMZ‐Adaptive, VMZ‐ASIFT, and VMZ‐SURF (see Figs. 5, 6; Appendices S1, S2, S3) illustrating three types of artifacts: distortion of field geometry, global and local object mismatches, and color anomalies. Considering all data sets and types of errors, VMZ‐SURF produces the best mosaics. More details on mosaic geometry and feature statistics (as illustrated in Appendices S1–S4) are provided in Appendix S5.
FIGURE 5

Mosaics of sequence DJI_0026.mov produced by AutoStitch (A) and VMZ’s three feature descriptors (B–D). (A) AutoStitch (3319 × 2654 pixels), (B) VMZ‐Adaptive (2005 × 1723 pixels), (C) VMZ‐ASIFT (2022 × 1737 pixels), (D) VMZ‐SURF (2006 × 1723 pixels). Sizes in parentheses are of the original high‐resolution mosaics; they are rescaled in the figure to make the field approximately the same size in each mosaic. At this scale, registration errors are visible (A–C) as a jagged left edge and foreshortening of the lower right corner of the field. Minor lens distortion is visible along the bottom of the mosaics.

FIGURE 6

Examples of registration errors in the DJI_0026.mov mosaics. In (A), the red box marks a region from the VMZ‐SURF mosaic that is expanded in (B–E) for AutoStitch and VMZ’s three feature descriptors: (B) AutoStitch, (C) VMZ‐Adaptive, (D) VMZ‐ASIFT, (E) VMZ‐SURF. The approximate global registration error is seen as an offset along the segments of the three physically continuous irrigation pipes; these are marked with arrows in (B–D). These global errors are also visible as an artificial boundary in the center of the mosaics. Arrow color denotes the magnitude of the errors; red, worst; blue, moderate; yellow, least bad. Local registration errors are visible as the blurring of the plants’ leaves and tassels and the apparently curved rows on the right side of the field.

Mosaics of sequence DJI_0026.mov produced by AutoStitch (A) and VMZ’s three feature descriptors (B–D). (A) AutoStitch (3319 × 2654 pixels), (B) VMZ‐Adaptive (2005 × 1723 pixels), (C) VMZ‐ASIFT (2022 × 1737 pixels), (D) VMZ‐SURF (2006 × 1723 pixels). Sizes in parentheses are of the original high‐resolution mosaics; they are rescaled in the figure to make the field approximately the same size in each mosaic. At this scale, registration errors are visible (A–C) as a jagged left edge and foreshortening of the lower right corner of the field. Minor lens distortion is visible along the bottom of the mosaics. Examples of registration errors in the DJI_0026.mov mosaics. In (A), the red box marks a region from the VMZ‐SURF mosaic that is expanded in (B–E) for AutoStitch and VMZ’s three feature descriptors: (B) AutoStitch, (C) VMZ‐Adaptive, (D) VMZ‐ASIFT, (E) VMZ‐SURF. The approximate global registration error is seen as an offset along the segments of the three physically continuous irrigation pipes; these are marked with arrows in (B–D). These global errors are also visible as an artificial boundary in the center of the mosaics. Arrow color denotes the magnitude of the errors; red, worst; blue, moderate; yellow, least bad. Local registration errors are visible as the blurring of the plants’ leaves and tassels and the apparently curved rows on the right side of the field.

Distortion of field geometry

Distortions due to mosaicking errors are visible in Figs. 5 and 6. In Fig. 5A–C, the bottom half of the actually straight left edge of the field was shifted leftward due to an abrupt discontinuity in the mosaic. Similarly, rows in the bottom right corner are foreshortened. Both VMZ‐Adaptive and VMZ‐ASIFT recovered the field’s perimeters and internal geometry more accurately than AutoStitch, although VMZ‐Adaptive (Fig. 5B) had more trouble with the right edge of the field than VMZ‐ASIFT (Fig. 5C), which foreshortened the right side of the bottom edge to a greater extent. Both had difficulty with the row/alley checkerboard. None of the three approaches were aided by the placed fiducial marks (white shapes mounted on posts). In contrast, VMZ‐SURF consistently produced mosaics with the least geometric distortion for sequences DJI_0026 (Fig. 5D) and DJI_0003 (Appendix S1). In other experiments, we corrected some of this trapezoidal distortion by correcting the first frame for gimbal distortion prior to mosaicking the sequence (data not shown). The remaining distortion is probably due to the nonplanarity of this field, which is crowned near the middle of the bottom edge and slopes down toward the corners. This suggests that the VMZ descriptors are more sensitive to field nonplanarity than AutoStitch’s full set of SURF key points.

Global and local object mismatches

Figures 5 and 6 illustrate two scales of mismatches by the four algorithms. The first is a global mismatch in the central range of the field, visible as a line across the range that produces the jagged left edge discussed above. In Fig. 6, this central region is highlighted in the VMZ‐SURF mosaic (Fig. 6A) and cropped and expanded for all four mosaics (Fig. 6B–E). The mismatches are visible as sudden offsets in the three irrigation pipes running parallel to the rows, highlighted by the arrows. The offsets produced were greatest for AutoStitch, followed by VMZ‐Adaptive and least for VMZ‐ASIFT. In contrast, VMZ‐SURF (Fig. 6E) registered the central range almost perfectly. Local mismatches are visible on the right side of Fig. 6B–E. These manifest as two artifacts: blurred plants and curved rows. Both VMZ‐Adaptive and VMZ‐ASIFT blur the plants more than AutoStitch and especially VMZ‐SURF, which renders the sharpest plants over the entire field. The VMZ‐Adaptive, VMZ‐ASIFT, and VMZ‐SURF approaches (Fig. 6C–E) combined several rows to their adjacent rows in the middle of the range toward the right edge of the field. The magnitude and number of “curved rows” was greatest for VMZ‐Adaptive, then VMZ‐ASIFT, then VMZ‐SURF. AutoStitch exhibited the fewest local mismatches (Fig. 6B).

Color anomalies

The VMZ pipeline adds new pixels from any frame that are not present in the growing mosaic. In contrast, AutoStitch blends overlying frames to produce a mosaic in the global canvas. The pixel‐blending algorithm for the VMZ pipeline is therefore simpler than that of AutoStitch, which makes errors in mosaicking readily apparent. These anomalies are visible in the lower right corner of the mosaics produced using AutoStitch, VMZ‐Adaptive, and VMZ‐ASIFT (Fig. 5A–C). The grass below the maize and soybean (Glycine max L.) fields, and stripes in the soybeans at the edge of the maize field, are presented as yellow instead of green. By contrast, VMZ‐SURF displays much less misregistration, although some is still visible at the bottom of the soybean field (Fig. 5D).

Mosaic footprints

Finally, another way to assess the quality of the mosaicking is to determine the footprint, or transformed image boundary, of each frame placed in the final canvas. Because the vehicle’s trajectories are relatively smooth and continuous, each frame should stack fairly regularly in a good mosaic, allowing for affine transformations as shown in Fig. 7 for the VMZ‐SURF mosaics. The footprints for each video are divided into two sections, so that those from earlier in the video (Fig. 7A, C) are not obscured by the later frames (Fig. 7B, D), illustrating how well the transformed frames cover the final mosaic.
FIGURE 7

Footprints during mosaicking of DJI_0026.mov (A, B) and DJI_0003.mov (C, D). The first 330 (A) and all 670 frames (B) of DJI_0026.mov. The first 330 (C) and all 670 frames (D) of DJI_0003.mov. The color changes from blue to green to yellow to red as a function of time in the video sequences to increase visual clarity.

Footprints during mosaicking of DJI_0026.mov (A, B) and DJI_0003.mov (C, D). The first 330 (A) and all 670 frames (B) of DJI_0026.mov. The first 330 (C) and all 670 frames (D) of DJI_0003.mov. The color changes from blue to green to yellow to red as a function of time in the video sequences to increase visual clarity.

DISCUSSION

Imagery of row crops, either in genetic nurseries or production fields, by definition contains large numbers of similar image features that repeat over the field. These confuse matching for registration and produce mosaicking errors, making the proper selection of the feature descriptor very important. The different VMZ descriptors and a standard mosaicking algorithm all exhibited characteristic registration errors for both the field and the individual plants. By selecting the 5000 best corresponding features, SURF markedly improves the mosaic quality and sharply decreases run time compared with the gold‐standard ASIFT descriptor. Similarly, VMZ’s 2D image registration approach outperforms AutoStitch. Historically, quadratic algorithms have been used where the images to be registered are unordered. We exploited the advantage of capturing video sequences, freely flown in one flight, so that each consecutive pair of frames has an overlapped region. This temporal continuity of the sequence allows us to use a linear algorithm. The imagery used here did not contain any significant changes in view, so we were able to generate a single mosaic from each sequence in linear time. However, it is important to account for situations where there are greater discontinuities in the frame sequence due to changes in the vehicle position relative to the field, camera view, or flight trajectory. This is especially true for freely or adaptively flown flights. This is where VMZ’s shot detection, or temporal segmentation, is important. Shot detection divides a whole sequence with discontinuities into a few meaningful and contiguous smaller sequences (the “shot” in VMZ). From each shot, one mini‐mosaic is generated. Our results reflect the way the different feature descriptors operate. The ST descriptor performs a cruder match than other descriptors, because it finds edges and corners by relying on blocks of color gradients; thus, it consistently finds fewer features than either ASIFT or SURF and relies more heavily on RANSAC inliers (Appendix S4A, B). When the percentage of RANSAC inliers for the ST descriptor falls below 40%, VMZ‐Adaptive switches from the ST to the SURF descriptors; this occurs in almost half of the frames. Alternatively, ASIFT finds a large number of matching key points for affine transformations, but with a much greater cost. Among the descriptors used here, it runs more than 30 times more slowly and often does not produce the best mosaics, despite being regarded as the gold‐standard descriptor. Furthermore, ASIFT allows affine transformations to be matched, which negatively affects quality for repetitive patterns such as field crops. Although SURF extracts 14,000–15,000 features, VMZ‐SURF selects the 5000 strongest, resulting in more robust homographies with less noise in matching due to weaker key points. The VMZ pipeline uses RANSAC, which estimates the parameters of a model to distinguish outliers from inliers in a distribution of data, to filter key points; thus, each time RANSAC is run, different key points will be retained as inliers. Multiple samples of inliers using RANSAC might slightly improve selection of key points. Another way of assessing the performance of the descriptors is to examine the scalar SSIM statistics (Table 1). The SSIM score is a global measure of how well the entire mosaic is constructed. The SSIM values for all the descriptors were similar, ranging from 0.98–0.99, with SURF consistently having the highest score. The SSIM score computes the frame‐to‐frame similarity between the first frame and each successive frame at time t during mosaicking. Here, differences in the quality of mosaicking among the four descriptors are much more apparent, consistent with the localized errors observed in the mosaics. For two out of the three sequences, SURF again had the highest score and in the third was only marginally inferior to ASIFT. Thus, SURF is the most accurate descriptor for this imagery, as determined using several criteria. Apart from repetitive plant features, several other factors can influence the quality of the mosaic produced by any of the methods compared here. The main optical factor is distortion due to the lens, particularly if it is asymmetric. We corrected the lens distortion prior to mosaicking (Appendix S3), which somewhat improved the mosaicking but consequently more starkly revealed the mechanical distortion. Mechanical distortion can occur if the orientation of the camera is not perpendicular to the zenith (in nadir view) or yawed relative to the nose of the aircraft (in oblique views). The empirical correction of gimbal distortion in the first frame of a video substantially improved the planarity of the resulting mosaic (data not shown) faster and at much less cost than using an SfM technique (Avola et al., 2018). Finally, many crop fields are not strictly planar, exhibiting multiple changes of elevation over their area. This is the major cause of the pinching and tilt of the right side of the mosaics in Appendix S3. We demonstrate a faster, more robust algorithm for mosaicking aerial imagery of crop fields. After comparing the results from different descriptors, we conclude that VMZ‐SURF outperforms other descriptors for maize field imagery both in mosaic quality and run time. The robustness of this approach is achieved by exploiting the temporal consistency within the video sequence and utilizing a grouping technique to handle multiple coordinate systems for image registration. Currently, feature extraction and matching are responsible for around 88% of the total running time. Automatic correction for lens, gimbal, and elevation distortions, as well as the adaptation of a good blending method, might be helpful in reducing visual artifacts such as localized bending within the mosaic and illumination changes. In the future, we plan to extend our mosaicking algorithm to exploit parallelization, to make these corrections, and to support features from deep learning systems to further reduce the execution time and improve feature matching quality. This work is a first step in automatically measuring morphological and developmental phenotypes using freely or adaptively flown trajectories designed to directly capture that information, and to exploit the rapid computational times for the eventual dynamic scouting of production fields.

AUTHOR CONTRIBUTIONS

R.A., K.P., F.B., and H.A. planned and designed the research for generating the mosaics. R.A. and K.P. designed and implemented the VMZ pipeline and mini‐mosaicking algorithm, and R.A. produced the results. D.E.K. collected the 2019 imagery, corrected it for lens distortion, and generated mosaics using only ASIFT for comparison with VMZ. A.E.S. contributed to the conceptualization of the work. T.K. designed and executed the maize experiments, collected the 2016 imagery, and contributed to conceptualization and algorithm formulation. All the authors contributed to the analysis of the results and writing the manuscript. APPENDIX S1. Mosaics of sequence DJI_0003.mov produced by AutoStitch (A) and VMZ’s three feature descriptors (B–D). A soybean field is located to the right of the maize field, with a pumpkin field located below it. (A) AutoStitch (3438 × 4032 pixels), (B) VMZ‐Adaptive (2074 × 2201 pixels), (C) VMZ‐ASIFT (2091 × 2198 pixels), (D) VMZ‐SURF (2083 × 2171 pixels). Sizes in parentheses are of the original high‐resolution mosaics; they are rescaled in the figure to make the field approximately the same size in each mosaic. Registration errors are visible in (A–C) as non‐square field geometries and distortion of the range/alley checkerboard. Poor color rendering due to the misregistration of the pixels prior to blending is seen as stripes of abrupt shifts in color over the ranges, particularly in (B), and paler pumpkins in the field below the maize field. Minor lens distortion is visible along the bottom of all four mosaics. Click here for additional data file. APPENDIX S2. Errors in field geometry and color blending in the DJI_0003.mov mosaics. The red box in (A) marks the lower edge of the field from the VMZ‐SURF mosaic that is scaled up in (B–E) for AutoStitch and VMZ’s three feature descriptors: AutoStitch (B), VMZ‐Adaptive (C), VMZ‐ASIFT (D), VMZ‐SURF (E). The left edge of the soybean field is actually parallel to the right edge of the maize field, as seen in panel (E). Poor color blending is visible in the bottom left corner of the soybeans. Click here for additional data file. APPENDIX S3. Mosaics of sequence DJI_00174.mov produced by AutoStitch (A) and VMZ’s different descriptors (B–D). The frames were corrected for lens distortion prior to mosaicking. (A) AutoStitch (8598 × 2182 pixels), (B) VMZ‐Adaptive (6496 × 2065 pixels), (C) VMZ‐ASIFT (7708 × 2074 pixels), (D) VMZ‐SURF (8796 × 2256 pixels). Sizes in parentheses are of the original high‐resolution mosaics; they are rescaled in the figure to make the field approximately the same size in each mosaic. Distortion of the field geometry arises from the registration errors previously noted and also from the field’s nonplanarity. The field is crowned near the center of the bottom edge. Uncorrected gimbal error contributes a bit to the distortion (data not shown). Click here for additional data file. APPENDIX S4. Distributions of feature statistics in sequences DJI_0026.mov and DJI_0003.mov. (A, B) Percentage of the number of features for the three descriptors used for the feature extraction, feature matching, and RANSAC filtration steps for DJI_0026.mov (A) and DJI_0003.mov (B). Here the x‐axes and y‐axes correspond to the different descriptors and the percentage of features after each step, respectively. (C, D) Number of features found by SURF after each processing step along the sequences in DJI_0026.mov (C) and DJI_0003.mov (D). Here the x‐axes and y‐axes correspond to the video frame number and the number of features, respectively. Click here for additional data file. APPENDIX S5. Further analysis of mosaic geometry and feature statistics in the Video Mosaicking and summariZation (VMZ) pipeline. Click here for additional data file.
  12 in total

Review 1.  Phenomics--technologies to relieve the phenotyping bottleneck.

Authors:  Robert T Furbank; Mark Tester
Journal:  Trends Plant Sci       Date:  2011-11-09       Impact factor: 18.313

Review 2.  Transpiration efficiency: new insights into an old story.

Authors:  Vincent Vadez; Jana Kholova; Susan Medina; Aparna Kakkera; Hanna Anderberg
Journal:  J Exp Bot       Date:  2014-03-05       Impact factor: 6.992

3.  Persistent aerial video registration and fast multi-view mosaicing.

Authors:  Edgardo Molina; Zhigang Zhu
Journal:  IEEE Trans Image Process       Date:  2014-05       Impact factor: 10.856

4.  The leaf angle distribution of natural plant populations: assessing the canopy with a novel software tool.

Authors:  Mark Müller-Linow; Francisco Pinto-Espinosa; Hanno Scharr; Uwe Rascher
Journal:  Plant Methods       Date:  2015-02-26       Impact factor: 4.993

Review 5.  A review of imaging techniques for plant phenotyping.

Authors:  Lei Li; Qin Zhang; Danfeng Huang
Journal:  Sensors (Basel)       Date:  2014-10-24       Impact factor: 3.576

6.  Unmanned Aerial Vehicles for High-Throughput Phenotyping and Agronomic Research.

Authors:  Yeyin Shi; J Alex Thomasson; Seth C Murray; N Ace Pugh; William L Rooney; Sanaz Shafian; Nithya Rajan; Gregory Rouze; Cristine L S Morgan; Haly L Neely; Aman Rana; Muthu V Bagavathiannan; James Henrickson; Ezekiel Bowden; John Valasek; Jeff Olsenholler; Michael P Bishop; Ryan Sheridan; Eric B Putman; Sorin Popescu; Travis Burks; Dale Cope; Amir Ibrahim; Billy F McCutchen; David D Baltensperger; Robert V Avant; Misty Vidrine; Chenghai Yang
Journal:  PLoS One       Date:  2016-07-29       Impact factor: 3.240

7.  Dynamic plant height QTL revealed in maize through remote sensing phenotyping using a high-throughput unmanned aerial vehicle (UAV).

Authors:  Xiaqing Wang; Ruyang Zhang; Wei Song; Liang Han; Xiaolei Liu; Xuan Sun; Meijie Luo; Kuan Chen; Yunxia Zhang; Hao Yang; Guijun Yang; Yanxin Zhao; Jiuran Zhao
Journal:  Sci Rep       Date:  2019-03-05       Impact factor: 4.379

8.  Unmanned Aerial Vehicle-Based Phenotyping Using Morphometric and Spectral Analysis Can Quantify Responses of Wild Tomato Plants to Salinity Stress.

Authors:  Kasper Johansen; Mitchell J L Morton; Yoann M Malbeteau; Bruno Aragon; Samir K Al-Mashharawi; Matteo G Ziliani; Yoseline Angel; Gabriele M Fiene; Sónia S C Negrão; Magdi A A Mousa; Mark A Tester; Matthew F McCabe
Journal:  Front Plant Sci       Date:  2019-03-29       Impact factor: 5.753

9.  BreedVision--a multi-sensor platform for non-destructive field-based phenotyping in plant breeding.

Authors:  Lucas Busemeyer; Daniel Mentrup; Kim Möller; Erik Wunder; Katharina Alheit; Volker Hahn; Hans Peter Maurer; Jochen C Reif; Tobias Würschum; Joachim Müller; Florian Rahe; Arno Ruckelshausen
Journal:  Sensors (Basel)       Date:  2013-02-27       Impact factor: 3.576

10.  Comparative Aerial and Ground Based High Throughput Phenotyping for the Genetic Dissection of NDVI as a Proxy for Drought Adaptive Traits in Durum Wheat.

Authors:  Giuseppe E Condorelli; Marco Maccaferri; Maria Newcomb; Pedro Andrade-Sanchez; Jeffrey W White; Andrew N French; Giuseppe Sciara; Rick Ward; Roberto Tuberosa
Journal:  Front Plant Sci       Date:  2018-06-26       Impact factor: 5.753

View more
  1 in total

1.  Corrigendum.

Authors: 
Journal:  Appl Plant Sci       Date:  2020-10-30       Impact factor: 1.936

  1 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.