Adaptive Bidirectional Gray-Scale Center of Gravity Extraction Algorithm of Laser Stripes
Aiming at the realization of fast and high-precision detection of the workpiece, an adaptive bidirectional gray-scale center of gravity extraction algorithm for laser stripes is proposed in this paper. The algorithm is processed in the following steps. Firstly, the initial image processing area is s...
Main Authors: | , , , |
---|---|
Format: | Article |
Language: | English |
Published: |
MDPI AG
2022-12-01
|
Series: | Sensors |
Subjects: | |
Online Access: | https://www.mdpi.com/1424-8220/22/24/9567 |
_version_ | 1797455396384800768 |
---|---|
author | Miaomiao Zhang Zhengnan Li Fuquan Zhang Lidong Ma |
author_facet | Miaomiao Zhang Zhengnan Li Fuquan Zhang Lidong Ma |
author_sort | Miaomiao Zhang |
collection | DOAJ |
description | Aiming at the realization of fast and high-precision detection of the workpiece, an adaptive bidirectional gray-scale center of gravity extraction algorithm for laser stripes is proposed in this paper. The algorithm is processed in the following steps. Firstly, the initial image processing area is set according to the floating field of the camera’s light stripe, followed by setting the adaptive image processing area according to the actual position of the light stripe. Secondly, the center of light stripe is obtained by using the method of combining the upper contour with the barycenter of the bidirectional gray-scale. The obtained center of the light stripe is optimized by reducing the deviation from adjacent center points. Finally, the slope and intercept are used to complete the breakpoint. The experimental results show that the algorithm has the advantages of high speed and precision and has specific adaptability to the laser stripes of the complex environment. Compared with other conventional algorithms, it greatly improves and can be used in industrial detection. |
first_indexed | 2024-03-09T15:53:49Z |
format | Article |
id | doaj.art-b2558f1d4cbd4ec387022302f012efd2 |
institution | Directory Open Access Journal |
issn | 1424-8220 |
language | English |
last_indexed | 2024-03-09T15:53:49Z |
publishDate | 2022-12-01 |
publisher | MDPI AG |
record_format | Article |
series | Sensors |
spelling | doaj.art-b2558f1d4cbd4ec387022302f012efd22023-11-24T17:51:52ZengMDPI AGSensors1424-82202022-12-012224956710.3390/s22249567Adaptive Bidirectional Gray-Scale Center of Gravity Extraction Algorithm of Laser StripesMiaomiao Zhang0Zhengnan Li1Fuquan Zhang2Lidong Ma3School of Mechanical Engineering, Taiyuan University of Science and Technology, Taiyuan 030024, ChinaSchool of Mechanical Engineering, Taiyuan University of Science and Technology, Taiyuan 030024, ChinaSchool of Mechanical Engineering, Taiyuan University of Science and Technology, Taiyuan 030024, ChinaSchool of Mechanical Engineering, Taiyuan University of Science and Technology, Taiyuan 030024, ChinaAiming at the realization of fast and high-precision detection of the workpiece, an adaptive bidirectional gray-scale center of gravity extraction algorithm for laser stripes is proposed in this paper. The algorithm is processed in the following steps. Firstly, the initial image processing area is set according to the floating field of the camera’s light stripe, followed by setting the adaptive image processing area according to the actual position of the light stripe. Secondly, the center of light stripe is obtained by using the method of combining the upper contour with the barycenter of the bidirectional gray-scale. The obtained center of the light stripe is optimized by reducing the deviation from adjacent center points. Finally, the slope and intercept are used to complete the breakpoint. The experimental results show that the algorithm has the advantages of high speed and precision and has specific adaptability to the laser stripes of the complex environment. Compared with other conventional algorithms, it greatly improves and can be used in industrial detection.https://www.mdpi.com/1424-8220/22/24/9567line-structured lightcentral extractionadaptive image processing areaupper profileweight optimization |
spellingShingle | Miaomiao Zhang Zhengnan Li Fuquan Zhang Lidong Ma Adaptive Bidirectional Gray-Scale Center of Gravity Extraction Algorithm of Laser Stripes Sensors line-structured light central extraction adaptive image processing area upper profile weight optimization |
title | Adaptive Bidirectional Gray-Scale Center of Gravity Extraction Algorithm of Laser Stripes |
title_full | Adaptive Bidirectional Gray-Scale Center of Gravity Extraction Algorithm of Laser Stripes |
title_fullStr | Adaptive Bidirectional Gray-Scale Center of Gravity Extraction Algorithm of Laser Stripes |
title_full_unstemmed | Adaptive Bidirectional Gray-Scale Center of Gravity Extraction Algorithm of Laser Stripes |
title_short | Adaptive Bidirectional Gray-Scale Center of Gravity Extraction Algorithm of Laser Stripes |
title_sort | adaptive bidirectional gray scale center of gravity extraction algorithm of laser stripes |
topic | line-structured light central extraction adaptive image processing area upper profile weight optimization |
url | https://www.mdpi.com/1424-8220/22/24/9567 |
work_keys_str_mv | AT miaomiaozhang adaptivebidirectionalgrayscalecenterofgravityextractionalgorithmoflaserstripes AT zhengnanli adaptivebidirectionalgrayscalecenterofgravityextractionalgorithmoflaserstripes AT fuquanzhang adaptivebidirectionalgrayscalecenterofgravityextractionalgorithmoflaserstripes AT lidongma adaptivebidirectionalgrayscalecenterofgravityextractionalgorithmoflaserstripes |