[go: up one dir, main page]

CN119006569A - Free-form surface-oriented three-dimensional circle detection method - Google Patents

Free-form surface-oriented three-dimensional circle detection method Download PDF

Info

Publication number
CN119006569A
CN119006569A CN202411457938.6A CN202411457938A CN119006569A CN 119006569 A CN119006569 A CN 119006569A CN 202411457938 A CN202411457938 A CN 202411457938A CN 119006569 A CN119006569 A CN 119006569A
Authority
CN
China
Prior art keywords
point
circular hole
points
normal vector
point cloud
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202411457938.6A
Other languages
Chinese (zh)
Other versions
CN119006569B (en
Inventor
王耀南
邓晶丹
谢核
李志成
常酉泉
余映天
陈虹
刘尚知
马文婷
张辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hunan University
Original Assignee
Hunan University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hunan University filed Critical Hunan University
Priority to CN202411457938.6A priority Critical patent/CN119006569B/en
Publication of CN119006569A publication Critical patent/CN119006569A/en
Application granted granted Critical
Publication of CN119006569B publication Critical patent/CN119006569B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/13Edge detection
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • G06T7/73Determining position or orientation of objects or cameras using feature-based methods

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • Image Analysis (AREA)

Abstract

本发明公开了一种面向自由曲面的三维圆检测方法,包括:获取曲面点云数据,在点云数据上应用法向量导向的滚球法,以提取曲面圆孔点云边界轮廓;对点云边界轮廓进行基于欧式聚类的边界分割,得到全部边界点云的聚类结果,聚类结果为多个圆孔轮廓;对每个圆孔轮廓进行基于密度的加权迭代算法得到曲面圆孔法向量;将曲面圆孔沿曲面圆孔法向量投影至平面,再将投影后的圆孔点云进行基于超定方程求解的圆孔迭代拟合,得到最终的定位信息。可适用于不同曲度的自由曲面下的圆孔定位,鲁棒性强,有效提高曲面圆孔定位的精度。

The present invention discloses a three-dimensional circle detection method for free-form surfaces, comprising: obtaining surface point cloud data, applying a normal vector-guided rolling ball method on the point cloud data to extract the boundary contour of the surface circular hole point cloud; performing boundary segmentation based on Euclidean clustering on the point cloud boundary contour to obtain clustering results of all boundary point clouds, and the clustering results are multiple circular hole contours; performing a density-based weighted iterative algorithm on each circular hole contour to obtain a surface circular hole normal vector; projecting the surface circular hole along the surface circular hole normal vector to a plane, and then performing circular hole iterative fitting based on solving an overdetermined equation on the projected circular hole point cloud to obtain the final positioning information. The method can be applied to circular hole positioning under free-form surfaces of different curvatures, has strong robustness, and effectively improves the accuracy of circular hole positioning on the surface.

Description

Free-form surface-oriented three-dimensional circle detection method
Technical Field
The invention belongs to the technical field of three-dimensional visual detection, and particularly relates to a free-form surface-oriented three-dimensional circle detection method.
Background
In the field of manufacturing high-end equipment such as aerospace, automobiles and the like, the identification and detection of round holes on free curved surfaces are widely applied to typical application scenes such as automatic hole making, drilling and riveting, stringer positioning and assembling and the like. The number of round holes in the typical application scene is numerous, for example, the number of rivet holes in an airplane can reach millions, and the rivet holes are distributed on various curved surfaces, so that the aircraft has various sizes. However, manual detection is inefficient, prone to missed detection, and costly. In contrast, the automatic detection has the advantages of modularization, intelligence, traceability and the like, and can further meet the requirements of the aviation manufacturing in the new era on high quality, high efficiency and low cost. Accurate curved surface round hole location is crucial to automated production, and it provides key data for equipment such as robot, arm, and the work piece is handled to suitable position to help its accurate discernment to improve production efficiency.
The round hole positioning method is mainly divided into two types of image round hole positioning and point cloud round hole positioning. Although the image circular hole positioning technology is mature, the normal vector and depth information in the three-dimensional space cannot be directly acquired due to limitation to two-dimensional image information, so that the applicability of the image processing technology in certain application scenes requiring the normal vector and the depth information is limited. In contrast, the point cloud circular hole positioning technology can provide richer spatial information and more spatial sensing and attitude control capability for the operation of the mechanical arm.
The round hole positioning technology can be further divided into a traditional algorithm and a deep learning method. While conventional algorithms rely on manually designed features and rules, deep learning algorithms are trained with a large amount of annotation data. However, it is relatively difficult to obtain large-scale annotation data in an industrial scene, and there are problems such as insufficient real-time performance. The existing traditional point cloud round hole positioning method is mainly aimed at point clouds on a plane, because the plane point clouds are relatively simple and dominant in many industrial scenes. However, in certain industrial scenarios, such as automotive manufacturing and aerospace, complex curved surfaces are often encountered that are not planar, and existing algorithms cannot be applied directly. These complex surfaces require more complex and flexible algorithms to process and analyze.
Based on the above, the invention provides a free-form surface-oriented three-dimensional circle detection method.
Disclosure of Invention
Aiming at the technical problems, the invention provides a free-form surface-oriented three-dimensional circle detection method.
The technical scheme adopted for solving the technical problems is as follows:
A free-form surface-oriented three-dimensional circle detection method, the method comprising the steps of:
S100: qu Miandian cloud data are obtained, and a normal vector-guided rolling ball method is applied to the point cloud data so as to extract the point cloud boundary outline of the curved circular hole;
s200: performing European clustering-based boundary segmentation on the point cloud boundary profiles to obtain clustering results of all the boundary point clouds, wherein the clustering results are a plurality of round hole profiles;
s300: carrying out a density-based weighted iterative algorithm on each circular hole contour to obtain a curved surface circular hole normal vector;
S400: and projecting the curved circular hole to a plane along the normal vector of the curved circular hole, and performing circular hole iterative fitting based on the solution of an overdetermined equation on the projected circular hole point cloud to obtain final positioning information.
Preferably, S100 includes:
s110: for finite point clouds By the following constitutionIndividual points, from a set of pointsAny point in (3)Beginning, search andNearest neighborAdjacent points are calculated, and local planes in the least square sense of the points are calculatedPlane, planeIs expressed as the normal vector of (2)HandleAs a means ofNormal vector of the point;
s120: at the same time Is preset as the center of a circleNeighbor point set for radiusIn, takeOne point outsideCalculated outAndTwo points and the center of a circle passes through the planeAt the same time have a radius ofIs a ball of (2)The calculated coordinates of the sphere center are
S130: computing a neighborhood point setOther points inTo the center of sphereDistance of (2)If all ofAre all larger thanTherefore, if there is no other point in the ball, thenFor boundary points, save, otherwise repeat S120 to S130 untilAll the points in the model are judged to be completed;
s140: set of pairs of points Repeating S120-S140 until all the remaining points in (1)All the points in (a) are judged to be completed.
Preferably, set in S120The following should be satisfied: radius of radiusIs larger than the point cloud resolutionIs smaller than the radius of the round hole to be identifiedThe method comprises the following steps:
Preferably, the sphere center obtained in S120 has two values, one inward and one outward, specifically:
Wherein, Is thatNormal vector of the point; vector quantityIs thatAndThe distance between, i.eWhereinRepresenting the 2 norms of the vectors;
preferably, S300 includes:
s310: and (3) density weighting: for a certain point cloud set The three-dimensional coordinate data isCalculate each pointAverage value of distances between adjacent points as one rowWeight vector of columnNormalizing the obtained weight vector, i.e.WhereinRepresenting vectorsNorm, making the sum of the norms 1;
S320: removing centroid: point cloud collection And weight vectorIs multiplied by the transpose of (2) to obtain the centroidFor a pair ofEach of which is subtractedTo remove centroid to obtain new product
S330: calculating covariance matrixFor a pair ofSingular value decomposition is carried out, eigenvalues and eigenvectors of a covariance matrix are obtained, and eigenvectors corresponding to the minimum eigenvalues are extractedThen the normal vector isThe plane equation isWhereinThen calculate the distance between the data point and the plane to obtain the residual error
S340: calculating the current total costI.e.And calculates the difference between the current cost and the last cost
S350: parameter updating: will beCorresponding point reservations less than the scale parameter a, updating residualsAnd updating the weight W by using an SA-Cauchy weight function, wherein the calculation formula is as followsThen updating the scale parametersWhereinScaling the value for the algorithm, preparing for the next iteration; if the iteration is the first iteration, taking the maximum value of the residual Re as a scale parameter a;
s360: repeating S310-S350 until the cost is poor Less than a preset first threshold orIs smaller than a preset second threshold value, outputsNamely, the normal vector of the curved circular hole.
Preferably, S400 includes:
S410: normal vector of curved round hole The plane equation isWherein the coordinates of the point to be projectedBarycenter coordinatesProjecting all points to the plane to obtain projection point coordinatesThe projection formula isOrigin cloud coordinatesWhereinRepresenting the 2 norms of the vectors;
s420: because the perpendicular bisector of any two point connecting lines on the circular arc is required to pass through the circle center, the circle center coordinate can be calculated by solving the linear equation set
Wherein the method comprises the steps ofRefers to the vector distance of any two points,Refers to the difference between the x-axis coordinates of the jth point and the ith point,Refers to the difference between the y-axis coordinates of the jth point and the ith point,Refers to the difference in z-axis coordinates between the jth point and the ith point,
S430: after the circle center coordinates are obtained, traversing the point cloud data, and calculating the distance from each point to the circle centerThe average distance obtained is taken as the radius of the circle, and the calculation formula is as follows: wherein the center coordinates Obtaining positioning information
S440: in order to reduce fitting errors, iteration is carried out on the fitting circle, when a preset end condition is reached, iteration is stopped, and the final positioning information is the final fitting result.
Preferably, S440 is specifically:
Calculating the distance from each point to the fitting circle Judging when it isGreater than a set thresholdDeleting the point until all the point judgment is completed;
fitting the circle again with the remaining points until the difference between the two fitting radii Less than a set thresholdOr the number of iterationsLess than a set thresholdStopping iteration and finally positioning informationI.e., the final fitting result, wherein,Represent the firstThe resulting radius is fitted once.
The three-dimensional circle detection method for the free curved surface is not only suitable for plane point cloud data, but also can process non-plane complex curved surfaces, has strong universality and applicability, can cope with curved surfaces with different shapes, curvatures and surface characteristics, and is suitable for circular hole recognition and detection tasks in various industrial scenes; the convex hull of Qu Miandian cloud round holes is extracted by a normal vector-oriented rolling ball method, and meanwhile, the normal vector of a curved surface is considered, so that the point cloud boundary extracted by the normal vector-oriented rolling ball method is closer to the actual boundary of the round holes, a reliable basis is provided for the subsequent round hole positioning and fitting, and outliers at the detail positions can be filtered out by a density/distance-weighted curved surface round hole iterative fitting algorithm, so that the round hole positioning precision is further improved; in order to further reduce the influence of outliers on three-dimensional circle fitting, a density/distance weighted curved surface round hole iterative fitting algorithm is provided, and the anti-noise capability of the algorithm is improved in two aspects: firstly, when determining the normal vector of the round hole, adopting density weighting and distance iteration to filter the outlier, secondly, in order to further reduce the influence of the outlier on the circle fitting, carrying out iteration when fitting the round hole, and improving the positioning accuracy.
Drawings
FIG. 1 is a flow chart of a method for detecting a three-dimensional circle oriented to a free-form surface according to an embodiment of the invention;
FIG. 2 is a diagram of input point cloud data according to an embodiment of the present invention;
FIG. 3 is a graph showing the outline of a circular hole according to an embodiment of the present invention;
FIG. 4 is a graph showing the clustering segmentation result of circular holes according to an embodiment of the present invention;
FIG. 5 is a graph showing the result of positioning a circular hole according to an embodiment of the present invention;
FIG. 6 is a graph showing the error of the radius of the circular hole positioning in an embodiment of the present invention;
FIG. 7 is a diagram of a circular hole positioning vector error result according to an embodiment of the present invention.
Detailed Description
In order to make the technical scheme of the present invention better understood by those skilled in the art, the present invention will be further described in detail with reference to the accompanying drawings.
In one embodiment, as shown in fig. 1, a method for detecting a three-dimensional circle oriented to a free-form surface includes the following steps:
S100: qu Miandian cloud data are obtained, and a normal vector-guided rolling ball method is applied to the point cloud data so as to extract the point cloud boundary outline of the curved circular hole;
s200: performing European clustering-based boundary segmentation on the point cloud boundary profiles to obtain clustering results of all the boundary point clouds, wherein the clustering results are a plurality of round hole profiles;
s300: carrying out a density-based weighted iterative algorithm on each circular hole contour to obtain a curved surface circular hole normal vector;
S400: and projecting the curved circular hole to a plane along the normal vector of the curved circular hole, and performing circular hole iterative fitting based on the solution of an overdetermined equation on the projected circular hole point cloud to obtain final positioning information.
In one embodiment, S100 comprises:
s110: for finite point clouds By the following constitutionIndividual points, from a set of pointsAny point in (3)Beginning, search andNearest neighborAdjacent points are calculated, and local planes in the least square sense of the points are calculatedPlane, planeIs expressed as the normal vector of (2)HandleAs a means ofNormal vector of the point;
further, as shown in fig. 2, the input point cloud data in this embodiment is 199909 point cloud data, and the radius of the circular hole is the same as that of the input point cloud data 2.5Mm;
s120: at the same time Is preset as the center of a circleNeighbor point set for radiusIn, takeOne point outsideCalculated outAndTwo points and the center of a circle passes through the planeAt the same time have a radius ofIs a ball of (2)The calculated coordinates of the sphere center are
S130: computing a neighborhood point setOther points inTo the center of sphereDistance of (2)If all ofAre all larger thanTherefore, if there is no other point in the ball, thenFor boundary points, save, otherwise repeat S120 to S130 untilAll the points in the model are judged to be completed;
s140: set of pairs of points Repeating S120-S140 until all the remaining points in (1)All the points in (a) are judged to be completed.
Specifically, in S130, since there are two solutions for the center of the sphere, and the point on the boundary only satisfies the condition that there are no other points in the outer sphere, only one of the centers satisfies the condition.
In one embodiment, set in S120The following should be satisfied: radius of radiusIs larger than the point cloud resolutionIs smaller than the radius of the round hole to be identifiedThe method comprises the following steps:
specifically, the ball radius is set The larger the ball radius, the larger the number of identified boundary points; arranged in a way ofThe following should be satisfied: radius of radiusIs larger than the point cloud resolutionIs smaller than the radius of the round hole to be identifiedThe method comprises the following steps: the larger the value, the more points that need to be traversed, the longer the boundary recognition process will be, Too small a value may result in the ball radius not being able to connect two adjacent points and not being identifiable.
In this embodiment, the radius of the ball is selectedThe specific process of (2) is as follows: calculated in the example to obtain the point cloud resolutionIs 0.257, select1, And the boundary extraction result is shown in fig. 3. The boundary segmentation result in S200 is shown in fig. 4.
In one embodiment, due to the symmetry of this process, the sphere center found in S120 has two values, one inward and one outward, specifically:
Wherein, Is thatNormal vector of the point; vector quantityIs thatAndThe distance between, i.eWhereinRepresenting the 2 norms of the vectors;
in one embodiment, S300 includes:
s310: and (3) density weighting: for a certain point cloud set The three-dimensional coordinate data isCalculate each pointAverage value of distances between adjacent points as one rowWeight vector of columnNormalizing the obtained weight vector, i.e.WhereinRepresenting vectorsNorm, making the sum of the norms 1;
S320: removing centroid: point cloud collection And weight vectorIs multiplied by the transpose of (2) to obtain the centroidFor a pair ofEach of which is subtractedTo remove centroid to obtain new product
S330: calculating covariance matrixFor a pair ofSingular value decomposition is carried out, eigenvalues and eigenvectors of a covariance matrix are obtained, and eigenvectors corresponding to the minimum eigenvalues are extractedThen the normal vector isThe plane equation isWhereinThen calculate the distance between the data point and the plane to obtain the residual error
S340: calculating the current total costI.e.And calculates the difference between the current cost and the last cost
S350: parameter updating: will beCorresponding point reservations less than the scale parameter a, updating residualsAnd updating the weight W by using an SA-Cauchy weight function, wherein the calculation formula is as followsThen updating the scale parametersWhereinScaling the value for the algorithm, preparing for the next iteration; if the iteration is the first iteration, taking the maximum value of the residual Re as a scale parameter a;
s360: repeating S310-S350 until the cost is poor Less than a preset first threshold orIs smaller than a preset second threshold value, outputsNamely, the normal vector of the curved circular hole.
Specifically, S310 may reduce a normal vector shift phenomenon due to density unevenness; the purpose of S320 is to make the data mean zero, since the data mean will affect the next covariance matrix, the effect of the origin of the data can be eliminated by de-barycentering, and the data can be simplified; in S350, the algorithm scaling value is set to
In one embodiment, S400 includes:
S410: normal vector of curved round hole The plane equation isWherein the coordinates of the point to be projectedBarycenter coordinatesProjecting all points to the plane to obtain projection point coordinatesThe projection formula isOrigin cloud coordinatesWhereinRepresenting the 2 norms of the vectors;
s420: because the perpendicular bisector of any two point connecting lines on the circular arc is required to pass through the circle center, the circle center coordinate can be calculated by solving the linear equation set
Wherein the method comprises the steps ofRefers to the vector distance of any two points,Refers to the difference between the x-axis coordinates of the jth point and the ith point,Refers to the difference between the y-axis coordinates of the jth point and the ith point,Refers to the difference in z-axis coordinates between the jth point and the ith point,
S430: after the circle center coordinates are obtained, traversing the point cloud data, and calculating the distance from each point to the circle centerThe average distance obtained is taken as the radius of the circle, and the calculation formula is as follows: wherein the center coordinates Obtaining positioning information
S440: in order to reduce fitting errors, iteration is carried out on the fitting circle, when a preset end condition is reached, iteration is stopped, and the final positioning information is the final fitting result.
In one embodiment, S440 is specifically:
Calculating the distance from each point to the fitting circle Judging when it isGreater than a set thresholdDeleting the point until all the point judgment is completed;
fitting the circle again with the remaining points until the difference between the two fitting radii Less than a set thresholdOr the number of iterationsLess than a set thresholdStopping iteration and finally positioning informationI.e., the final fitting result, wherein,Represent the firstThe resulting radius is fitted once.
Specifically, finally, the original point cloud data and the fitted space circle are drawn, as shown in fig. 5; and the values of the center coordinates, the radius and the normal vector are displayed, the radius error is shown in figure 6, and the normal vector error is shown in figure 7.
Compared with the prior art, the technical scheme of the invention has the following beneficial effects:
1. versatility and applicability. The method is not only suitable for plane point cloud data, but also can process non-planar complex curved surfaces, and has strong universality and applicability. The method can cope with curved surfaces with different shapes, curvatures and surface features, and is suitable for circular hole recognition and detection tasks in various industrial scenes.
2. High precision. The convex hull of Qu Miandian cloud round holes is extracted by a normal vector-oriented rolling ball method, and meanwhile, the normal vector of a curved surface is considered, so that the point cloud boundary extracted by the normal vector-oriented rolling ball method is closer to the actual boundary of the round holes, and a reliable basis is provided for the subsequent round hole positioning and fitting. And meanwhile, the outlier at the detail position can be filtered out based on a density/distance weighted curved surface round hole iterative fitting algorithm, so that the round hole positioning accuracy is further improved.
3. The robustness is strong. In order to further reduce the influence of outliers on three-dimensional circle fitting, a density/distance weighted curved surface round hole iterative fitting algorithm is provided, and the anti-noise capability of the algorithm is improved in two aspects: firstly, when determining the normal vector of the round hole, adopting density weighting and distance iteration to filter the outlier, secondly, in order to further reduce the influence of the outlier on the circle fitting, carrying out iteration when fitting the round hole, and improving the positioning accuracy.
The three-dimensional circle detection method for the free curved surface provided by the invention is described in detail. The principles and embodiments of the present invention have been described herein with reference to specific examples, the description of which is intended only to facilitate an understanding of the core concepts of the invention. It should be noted that it will be apparent to those skilled in the art that various modifications and adaptations of the invention can be made without departing from the principles of the invention and these modifications and adaptations are intended to be within the scope of the invention as defined in the following claims.

Claims (7)

1. The three-dimensional circle detection method for the free curved surface is characterized by comprising the following steps of:
S100: qu Miandian cloud data are obtained, and a normal vector-guided rolling ball method is applied to the point cloud data so as to extract the point cloud boundary outline of the curved circular hole;
s200: performing European clustering-based boundary segmentation on the point cloud boundary profiles to obtain clustering results of all the boundary point clouds, wherein the clustering results are a plurality of round hole profiles;
s300: carrying out a density-based weighted iterative algorithm on each circular hole contour to obtain a curved surface circular hole normal vector;
S400: and projecting the curved circular hole to a plane along the normal vector of the curved circular hole, and performing circular hole iterative fitting based on the solution of an overdetermined equation on the projected circular hole point cloud to obtain final positioning information.
2. The method of claim 1, wherein S100 comprises:
s110: for finite point clouds By the following constitutionIndividual points, from a set of pointsAny point in (3)Beginning, search andNearest neighborAdjacent points are calculated, and local planes in the least square sense of the points are calculatedPlane, planeIs expressed as the normal vector of (2)HandleAs a means ofNormal vector of the point;
s120: at the same time Is preset as the center of a circleNeighbor point set for radiusIn, takeOne point outsideCalculated outAndTwo points and the center of a circle passes through the planeAt the same time have a radius ofIs a ball of (2)The calculated coordinates of the sphere center are
S130: computing a neighborhood point setOther points inTo the center of sphereDistance of (2)If all ofAre all larger thanTherefore, if there is no other point in the ball, thenFor boundary points, save, otherwise repeat S120 to S130 untilAll the points in the model are judged to be completed;
s140: set of pairs of points Repeating S120-S140 until all the remaining points in (1)All the points in (a) are judged to be completed.
3. The method according to claim 2, wherein the setting in S120The following should be satisfied: radius of radiusIs larger than the point cloud resolutionIs smaller than the radius of the round hole to be identifiedThe method comprises the following steps:
4. a method according to claim 3, characterized in that the centre of sphere found in S120 has two values, one inwards and one outwards, in particular:
Wherein, Is thatNormal vector of the point; vector quantityIs thatAndThe distance between, i.eWhereinRepresenting the 2 norms of the vectors;
5. the method of claim 4, wherein S300 comprises:
s310: and (3) density weighting: for a certain point cloud set The three-dimensional coordinate data isCalculate each pointAverage value of distances between adjacent points as one rowWeight vector of columnNormalizing the obtained weight vector, i.e.WhereinRepresenting vectorsNorm, making the sum of the norms 1;
S320: removing centroid: point cloud collection And weight vectorIs multiplied by the transpose of (2) to obtain the centroidFor a pair ofEach of which is subtractedTo remove centroid to obtain new product
S330: calculating covariance matrixFor a pair ofSingular value decomposition is carried out, eigenvalues and eigenvectors of a covariance matrix are obtained, and eigenvectors corresponding to the minimum eigenvalues are extractedThen the normal vector isThe plane equation isWhereinThen calculate the distance between the data point and the plane to obtain the residual error
S340: calculating the current total costI.e.And calculates the difference between the current cost and the last cost
S350: parameter updating: will beCorresponding point reservations less than the scale parameter a, updating residualsAnd updating the weight W by using an SA-Cauchy weight function, wherein the calculation formula is as followsThen updating the scale parametersWhereinScaling the value for the algorithm, preparing for the next iteration; if the iteration is the first iteration, taking the maximum value of the residual Re as a scale parameter a;
s360: repeating S310-S350 until the cost is poor Less than a preset first threshold orIs smaller than a preset second threshold value, outputsNamely, the normal vector of the curved circular hole.
6. The method of claim 5, wherein S400 comprises:
S410: normal vector of curved round hole The plane equation isWherein the coordinates of the point to be projectedBarycenter coordinatesProjecting all points to the plane to obtain projection point coordinatesThe projection formula isOrigin cloud coordinatesWhereinRepresenting the 2 norms of the vectors;
s420: because the perpendicular bisector of any two point connecting lines on the circular arc is required to pass through the circle center, the circle center coordinate can be calculated by solving the linear equation set
Wherein the method comprises the steps ofRefers to the vector distance of any two points,Refers to the difference between the x-axis coordinates of the jth point and the ith point,Refers to the difference between the y-axis coordinates of the jth point and the ith point,Refers to the difference in z-axis coordinates between the jth point and the ith point,
S430: after the circle center coordinates are obtained, traversing the point cloud data, and calculating the distance from each point to the circle centerThe average distance obtained is taken as the radius of the circle, and the calculation formula is as follows: wherein the center coordinates Obtaining positioning information
S440: in order to reduce fitting errors, iteration is carried out on the fitting circle, when a preset end condition is reached, iteration is stopped, and the final positioning information is the final fitting result.
7. The method according to claim 6, wherein S440 is specifically:
Calculating the distance from each point to the fitting circle Judging when it isGreater than a set thresholdDeleting the point until all the point judgment is completed;
fitting the circle again with the remaining points until the difference between the two fitting radii Less than a set thresholdOr the number of iterationsLess than a set thresholdStopping iteration and finally positioning informationI.e., the final fitting result, wherein,Represent the firstThe resulting radius is fitted once.
CN202411457938.6A 2024-10-18 2024-10-18 Free-form surface-oriented three-dimensional circle detection method Active CN119006569B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411457938.6A CN119006569B (en) 2024-10-18 2024-10-18 Free-form surface-oriented three-dimensional circle detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411457938.6A CN119006569B (en) 2024-10-18 2024-10-18 Free-form surface-oriented three-dimensional circle detection method

Publications (2)

Publication Number Publication Date
CN119006569A true CN119006569A (en) 2024-11-22
CN119006569B CN119006569B (en) 2025-01-03

Family

ID=93474420

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411457938.6A Active CN119006569B (en) 2024-10-18 2024-10-18 Free-form surface-oriented three-dimensional circle detection method

Country Status (1)

Country Link
CN (1) CN119006569B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN120525886A (en) * 2025-07-24 2025-08-22 湖南大学 A method and system for detecting abnormal protrusions on the outer contour of a part
CN120708212A (en) * 2025-08-27 2025-09-26 浙江托普云农科技股份有限公司 Method, system and device for extracting taproot point cloud of taproot system based on three-dimensional point cloud

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103886593A (en) * 2014-03-07 2014-06-25 华侨大学 Method for detecting hook face circular hole based on three-dimensional point cloud
US20190080503A1 (en) * 2017-09-13 2019-03-14 Tata Consultancy Services Limited Methods and systems for surface fitting based change detection in 3d point-cloud
WO2021000720A1 (en) * 2019-06-30 2021-01-07 华中科技大学 Method for constructing machining path curve of small-curvature part based on point cloud boundary
WO2021159643A1 (en) * 2020-02-11 2021-08-19 平安科技(深圳)有限公司 Eye oct image-based optic cup and optic disc positioning point detection method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103886593A (en) * 2014-03-07 2014-06-25 华侨大学 Method for detecting hook face circular hole based on three-dimensional point cloud
US20190080503A1 (en) * 2017-09-13 2019-03-14 Tata Consultancy Services Limited Methods and systems for surface fitting based change detection in 3d point-cloud
WO2021000720A1 (en) * 2019-06-30 2021-01-07 华中科技大学 Method for constructing machining path curve of small-curvature part based on point cloud boundary
WO2021159643A1 (en) * 2020-02-11 2021-08-19 平安科技(深圳)有限公司 Eye oct image-based optic cup and optic disc positioning point detection method and apparatus

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
胡鑫, 习俊通, 金烨: "反求工程中散乱点云数据的自动分割与曲面重构", 上海交通大学学报, no. 01, 30 January 2004 (2004-01-30) *
车爱博等: "基于点云数据的交通环境下单阶段三维目标检测方法", 《计算机科学》, vol. 49, no. 2, 31 December 2022 (2022-12-31) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN120525886A (en) * 2025-07-24 2025-08-22 湖南大学 A method and system for detecting abnormal protrusions on the outer contour of a part
CN120708212A (en) * 2025-08-27 2025-09-26 浙江托普云农科技股份有限公司 Method, system and device for extracting taproot point cloud of taproot system based on three-dimensional point cloud

Also Published As

Publication number Publication date
CN119006569B (en) 2025-01-03

Similar Documents

Publication Publication Date Title
CN119006569B (en) Free-form surface-oriented three-dimensional circle detection method
CN112669385B (en) Workpiece recognition and pose estimation method for industrial robots based on 3D point cloud features
CN111775152A (en) A method and system for guiding a robotic arm to grasp scattered and stacked workpieces based on three-dimensional measurement
CN117745780A (en) Outdoor large scene 3D point cloud registration method based on isolated cluster removal
CN105551015A (en) Scattered-point cloud image registering method
CN116604212B (en) Robot weld joint identification method and system based on area array structured light
CN114310897B (en) Position optimization and motion smoothing calculation methods, systems and applications for robot measurement
CN110986956A (en) Autonomous learning global positioning method based on improved Monte Carlo algorithm
CN116587280A (en) A robot 3D laser vision disorder grasping control method, medium and system
CN114545430A (en) Tray pose identification method and system based on laser radar
CN114742883B (en) An automated assembly method and system based on planar workpiece positioning algorithm
CN115283172B (en) Robot automatic spraying method based on point cloud processing
CN109766903B (en) Point cloud model curved surface matching method based on curved surface features
CN116958264A (en) Bolt hole positioning and pose estimation method based on three-dimensional vision
CN116912312B (en) Three-dimensional hole positioning method for complex curved surface component
CN114926518A (en) Depth camera external parameter automatic calibration method and device based on PointNet and related equipment
CN113799130A (en) Robot position and posture calibration method in man-machine cooperation assembly
CN118721184A (en) Adaptive manipulator human-machine object transmission method, system, machine-readable storage medium and data processing device based on point cloud under composite constraints
CN117619769A (en) Multi-category stacked workpiece robotic arm sorting method based on point cloud and deep learning
Chen et al. A framework for 3D object detection and pose estimation in unstructured environment using single shot detector and refined LineMod template matching
Chen et al. Efficient template-based robotic sorting with one-shot multi-object pose estimation algorithm
CN111127638B (en) Method for realizing positioning and grabbing point of protruding mark position of workpiece by using three-dimensional template library
CN114462108A (en) Workpiece target detection and three-dimensional attitude determination method based on 2D industrial camera
Chang et al. Automated recursive hand-eye calibration employing 3D point cloud registration
CN116681741B (en) Point cloud registration method based on curved surface feature region constraint

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant