CN113129322A - Sub-pixel edge detection method - Google Patents
Sub-pixel edge detection method Download PDFInfo
- Publication number
- CN113129322A CN113129322A CN202110436860.XA CN202110436860A CN113129322A CN 113129322 A CN113129322 A CN 113129322A CN 202110436860 A CN202110436860 A CN 202110436860A CN 113129322 A CN113129322 A CN 113129322A
- Authority
- CN
- China
- Prior art keywords
- mark
- information
- ring
- image
- mark ring
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 29
- 238000003708 edge detection Methods 0.000 title claims abstract description 27
- 238000012937 correction Methods 0.000 claims abstract description 43
- 238000007781 pre-processing Methods 0.000 claims abstract description 13
- 238000012545 processing Methods 0.000 claims abstract description 12
- 238000004364 calculation method Methods 0.000 claims abstract description 6
- 238000012216 screening Methods 0.000 claims description 19
- 230000000694 effects Effects 0.000 claims description 11
- 230000011218 segmentation Effects 0.000 claims description 3
- 238000001514 detection method Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 3
- 230000018109 developmental process Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000001276 controlling effect Effects 0.000 description 2
- 238000001914 filtration Methods 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 238000009412 basement excavation Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000002245 particle Substances 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
- 239000002689 soil Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/13—Edge detection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/4023—Scaling of whole images or parts thereof, e.g. expanding or contracting based on decimating pixels or lines of pixels; based on inserting pixels or lines of pixels
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/4053—Scaling of whole images or parts thereof, e.g. expanding or contracting based on super-resolution, i.e. the output image resolution being higher than the sensor resolution
- G06T3/4069—Scaling of whole images or parts thereof, e.g. expanding or contracting based on super-resolution, i.e. the output image resolution being higher than the sensor resolution by subpixel displacements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/70—Denoising; Smoothing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/136—Segmentation; Edge detection involving thresholding
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/60—Analysis of geometric attributes
- G06T7/66—Analysis of geometric attributes of image moments or centre of gravity
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Geometry (AREA)
- Image Analysis (AREA)
Abstract
The invention relates to the technical field of image processing, and particularly discloses a sub-pixel edge detection method, which comprises the following steps: a coordinate system establishing step of establishing a coordinate system in the acquired image information; image preprocessing, namely performing image preprocessing on the image information to obtain a target image; an edge detection step, namely respectively carrying out edge detection on the laser spot and the mark ring in the target image to obtain spot edge information and mark ring edge information; a position calculation step, namely calculating the light spot position information of the laser light spot and the mark ring position information of the mark ring in the coordinate system respectively according to the light spot edge information and the mark ring edge information; calculating the offset, namely calculating the position offset of the laser spot moving to the marking ring according to the spot position information and the marking ring position information; and a correction step, controlling and adjusting the position of the laser spot projected by the laser section detector according to the position offset. By adopting the technical scheme of the invention, the alignment precision of the laser spot and the marking ring is higher.
Description
Technical Field
The invention relates to the technical field of image processing, in particular to a sub-pixel edge detection method.
Background
The tunnel refers to an underground engineering building excavated in a rock-soil body to form an underground passage. Due to geographical factors, urban development and traffic development of China, tunnel engineering has great development potential. The measurement of the tunnel section in the early stage of the tunnel engineering is a measurement engineering which must be carried out in the tunnel construction and the completion acceptance stage, and the plane, the elevation and the section geometric dimension of the tunnel excavation are controlled, so that whether the tunnel can be excavated or not is determined.
At present, tunnel section detection is often processed by a total station, a laser profiler and a background data processing system, a non-cooperative target laser ranging technology and an accurate angle measuring technology are adopted, a polar coordinate measuring method is tightly combined with a computer technology and matched with professional image processing software, an internal contour curve of a tunnel closed space can be quickly obtained, but when the laser profiler is used, a manual key is needed to adjust a laser spot to fall on a marking ring, when the laser profiler is manually adjusted, the moving distance of the adjusted laser spot per key is certain, the alignment precision of the adjusted laser spot and the marking ring is easy to occur, and therefore, the precision of the internal contour curve of the formed tunnel closed space is not high. Therefore, a method capable of adaptively adjusting the laser spot is urgently needed.
Disclosure of Invention
The invention provides a sub-pixel edge detection method, aiming at solving the technical problem that laser spots can be adjusted in a self-adaptive mode and the alignment precision of a marking ring is higher.
The basic scheme of the invention is as follows:
a sub-pixel edge detection method comprises the following steps:
a coordinate system establishing step, namely establishing a coordinate system in the acquired image information, wherein the image information comprises laser spots and mark circles;
image preprocessing, namely performing image preprocessing on the image information to obtain a target image;
an edge detection step, namely respectively carrying out edge detection on the laser spot and the mark ring in the target image to obtain spot edge information and mark ring edge information;
a position calculation step, namely calculating the light spot position information of the laser light spot and the mark ring position information of the mark ring in the coordinate system respectively according to the light spot edge information and the mark ring edge information;
calculating the offset, namely calculating the position offset of the laser spot moving to the marking ring according to the spot position information and the marking ring position information;
and a correction step, controlling and adjusting the position of the laser spot projected by the laser section detector according to the position offset.
The basic scheme has the beneficial effects that: 1. and a coordinate system is established in the image, so that the light spot position information of the laser light spot and the mark ring position information of the mark ring can be conveniently standardized and calculated.
2. The image information is subjected to image preprocessing, so that the interference of factors such as noise, color and the like in the image information on subsequent edge detection is reduced, and the subsequent edge detection accuracy is higher.
3. The edge detection is carried out on the laser spot and the marking ring to obtain respective edge information, and respective position information is obtained according to the respective edge information, namely, the surface alignment is converted into point alignment, so that the situation that the shape and the size of the laser spot and the marking ring are different and non-aligned points exist to cause inaccurate positioning is avoided. And secondly, converting the face-to-face alignment into point-to-point alignment, namely determining a positioning point, so that the overlapping positioning of the laser spot and the mark ring on the whole is more accurate.
3. And automatically correcting the position of the laser spot projected by the laser section detector according to the position offset, so that the laser spot can be more accurately superposed with the marking ring.
The edge detection step specifically comprises the following steps:
s1, carrying out global threshold segmentation processing on the target image to obtain a binary image;
s2, detecting the edge of the binary image by adopting a filter operator to obtain a gray edge image;
s3, carrying out interpolation processing on the gray scale edge image by adopting an interpolation algorithm to obtain an edge thinning image;
and S4, binarizing the edge refined image to obtain edge information.
Has the advantages that: 1. and carrying out binarization processing on the target image, so that edges in all directions can be detected, and edge extraction is facilitated.
2. And the edge is detected by adopting a filtering operator, so that the detected edge is smooth, and the loss of edge points is reduced.
3. The gray edge image is subjected to interpolation processing by adopting an interpolation method to obtain the edge of a sub-pixel level, namely, the edge can be thinned, the problem of coarse edge detected by a filter operator is solved, and the edge accuracy is higher.
Further, a correction judgment step is included between the offset calculation step and the correction step, correction judgment is carried out on the position offset according to a preset error threshold, and if the position offset is larger than the preset error threshold, position correction adjustment is carried out.
Has the advantages that: when the position offset of the laser facula and the mark ring is within the error threshold, the correction step is not executed; and when the position deviation amount is out of the error threshold value, executing a correction step, ensuring that the alignment of the laser facula and the marking ring is within the precision range, and avoiding factors of self-regulating precision of the laser section detector, which leads to the fact that the angle of the laser section detector is always regulated and influences the section detection efficiency.
Further, the correction step also comprises a correction effect tracking step, namely calculating the corrected position offset of the laser spot and the mark ring in the corrected image, and if the corrected position offset is smaller than a preset error threshold, generating equipment fault prompt information; and if the number of the alignment completion messages is smaller than the preset value, generating alignment completion prompt information.
Has the advantages that: if equipment self removes the trouble, controlgear rotates this moment, and the laser facula that equipment was beaten all is difficult to aim at with the mark circle, and because the reason that there is the difference in the mobility control precision height of equipment self, when all correcting through position offset to equipment, the alignment effect of laser facula and mark circle also has the difference, consequently is equipped with the error threshold value to judge that the laser facula that equipment self mobility control precision leads to does not align completely with the mark circle, still because the laser facula that equipment trouble leads to does not align completely with the mark circle.
Further, the correction effect tracking step specifically includes the steps of:
step S1, collecting corrected image information;
step S2, establishing a coordinate system in the corrected image;
step S3, image preprocessing is carried out on the corrected image information to obtain a corrected target image;
step S4, respectively carrying out edge detection on the laser spot and the mark ring in the corrected target image to obtain corrected spot edge information and corrected mark ring edge information;
step S5, respectively calculating corrected light spot position information of the laser light spots and corrected mark ring position information of the mark rings in the coordinate system according to the corrected light spot edge information and the corrected mark ring edge information;
step S6, calculating the corrected position offset of the laser spot moving to the marking ring according to the corrected spot position information and the corrected marking ring position information;
and step S7, judging whether the corrected position offset is smaller than a preset error threshold value, and if not, generating equipment fault prompt information.
Has the advantages that: and analyzing the alignment effect of the corrected laser spot and the marking ring, and if the position offset between the laser spot and the marking ring still exceeds a preset error threshold value after correction, indicating that the rotation of the current laser section detector fails, generating equipment failure prompt information, and facilitating fault detection of the laser section detector. And if the position offset between the laser spot and the marking ring is smaller than a preset error threshold value after correction, indicating that the corrected laser spot is aligned with the marking ring, generating alignment completion prompt information, and enabling an operator to start the position alignment of the next marking ring after receiving an instruction.
Further, a correction path planning step is included between the correction step and the correction judgment step, the nearest mark ring in the rated quantity is screened out according to the position offset to be used as a mark ring to be selected, the distribution density degree of the mark rings around the mark ring to be selected is calculated, the mark ring to be selected with high density degree is selected to be used as a mark ring to be aligned, and the position offset of the laser spot moving to the mark ring to be aligned is used as the position offset of the correction step.
Has the advantages that: and for the conditions that the plurality of mark rings are distributed in different densities, path planning is carried out on the sequence of the laser spot alignment mark rings in order to improve the efficiency of the laser spot alignment mark rings. In the scheme, the mark rings with rated quantity are screened out as mark rings to be selected according to the position offset, namely the mark rings with short laser spot moving distance are selected, and the alignment efficiency is improved.
Secondly, the distribution density degree of other mark rings around each mark ring to be selected is calculated, the distribution density degree is high preferentially, the overall moving distance can be shortened, and the alignment efficiency is improved; and the distance of single movement of the laser spots on the whole can be shortened as much as possible, so that the problem that the most accurate precision is reduced due to overlarge movement distance of the laser spots is solved.
Further, the correction path planning step specifically comprises a distance screening step and a density screening step, wherein:
the distance screening step comprises the following steps:
s1, obtaining the distance between each mark ring and the laser spot according to the position offset of the laser spot moving to each mark ring;
s2, selecting two mark rings with the minimum distance from the laser facula from all the mark rings as mark rings to be selected;
s3, calculating a distance difference between the mark circle to be selected and the laser spot, and if the distance difference is not larger than a preset first distance difference, executing a density screening step; if the spacing difference is larger than a preset first spacing difference, the mark ring to be selected with the smallest spacing with the laser spot is used as a mark ring to be aligned;
and an intensity screening step, namely calculating the distribution intensity of the mark rings around the mark ring to be selected, selecting the mark ring to be selected with high intensity as the mark ring to be aligned, and taking the position offset of the laser spot moving to the mark ring to be aligned as the position offset of the correcting step.
Has the advantages that: and selecting a mark ring with the minimum distance from the laser spot to shorten the moving path of the laser spot, improve the alignment efficiency and avoid the influence of overlong path on the correction effect.
The difference value between the mark ring to be selected and the laser spot is too large (larger than the preset first distance difference value), and the mark ring to be selected with the minimum distance is preferably selected as the mark ring to be aligned, so that the influence of too large surface distance on the correction effect is avoided.
The distance difference between the mark ring to be selected and the laser spot is not large (not larger than the preset first distance difference), the density degree of the mark ring around the mark ring to be selected is analyzed, and the mark ring to be selected with high density degree is screened to serve as the mark ring to be aligned, so that the length of the whole laser spot moving path is shortened on the premise of ensuring the best correction effect, and the laser alignment efficiency is improved.
Further, the density screening step includes the steps of:
s1, dividing the geometric center of the mark circle to be selected into the density judgment areas with the same size;
s2, counting the number of marking turns in the density judgment area corresponding to the marking turn to be selected;
and S3, taking the mark circle to be selected with the largest number of mark circles as the mark circle to be aligned, and taking the position offset of the laser spot moving to the mark circle to be aligned as the position offset of the correction step.
Has the advantages that: the density judging areas with the same size are convenient for accurately judging the density of the mark rings around the mark ring to be selected; and the number of the marking circles in the area is judged by counting the density degree, so that the density degree of the marking circles around the marking circle to be selected is simply and efficiently obtained.
Further, the method for dividing the density judgment area in the density screening step comprises the following steps: and drawing a density degree judgment area by taking the minimum distance between the mark ring to be selected and the laser spot as a radius and the geometric center point of each mark ring to be selected as the center of a circle.
Has the advantages that: when the distances between the mark rings to be selected are all close to the laser spots, the minimum distance between the mark rings to be selected and the laser spots is selected as the radius of the density degree judging area, so that the distances between the mark rings in the density degree judging area and the laser spots are all close, the moving path of the laser spots on the whole is the minimum, and the laser alignment efficiency is improved.
Further, the position calculating step specifically calculates the spot position information of the geometric center of the laser spot and the mark ring position information of the geometric center of the mark ring in the coordinate system according to the spot edge information and the mark ring edge information.
Has the advantages that: because the surfaces of the laser spots and the marking rings are different in smoothness and flatness, the shapes of the presented laser spots and the presented marking rings are not standard, and the actual distance and direction of the laser spot moving alignment marking ring can be approached to a large extent by calculating respective geometric centers as respective position information so as to obtain the position offset of the marking ring to which the laser spots move.
Drawings
FIG. 1 is a flowchart illustrating a first embodiment of a method for detecting sub-pixel edges;
FIG. 2 is a flowchart illustrating a first embodiment of a method for detecting edges of sub-pixels;
FIG. 3 is a flowchart illustrating a second embodiment of a sub-pixel edge detection method.
Detailed Description
The following is further detailed by way of specific embodiments:
example one
A sub-pixel edge detection method, as shown in fig. 1, includes the following steps:
and a coordinate system establishing step, namely establishing a coordinate system in the acquired image information, wherein the image information comprises laser spots and mark circles. In this embodiment, a coordinate system is established with the lower right corner of the acquired image information as an origin, and in other embodiments, other points in the image information may also be used as the origin of coordinates.
The image preprocessing is to perform image preprocessing on the image information to obtain a target image, and in this embodiment, the image preprocessing is to perform median filtering to filter out impulse noise or particle noise and protect the image edge, so as to facilitate subsequent edge detection.
And an edge detection step, namely respectively carrying out edge detection on the laser spot and the mark ring in the target image to obtain spot edge information and mark ring edge information. Specifically, as shown in fig. 2, the edge detection step includes the steps of:
s1, carrying out global threshold segmentation processing on the target image to obtain a binary image;
and S2, detecting the edge of the binary image by adopting a filter operator to obtain a gray edge image. In this embodiment, the filter operator is preferably a Sobel operator.
And S3, carrying out interpolation processing on the gray scale edge image by adopting an interpolation algorithm to obtain an edge thinning image. In the embodiment, the interpolation algorithm preferably performs interpolation processing on the gray scale edge image by a cubic spline interpolation method.
And S4, binarizing the edge refined image to obtain edge information.
A position calculation step, namely respectively calculating the spot position information of the laser spot and the mark ring position information of the mark ring in a coordinate system according to the spot edge information and the mark ring edge information, and specifically comprises the following steps: and respectively calculating the spot position information of the geometric center of the laser spot and the mark ring position information of the geometric center of the mark ring in the coordinate system according to the spot edge information and the mark ring edge information.
Calculating the offset, namely calculating the position offset of the laser spot moving to the marking ring according to the spot position information and the marking ring position information;
and a correction judgment step, namely correcting and judging the position offset according to a preset error threshold, and correcting and adjusting the position if the position offset is larger than the preset error threshold.
And a correction path planning step, namely selecting the mark ring with the minimum distance as a mark ring to be selected according to the position offset, calculating the distribution density degree of other mark rings around the mark ring to be selected, selecting the mark ring to be selected with high density degree as a mark ring to be aligned, and moving the position offset of the laser spot to the mark ring to be aligned as the position offset of the correction step. The method specifically comprises a distance screening step and a density screening step, wherein:
the distance screening step comprises the following steps:
s1, obtaining the distance between each mark ring and the laser spot according to the position offset of the laser spot moving to each mark ring;
s2, selecting the mark ring with the minimum distance in the middle of the rated quantity as the mark ring to be selected according to the distance between each mark ring and the laser spot;
s3, calculating a distance difference between the mark circle to be selected and the laser spot, and if the distance difference is larger than a preset first distance difference, executing a density screening step; if the spacing difference is not larger than the preset first spacing difference, the mark ring to be selected with the smallest spacing with the laser spot is used as a mark ring to be aligned;
the density screening step comprises the following steps:
s1, dividing the geometric center of the mark circle to be selected into the density judgment areas with the same size; the method specifically comprises the following steps: and drawing a density degree judgment area by taking the geometric center point of each mark circle to be selected as the center of a circle and taking the minimum distance between the mark circle to be selected and the laser spot as a radius.
S2, counting the number of marking turns in the density judgment area corresponding to the marking turn to be selected;
and S3, taking the mark circle to be selected with the largest number of mark circles as the mark circle to be aligned, and taking the position offset of the laser spot moving to the mark circle to be aligned as the position offset of the correction step.
And a correction step, controlling and adjusting the position of the laser spot projected by the laser section detector according to the position offset.
Example two
The difference from the first embodiment is that: the correction step also comprises a correction effect tracking step, namely calculating the corrected position offset of the laser spot and the mark ring in the corrected image, if the corrected position offset is smaller than a preset error threshold, and if not, generating equipment fault prompt information; and if the number of the alignment completion messages is smaller than the preset value, generating alignment completion prompt information. As shown in fig. 3, the method specifically includes the following steps:
step S1, collecting corrected image information;
step S2, establishing a coordinate system in the corrected image;
step S3, image preprocessing is carried out on the corrected image information to obtain a corrected target image;
step S4, respectively carrying out edge detection on the laser spot and the mark ring in the corrected target image to obtain corrected spot edge information and corrected mark ring edge information;
step S5, respectively calculating corrected light spot position information of the laser light spots and corrected mark ring position information of the mark rings in the coordinate system according to the corrected light spot edge information and the corrected mark ring edge information;
step S6, calculating the corrected position offset of the laser spot moving to the marking ring according to the corrected spot position information and the corrected marking ring position information;
and step S7, judging whether the corrected position offset is smaller than a preset error threshold value, and if not, generating equipment fault prompt information.
The foregoing is merely an example of the present invention and common general knowledge of known specific structures and features of the embodiments is not described herein in any greater detail. It should be noted that, for those skilled in the art, without departing from the structure of the present invention, several changes and modifications can be made, which should also be regarded as the protection scope of the present invention, and these will not affect the effect of the implementation of the present invention and the practicability of the patent. The scope of the claims of the present application shall be determined by the contents of the claims, and the description of the embodiments and the like in the specification shall be used to explain the contents of the claims.
Claims (10)
1. A sub-pixel edge detection method is characterized by comprising the following steps:
a coordinate system establishing step, namely establishing a coordinate system in the collected image information, wherein the image information comprises laser spots and mark circles;
image preprocessing, namely performing image preprocessing on the image information to obtain a target image;
an edge detection step, namely respectively carrying out edge detection on the laser spot and the mark ring in the target image to obtain spot edge information and mark ring edge information;
a position calculation step, namely calculating the light spot position information of the laser light spot and the mark ring position information of the mark ring in the coordinate system respectively according to the light spot edge information and the mark ring edge information;
calculating the offset, namely calculating the position offset of the laser spot moving to the marking ring according to the spot position information and the marking ring position information;
and a correction step, controlling and adjusting the position of the laser spot projected by the laser section detector according to the position offset.
2. The method of claim 1, wherein: the edge detection step specifically comprises the following steps:
s1, carrying out global threshold segmentation processing on the target image to obtain a binary image;
s2, detecting the edge of the binary image by adopting a filter operator to obtain a gray edge image;
s3, carrying out interpolation processing on the gray scale edge image by adopting an interpolation algorithm to obtain an edge thinning image;
and S4, binarizing the edge refined image to obtain edge information.
3. The method of claim 1, wherein: and a correction judgment step is also included between the offset calculation step and the correction step, the correction judgment is carried out on the position offset according to a preset error threshold, and if the position offset is greater than the preset error threshold, the position correction regulation is carried out.
4. The method of claim 1, wherein: the correction step also comprises a correction effect tracking step, namely calculating the corrected position offset of the laser facula and the mark ring in the corrected image, if the corrected position offset is smaller than a preset error threshold, and if not, generating equipment fault prompt information; and if the number of the alignment completion messages is smaller than the preset value, generating alignment completion prompt information.
5. The method of claim 4, wherein: the correction effect tracking step specifically includes the steps of:
step S1, collecting corrected image information;
step S2, establishing a coordinate system in the corrected image;
step S3, image preprocessing is carried out on the corrected image information to obtain a corrected target image;
step S4, respectively carrying out edge detection on the laser spot and the mark ring in the corrected target image to obtain corrected spot edge information and corrected mark ring edge information;
step S5, respectively calculating corrected light spot position information of the laser light spots and corrected mark ring position information of the mark rings in the coordinate system according to the corrected light spot edge information and the corrected mark ring edge information;
step S6, calculating the corrected position offset of the laser spot moving to the marking ring according to the corrected spot position information and the corrected marking ring position information;
and step S7, judging whether the corrected position offset is smaller than a preset error threshold value, and if not, generating equipment fault prompt information.
6. The method of claim 3, wherein: and a correction path planning step is also included between the correction step and the correction judgment step, the mark ring with the minimum distance is selected as a mark ring to be selected according to the position offset, the distribution density degree of other mark rings around the mark ring to be selected is calculated, the mark ring to be selected with high density degree is selected as a mark ring to be aligned, and the position offset of the laser spot moving to the mark ring to be aligned is used as the position offset of the correction step.
7. The method of claim 6, wherein: a correction path planning step, specifically comprising a distance screening step and a density screening step, wherein:
the distance screening step comprises the following steps:
s1, obtaining the distance between each mark ring and the laser spot according to the position offset of the laser spot moving to each mark ring;
s2, selecting the mark ring with the minimum distance in the middle of the rated quantity as the mark ring to be selected according to the distance between each mark ring and the laser spot;
s3, calculating a distance difference between the mark circle to be selected and the laser spot, and if the distance difference is larger than a preset first distance difference, executing a density screening step; if the spacing difference is not larger than the preset first spacing difference, the mark ring to be selected with the smallest spacing with the laser spot is used as a mark ring to be aligned;
and an intensity screening step, namely calculating the distribution intensity of the mark rings around the mark ring to be selected, selecting the mark ring to be selected with high intensity as the mark ring to be aligned, and taking the position offset of the laser spot moving to the mark ring to be aligned as the position offset of the correcting step.
8. The method of claim 7, wherein: the density screening step comprises the following steps:
s1, dividing the geometric center of the mark circle to be selected into the density judgment areas with the same size;
s2, counting the number of marking turns in the density judgment area corresponding to the marking turn to be selected;
and S3, taking the mark circle to be selected with the largest number of mark circles as the mark circle to be aligned, and taking the position offset of the laser spot moving to the mark circle to be aligned as the position offset of the correction step.
9. The method of claim 8, wherein: the method for dividing the density judgment area in the density screening step comprises the following steps: and drawing a density degree judgment area by taking the geometric center point of each mark circle to be selected as the center of a circle and taking the minimum distance between the mark circle to be selected and the laser spot as a radius.
10. The method of claim 7, wherein: the position calculating step specifically comprises the step of respectively calculating the spot position information of the geometric center of the laser spot and the mark ring position information of the geometric center of the mark ring in the coordinate system according to the spot edge information and the mark ring edge information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110436860.XA CN113129322A (en) | 2021-04-22 | 2021-04-22 | Sub-pixel edge detection method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110436860.XA CN113129322A (en) | 2021-04-22 | 2021-04-22 | Sub-pixel edge detection method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113129322A true CN113129322A (en) | 2021-07-16 |
Family
ID=76779118
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110436860.XA Pending CN113129322A (en) | 2021-04-22 | 2021-04-22 | Sub-pixel edge detection method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113129322A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113781506A (en) * | 2021-08-06 | 2021-12-10 | 东北大学 | Strip steel offset detection method and system |
CN115760782A (en) * | 2022-11-16 | 2023-03-07 | 华南理工大学 | In-mold labeling offset defect identification method based on machine vision |
CN116823937A (en) * | 2023-08-28 | 2023-09-29 | 成都飞机工业(集团)有限责任公司 | High-precision quick aiming method for plane horizontal point based on visual guidance |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102829727A (en) * | 2012-08-29 | 2012-12-19 | 中国煤炭科工集团太原研究院 | Line structured light based device and line structured light based method for automatic detection of level difference of cutting head of boom-type roadheader |
CN103630088A (en) * | 2013-11-06 | 2014-03-12 | 北京市地铁运营有限公司 | High-precision tunnel cross section detection method and device based on double laser bands |
US20140240451A1 (en) * | 2013-02-22 | 2014-08-28 | Hitachi, Ltd. | Plural camera images capturing and processing apparatus, and composite imaging method |
US20160252619A1 (en) * | 2013-07-16 | 2016-09-01 | Leica Geosystems Ag | Laser tracker having target-seeking functionality |
US20160258752A1 (en) * | 2015-03-04 | 2016-09-08 | Leica Geosystems Ag | Surveying device having a fine targeting and target tracking functionality |
CN106097317A (en) * | 2016-06-02 | 2016-11-09 | 南京康尼机电股份有限公司 | A kind of many spot detection based on discrete cosine phase information and localization method |
CN109099836A (en) * | 2018-08-09 | 2018-12-28 | 北京易加三维科技有限公司 | A kind of scanning accuracy online monitoring system and method |
US20190049861A1 (en) * | 2017-08-11 | 2019-02-14 | Asml Netherlands B.V. | Methods and Apparatus for Determining the Position of a Spot of Radiation, Inspection Apparatus, Device Manufacturing Method |
-
2021
- 2021-04-22 CN CN202110436860.XA patent/CN113129322A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102829727A (en) * | 2012-08-29 | 2012-12-19 | 中国煤炭科工集团太原研究院 | Line structured light based device and line structured light based method for automatic detection of level difference of cutting head of boom-type roadheader |
US20140240451A1 (en) * | 2013-02-22 | 2014-08-28 | Hitachi, Ltd. | Plural camera images capturing and processing apparatus, and composite imaging method |
US20160252619A1 (en) * | 2013-07-16 | 2016-09-01 | Leica Geosystems Ag | Laser tracker having target-seeking functionality |
CN103630088A (en) * | 2013-11-06 | 2014-03-12 | 北京市地铁运营有限公司 | High-precision tunnel cross section detection method and device based on double laser bands |
US20160258752A1 (en) * | 2015-03-04 | 2016-09-08 | Leica Geosystems Ag | Surveying device having a fine targeting and target tracking functionality |
CN106097317A (en) * | 2016-06-02 | 2016-11-09 | 南京康尼机电股份有限公司 | A kind of many spot detection based on discrete cosine phase information and localization method |
US20190049861A1 (en) * | 2017-08-11 | 2019-02-14 | Asml Netherlands B.V. | Methods and Apparatus for Determining the Position of a Spot of Radiation, Inspection Apparatus, Device Manufacturing Method |
CN109099836A (en) * | 2018-08-09 | 2018-12-28 | 北京易加三维科技有限公司 | A kind of scanning accuracy online monitoring system and method |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113781506A (en) * | 2021-08-06 | 2021-12-10 | 东北大学 | Strip steel offset detection method and system |
CN113781506B (en) * | 2021-08-06 | 2023-12-15 | 东北大学 | Strip steel offset detection method and system |
CN115760782A (en) * | 2022-11-16 | 2023-03-07 | 华南理工大学 | In-mold labeling offset defect identification method based on machine vision |
CN115760782B (en) * | 2022-11-16 | 2023-06-16 | 华南理工大学 | Machine vision-based in-mold labeling offset defect identification method |
CN116823937A (en) * | 2023-08-28 | 2023-09-29 | 成都飞机工业(集团)有限责任公司 | High-precision quick aiming method for plane horizontal point based on visual guidance |
CN116823937B (en) * | 2023-08-28 | 2024-02-23 | 成都飞机工业(集团)有限责任公司 | High-precision quick aiming method for plane horizontal point based on visual guidance |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113129322A (en) | Sub-pixel edge detection method | |
CN107092877B (en) | Remote sensing image roof contour extraction method based on building base vector | |
US9858659B2 (en) | Pattern inspecting and measuring device and program | |
KR101219767B1 (en) | Method for Field Survey of Digital Mapping Road Layers Using Vehicle Mobile Mapping System | |
US20180005363A1 (en) | Pattern Matching Device and Computer Program for Pattern Matching | |
EP3876189A1 (en) | Geographic object detection device, geographic object detection method, and geographic object detection program | |
CN107239742B (en) | Method for calculating scale value of instrument pointer | |
CN104484648A (en) | Variable-viewing angle obstacle detection method for robot based on outline recognition | |
CN110361717B (en) | Laser radar-camera combined calibration target and combined calibration method | |
CN111486797B (en) | Automatic extraction method for transverse diameter of subway circular shield tunnel | |
CN109448059B (en) | Rapid X-corner sub-pixel detection method | |
CN115014198B (en) | Reinforcing steel bar installation detection method based on three-dimensional laser scanning | |
CN111681246A (en) | Region segmentation method of laser map | |
CN105444741A (en) | Double view window based route characteristic identifying, deviation measuring, and accurate positioning method | |
JP2020043266A (en) | Semiconductor wafer defect observation system and defect observation method | |
CN112161614A (en) | Shield segment attitude measurement method based on three-dimensional laser scanning technology | |
CN115657049A (en) | Tunnel vehicle-mounted laser radar positioning and deviation rectifying method and system | |
CN110044358B (en) | Mobile robot positioning method based on field line characteristics | |
CN115308770A (en) | Dynamic obstacle detection method based on fitting graph | |
CN113724277A (en) | Power line detection method based on Radon transformation | |
CN113298725B (en) | Correction method for ship icon image superposition errors | |
CN116579989B (en) | Tunnel punching inclination angle correction method based on depth camera | |
CN113192075A (en) | Improved visual ranging method based on Aruco marker | |
CN117152272A (en) | Viewing angle tracking method, device, equipment and storage medium based on holographic sand table | |
CN116893685A (en) | Unmanned aerial vehicle route planning method and system |
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 |