Cargando…
Vehicle Spatial Distribution and 3D Trajectory Extraction Algorithm in a Cross-Camera Traffic Scene
The three-dimensional trajectory data of vehicles have important practical meaning for traffic behavior analysis. To solve the problems of narrow visual angle in single-camera scenes and lack of continuous trajectories in 3D space by current cross-camera trajectory extraction methods, we propose an...
Autores principales: | , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
MDPI
2020
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7698096/ https://www.ncbi.nlm.nih.gov/pubmed/33202659 http://dx.doi.org/10.3390/s20226517 |
_version_ | 1783615751185235968 |
---|---|
author | Tang, Xinyao Song, Huansheng Wang, Wei Yang, Yanni |
author_facet | Tang, Xinyao Song, Huansheng Wang, Wei Yang, Yanni |
author_sort | Tang, Xinyao |
collection | PubMed |
description | The three-dimensional trajectory data of vehicles have important practical meaning for traffic behavior analysis. To solve the problems of narrow visual angle in single-camera scenes and lack of continuous trajectories in 3D space by current cross-camera trajectory extraction methods, we propose an algorithm of vehicle spatial distribution and 3D trajectory extraction in this paper. First, a panoramic image of a road with spatial information is generated based on camera calibration, which is used to convert cross-camera perspectives into 3D physical space. Then, we choose YOLOv4 to obtain 2D bounding boxes of vehicles in cross-camera scenes. Based on the above information, 3D bounding boxes around vehicles are built with geometric constraints which are used to obtain projection centroids of vehicles. Finally, by calculating the spatial distribution of projection centroids in the panoramic image, 3D trajectories of vehicles are extracted. The experimental results indicate that our algorithm can effectively complete vehicle spatial distribution and 3D trajectory extraction in various traffic scenes, which outperforms other comparison algorithms. |
format | Online Article Text |
id | pubmed-7698096 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2020 |
publisher | MDPI |
record_format | MEDLINE/PubMed |
spelling | pubmed-76980962020-11-29 Vehicle Spatial Distribution and 3D Trajectory Extraction Algorithm in a Cross-Camera Traffic Scene Tang, Xinyao Song, Huansheng Wang, Wei Yang, Yanni Sensors (Basel) Article The three-dimensional trajectory data of vehicles have important practical meaning for traffic behavior analysis. To solve the problems of narrow visual angle in single-camera scenes and lack of continuous trajectories in 3D space by current cross-camera trajectory extraction methods, we propose an algorithm of vehicle spatial distribution and 3D trajectory extraction in this paper. First, a panoramic image of a road with spatial information is generated based on camera calibration, which is used to convert cross-camera perspectives into 3D physical space. Then, we choose YOLOv4 to obtain 2D bounding boxes of vehicles in cross-camera scenes. Based on the above information, 3D bounding boxes around vehicles are built with geometric constraints which are used to obtain projection centroids of vehicles. Finally, by calculating the spatial distribution of projection centroids in the panoramic image, 3D trajectories of vehicles are extracted. The experimental results indicate that our algorithm can effectively complete vehicle spatial distribution and 3D trajectory extraction in various traffic scenes, which outperforms other comparison algorithms. MDPI 2020-11-14 /pmc/articles/PMC7698096/ /pubmed/33202659 http://dx.doi.org/10.3390/s20226517 Text en © 2020 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/). |
spellingShingle | Article Tang, Xinyao Song, Huansheng Wang, Wei Yang, Yanni Vehicle Spatial Distribution and 3D Trajectory Extraction Algorithm in a Cross-Camera Traffic Scene |
title | Vehicle Spatial Distribution and 3D Trajectory Extraction Algorithm in a Cross-Camera Traffic Scene |
title_full | Vehicle Spatial Distribution and 3D Trajectory Extraction Algorithm in a Cross-Camera Traffic Scene |
title_fullStr | Vehicle Spatial Distribution and 3D Trajectory Extraction Algorithm in a Cross-Camera Traffic Scene |
title_full_unstemmed | Vehicle Spatial Distribution and 3D Trajectory Extraction Algorithm in a Cross-Camera Traffic Scene |
title_short | Vehicle Spatial Distribution and 3D Trajectory Extraction Algorithm in a Cross-Camera Traffic Scene |
title_sort | vehicle spatial distribution and 3d trajectory extraction algorithm in a cross-camera traffic scene |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7698096/ https://www.ncbi.nlm.nih.gov/pubmed/33202659 http://dx.doi.org/10.3390/s20226517 |
work_keys_str_mv | AT tangxinyao vehiclespatialdistributionand3dtrajectoryextractionalgorithminacrosscameratrafficscene AT songhuansheng vehiclespatialdistributionand3dtrajectoryextractionalgorithminacrosscameratrafficscene AT wangwei vehiclespatialdistributionand3dtrajectoryextractionalgorithminacrosscameratrafficscene AT yangyanni vehiclespatialdistributionand3dtrajectoryextractionalgorithminacrosscameratrafficscene |