Professional Documents
Culture Documents
1 s2.0 S2405896319324826 Main
1 s2.0 S2405896319324826 Main
This paper presents a canopy density mapping system. The Data was collected by SwarmFarm in apple orchards in
system uses a 2D LiDAR for the purpose of designing Warragul, VIC, from flowering season (October, 2018)
a variable-rate sprayer for orchards. This paper seeks to fruitlet season (January, 2019), from sparse foliage to
to evaluate the full mapping system for robustness and heavy foliage. Two 2D rows and one 3D row were scanned
repeatability. A major advantage is the generated density from both sides.
maps are easy to store and visualize when compared
A quad mentioned in this paper was a metal frame of 0.8
with 3D point clouds and form a suitable input for a
m x 0.8 m. A QR code was setup in lower right to indicate
farmer’s variable rate spraying decision support system.
the position. It was placed in the canopy to help with the
The evaluation methods are suitable to apply to other
ground truth. Highlighted with retro-reflective orange tape
similar approaches to map canopy density.
as in Fig. 3, it was easy to be extracted from LiDAR data
because it returned high-intensity points.
2. SYSTEM DESIGN
Ten quads were setup in the 3D row - six on one side and
four on the other side, While eighteen in two 2D rows - six
2.1 Hardware on one side and three on the other side.
A 2D LiDAR SICK LMS151-10100 was set up for main
data collection cause. Three RealSense D435 RGB-D cam- 2.2 Software
eras were set-up vertically as shown in Fig. 2 to capture
both RGB images and depth data of apple trees from the Data collection was carried out by using Robot Operating
side view. In addition to this, a dual GPS-RTK module System Kinetic Kame (ROS). Google Cloud Platform was
was used to collect location information. The coordinate used for data storage for its large storage and accessibility.
of the sensors in the truck was measured for coordinate Data then were post-processed by using Python 2.7.12. Tiff
transformation. The system was designed and built by files were generated for visualization in MATLAB R2017b.
SwarmFarm. A Tiff image for a tree row discussed in this paper is less
343
IFAC AGRICONTROL 2019
344
December 4-6, 2019. Sydney, Australia Mengying Hu et al. / IFAC PapersOnLine 52-30 (2019) 342–348
Then from the side view, the canopy was cropped into
cells with 0.5 x 0.5m. The number of points in each cell
was calculated as the canopy density;
A map of canopy density from cells could be generated.
In general, the range of the number of points is from 0 to
500. So all the maps are visualized by MATLAB using a
range (0,500) . The canopy density map of a 3D row and
the original point cloud from side view is shown in Fig. 6.
Retro-reflective points were extracted as potential quad
points. A RANSAC algorithm shown in Algorithm 1 was
used to fit a square of 0.8 x 0.8 m to the candidates from
the side view. Every time a quad was detected, the points
of the quad were removed from the points until there were
less than 100 points in the candidate pool. Duplicate fitted
quads then could be combined according to their locations.
Fig. 4. Validation procedure
Quad IDs were calculated from GPS location and the point
density within each quad was calculated.
344
IFAC AGRICONTROL 2019
December 4-6, 2019. Sydney, Australia Mengying Hu et al. / IFAC PapersOnLine 52-30 (2019) 342–348 345
345
IFAC AGRICONTROL 2019
346
December 4-6, 2019. Sydney, Australia Mengying Hu et al. / IFAC PapersOnLine 52-30 (2019) 342–348
Fig. 8. R2 between manual classification and automatic Fig. 9. Canopy density map for 3D tree row and the dif-
calculation of quad density. Canopy density in each ference map. The last image is the average difference
quad is manually classified as a number in range map for 5 rows above.
0-10 (10 means full canopy), while automatic mea-
surements give a percentage from 0-1 (1 means full Table 2. Correlation coefficient of
canopy). canopy density
Row R2 Row R2
2D 0.98 3D 0.99
GPS performed pretty well. In the 2D tree row, the 2D 0.98 3D 0.98
deviation is within 4 cm horizontally and vertically. In 2D 0.98 3D 0.98
the 3D tree row, the horizontal deviation is also within 10 2D 0.98 3D 0.98
cm. Though it is still bigger than the radius of flowers or 2D 0.98 3D 0.99
branches, it should be enough for variable-rate sprayers. 2D 0.98 3D 0.98
2D 0.98 3D 0.99
2D 0.90 3D 0.97
2D 0.94 3D 0.98
4.2 Result for consistency of quads density Average 0.97 Average 0.98
346
IFAC AGRICONTROL 2019
December 4-6, 2019. Sydney, Australia Mengying Hu et al. / IFAC PapersOnLine 52-30 (2019) 342–348 347
Fig. 10. Canopy density map for 3D tree row and the difference map. The last image is the average difference map for
5 rows above.
Fig. 11. Canopy density map for 3D tree row from both sides and the difference map. The last image is the difference
map for both sides of the same row.
ACKNOWLEDGEMENTS
347
IFAC AGRICONTROL 2019
348
December 4-6, 2019. Sydney, Australia Mengying Hu et al. / IFAC PapersOnLine 52-30 (2019) 342–348
348