Contourgraph adjusting method, equipment and medium

Through corner point detection algorithm and image processing technology, the center line and angle are automatically extracted and visualized, and the contour sensor is assisted in adjusting the contour instrument sensor, solving the problem of low adjustment accuracy of the existing contour instrument, and achieving accurate laser line alignment and measurement accuracy improvement.

CN120426902APending Publication Date: 2025-08-05HANGZHOU LINGXI ROBOT INTELLIGENT TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510312683.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-17
Publication Date
2025-08-05

AI Technical Summary

Technical Problem

The existing contour instrument adjustment has a problem of low accuracy, resulting in inaccurate measurement results.

Method used

The target corner point detection algorithm is used to extract the target corner point, determine the target clarity area, obtain the angle between the midline and the field of view horizontal line, and adjust the light signal sensor based on the angle and the midline to make the laser line coincide with the midline.

Benefits of technology

The precise adjustment of the profiler is achieved, the measurement accuracy is improved, the artificial error is reduced, and the adjustment efficiency and system stability are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120426902A_ABST
    Figure CN120426902A_ABST
Patent Text Reader

Abstract

The invention relates to a contourgraph adjusting method and device and a medium, and the method comprises the steps: firstly extracting a target corner point meeting a preset condition through a corner point detection algorithm according to an image obtained by a contourgraph in advance; then, a target definition region is determined based on the position of the target angular point. Then, acquiring a center line of the target definition area, and acquiring an included angle between the center line and a view horizontal line; finally, based on the included angle and the center line, a sensor of the contourgraph is adjusted so that the laser line of the contourgraph can coincide with the center line. Accurate adjustment of the contourgraph is achieved, and the problem that an existing contourgraph is low in adjustment accuracy in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of profilometer adjustment, and in particular to a profilometer adjustment method, device, and medium. Background Art

[0002] A profilometer is a device used to precisely measure the surface shape of an object. Its core operating principle is to scan the surface using a laser beam or other optical method. A sensor collects the reflected light signal and calculates the surface profile. During this process, accurate alignment of the laser beam is crucial to the measurement result.

[0003] Traditional sensor adjustment methods rely on manual adjustments. Due to the complexity of the adjustment process and the limitations of precision, errors are easily introduced, resulting in inaccurate profilometer adjustment results. Therefore, existing profilometer adjustment suffers from low precision. Summary of the Invention

[0004] The embodiments of the present application provide a profilometer adjustment method, device, and medium to at least solve the problem of low accuracy in existing profilometer adjustment in the related art.

[0005] In a first aspect, an embodiment of the present application provides a method for adjusting a profilometer, wherein the profilometer includes an optical signal sensor, a laser emitting component, an adjustment component, and a shooting component, and the method includes:

[0006] Based on the images pre-acquired by the shooting component, the target corner points that meet the preset conditions are extracted through the corner detection algorithm;

[0007] Determining a target clarity area based on the positions of the target corner points;

[0008] Obtaining a center line of the target clarity area, and obtaining an angle between the center line and a horizontal line of the visual field;

[0009] Based on the included angle and the center line, the optical signal sensor is adjusted by the adjustment component until the laser line emitted by the laser emitting component coincides with the center line.

[0010] In one embodiment, extracting target corner points that meet preset conditions using a corner detection algorithm based on an image pre-acquired by a profilometer includes:

[0011] Obtaining the position coordinates of each corner point in the image through a corner point detection algorithm;

[0012] Calculating the clarity of each corner point by an image processing algorithm, wherein the image processing algorithm includes an image gradient, an image sharpness, or an image frequency domain analysis algorithm;

[0013] Based on the clarity of each corner point, a target corner point meeting a clarity threshold is obtained.

[0014] In one embodiment, determining the target clarity area based on the position of the target corner point includes:

[0015] According to the position of the target corner point, the target corner point is used to construct a rectangular area;

[0016] The target definition area is determined by calculating the boundary of the rectangular area.

[0017] In one embodiment, the midline of the target clarity area is a geometric centerline of the target clarity area.

[0018] In one embodiment, before adjusting a sensor of the profilometer based on the included angle and the center line until the laser line of the profilometer coincides with the center line, the method further comprises:

[0019] The center line, the angle and the target clarity area are displayed on a display device in real time.

[0020] In one embodiment, adjusting the optical signal sensor by the adjustment component based on the included angle and the center line until the laser line emitted by the laser emitting component coincides with the center line includes:

[0021] According to the information of the center line, the angle and the target clarity area displayed by the display device, the position and angle of the optical signal sensor are adjusted until the laser line emitted by the laser emitting assembly coincides with the center line.

[0022] In one embodiment, when the profilometer is adjusted, the display device updates information of the center line, the angle, and the target clarity area in real time.

[0023] In a second aspect, an embodiment of the present application provides a computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, a profilometer adjustment method as described in the first aspect above is implemented.

[0024] In a third aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a profilometer adjustment method as described in the first aspect above.

[0025] The embodiments of the present application provide a profilometer adjustment method, device, and medium that have at least the following technical effects.

[0026] First, based on an image previously acquired by a profilometer, a corner detection algorithm is used to extract target corners that meet preset criteria. Subsequently, the target definition area is determined based on the locations of the target corners. Next, the centerline of the target definition area is determined, along with the angle between the centerline and the horizontal field of view. Finally, based on the angle and the centerline, the profilometer's sensor is adjusted so that the profilometer's laser line coincides with the centerline. This enables precise adjustment of the profilometer, resolving the low accuracy issue inherent in existing profilometer adjustments.

[0027] The details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0029] Figure 1 is a flow chart of a profilometer adjustment method;

[0030] Figure 2 is a flowchart of step S102 according to an exemplary embodiment;

[0031] Figure 3 is a schematic diagram showing lines and angles in a target clarity area according to an exemplary embodiment;

[0032] Figure 4 is a schematic diagram showing the display positions of a laser line and a center line according to an exemplary embodiment;

[0033] Figure 5 It is a structural block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0034] In order to make the purpose, technical solutions and advantages of this application more clearly understood, the present application is described and illustrated below in conjunction with the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely used to explain this application and are not intended to limit this application. Based on the embodiments provided in this application, all other embodiments obtained by those of ordinary skill in the art without making any creative efforts are within the scope of protection of this application.

[0035] Obviously, the drawings described below are merely examples or embodiments of the present application. Those skilled in the art can, without inventive effort, apply the present application to other similar scenarios based on these drawings. Furthermore, it is also understood that, although the effort involved in such a development process may be complex and lengthy, for those skilled in the art related to the content disclosed in this application, changes in design, manufacturing, or production based on the technical content disclosed in this application are merely conventional technical means and should not be construed as an insufficiency of the content disclosed in this application.

[0036] References to "embodiments" in this application mean that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it refer to independent or alternative embodiments that are mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described in this application may be combined with other embodiments unless there is a conflict.

[0037] Unless otherwise defined, the technical or scientific terms used in this application should have the ordinary meaning understood by a person of ordinary skill in the technical field to which this application belongs. The words "one", "a", "the" and the like used in this application do not indicate a limit on quantity and may indicate the singular or plural. The terms "include", "comprise", "have" and any variations thereof used in this application are intended to cover non-exclusive inclusions; for example, a process, method, system, product or device that includes a series of steps or modules (units) is not limited to the listed steps or units, but may also include steps or units that are not listed, or may also include other steps or units that are inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like used in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The word "multiple" used in this application refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships can exist. For example, "A and / or B" can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects before and after are in an "or" relationship. The terms "first", "second", "third", etc. involved in this application are only used to distinguish similar objects and do not represent a specific order for the objects.

[0038] In a first aspect, an embodiment of the present application provides a profilometer adjustment method, Figure 1 This is a flow chart of a profilometer adjustment method, such as Figure 1 As shown, the method includes:

[0039] Step S101: extract target corner points that meet preset conditions using a corner detection algorithm based on an image pre-acquired by a shooting component.

[0040] Step S102: Determine a target clarity area based on the position of the target corner point.

[0041] Step S103: obtaining a center line of the target clarity area, and obtaining an angle between the center line and a horizontal line of the visual field.

[0042] Step S104: Based on the included angle and the center line, the optical signal sensor is adjusted by the adjustment component until the laser line emitted by the laser emitting component coincides with the center line.

[0043] In summary, an embodiment of the present application provides a profilometer adjustment method. First, based on an image pre-acquired by the profilometer, a corner detection algorithm is used to extract target corner points that meet preset conditions. Subsequently, based on the positions of the target corner points, a target clarity area is determined. Next, the center line of the target clarity area is obtained, as well as the angle between the center line and the horizontal line of the field of view. Finally, based on the angle and the center line, the sensor of the profilometer is adjusted so that the laser line of the profilometer coincides with the center line. This achieves precise adjustment of the profilometer, solving the problem of low precision in the existing profilometer adjustment in the related art.

[0044] In one embodiment, step S101 extracts target corner points that meet preset conditions using a corner detection algorithm based on an image pre-acquired by a profilometer. Specifically, the step S101 includes:

[0045] Obtain the position coordinates of each corner point in the image through the corner detection algorithm;

[0046] Based on the position coordinates of each corner point, the clarity of each corner point is calculated by an image processing algorithm, wherein the image processing algorithm includes an image gradient, an image sharpness or an image frequency domain analysis algorithm;

[0047] Based on the clarity of each corner point, the target corner point that meets the clarity threshold is obtained.

[0048] Optionally, first, the camera of the profilometer captures an image with a checkerboard background and transmits the image data to a computer or control terminal. Subsequently, the position coordinates of each corner point in the image are obtained through a corner detection algorithm. Among them, the corner detection algorithm includes the Harris corner detection algorithm. Then, for each corner point, its clarity can be calculated using three methods: image gradient, image sharpness, or image frequency domain analysis. Finally, a clarity threshold is set, and the corner points that meet the threshold are screened out based on the calculated clarity value. For example, the clarity threshold is set to 0.7, and only corner points with a clarity greater than or equal to 0.7 are retained. These target corner points are used for subsequent target clarity area extraction.

[0049] Step S101: Utilize a corner detection algorithm and a clarity assessment method (image gradient, sharpness, or frequency domain analysis) to obtain target corners that meet a clarity threshold. This improves the accuracy of corner detection, contributes to the accuracy of subsequent steps (such as target clarity region extraction), and thus improves overall measurement accuracy.

[0050] Figure 2 is a flowchart of step S102 according to an exemplary embodiment. Figure 2 As shown, step S102, based on the position of the target corner point, determines the target clarity area. Specifically, it includes the following steps:

[0051] Step S1021: construct a rectangular area for the target corner point according to the position of the target corner point.

[0052] Step S1022: Determine the target clarity area by calculating the boundary of the rectangular area.

[0053] Optionally, extract the two-dimensional coordinates (x, y) of the target corner points (corner points that meet the clarity threshold) filtered out in the previous step. Use a geometric algorithm (such as the convex hull algorithm or the minimum bounding rectangle algorithm) to construct a minimum rectangular region for all target corner points. Finally, by calculating the boundaries of the minimum rectangular region, the target clarity region (i.e., the location and extent of the target clarity region) is determined. The target clarity region refers to the portion of the image with higher clarity and detail fidelity.

[0054] Step S102: construct a rectangular area for the target corner points through a geometric algorithm, calculate the boundary of the rectangular area, determine the target clarity area, and improve the accuracy of subsequent processing steps (such as centerline extraction and angle calculation).

[0055] In one embodiment, step S103, obtaining the center line of the target clarity area and obtaining the angle between the center line and the horizontal line of the visual field, specifically includes the following steps:

[0056] The center line of the target clarity area is obtained by calculating the geometric center line of the target clarity area.

[0057] According to the horizontal line and the center line of the visual field, the angle between the center line and the horizontal line of the visual field is obtained.

[0058] Optional, Figure 3 FIG. 1 is a schematic diagram showing lines and angles in a target clarity area according to an exemplary embodiment. Figure 3 As shown, the upper left corner shows the angle between the center line and the horizontal line of the field of view. The angle at this time is Angle: 0.136909 degrees. The center line is the horizontal line running through the checkerboard in the figure, and the target clarity area is the area enclosed by the dots. The vertex is within the target clarity area, and the center line is extracted through image processing algorithms. The center line can be obtained by calculating the geometric center of the target clarity area. For example, the center line can be determined by fitting a straight line using the least squares method. The horizontal line of the field of view is parallel to the x-axis in the image coordinate system. Calculate the angle between the center line of the target clarity area and the horizontal line of the field of view. This angle information is used to guide the adjustment of the sensor position and angle so that the laser line coincides with the center line. Ideally, the angle between the center line and the horizontal line of the field of view is 0 degrees.

[0059] Step S103: Through precise angle calculation and centerline calculation, the adjustment personnel can quickly and accurately adjust the sensor to ensure that the laser line coincides with the centerline, greatly improving the accuracy of the adjustment process.

[0060] In one embodiment, in step S104, adjusting a sensor of a profilometer based on the included angle and the center line until the laser line of the profilometer coincides with the center line, the method further includes:

[0061] The center line, angle and target clarity area are displayed on the display device in real time.

[0062] Optionally, the midline and angle of the clear zone, as well as the angle between the midline and the horizontal line of vision, are displayed in real time on a display device for reference during adjustment. The display interface includes a visual image of the clear zone area, the position of the midline, and the angle between the midline and the horizontal line of vision.

[0063] By displaying the centerline, angle, and target clarity area in real time on the display device, the adjuster can intuitively see the position deviation between the laser line and the centerline. Adjusters can quickly and accurately adjust the sensor to ensure that the laser line coincides with the centerline, greatly improving the accuracy of the adjustment process.

[0064] In one embodiment, step S104, based on the angle and the center line, adjust the sensor of the profilometer until the laser line of the profilometer coincides with the center line. Specifically, the step S104 includes:

[0065] According to the information of the center line, angle and target clarity area displayed by the display device, the position and angle of the profilometer sensor are adjusted so that the laser line of the profilometer coincides with the center line.

[0066] Optionally, Figure 4 is a schematic diagram showing the display positions of the laser line and the center line according to an exemplary embodiment. Figure 4 As shown in the figure, the white line running through the checkerboard is the laser line, and the red line is the centerline. The target clarity area, the position of the centerline, and the angle between the centerline and the horizontal field of view are displayed in real time on a display device (such as an LCD or touch screen). The display interface includes a visual image of the target clarity area, the position and orientation of the centerline, the angle between the centerline and the horizontal field of view, and the current position of the laser line. The adjuster first observes the information on the display to determine the current relative position and angle between the laser line and the centerline. For example, suppose the laser line is offset from the centerline by a certain distance and there is a certain angle between the two. Based on the feedback from the display, the adjuster adjusts the position and orientation of the profilometer sensor until the profilometer laser line coincides with the centerline (the red line coincides with the white line). During adjustment, the higher the overlap between the laser line and the centerline, the lower the angle between the centerline and the horizontal field of view. Ideally, the angle is zero. Setting the angle to 0.1-0.25 ensures that the profilometer laser line coincides with the centerline.

[0067] Step S104 provides accurate visual feedback to the adjustment personnel by displaying the center line and angle information in real time. The profilometer is adjusted based on the visual feedback to ensure that the laser line coincides with the center line, thereby reducing human judgment errors and making the adjustment more accurate.

[0068] In one embodiment, the optical signal sensor, the laser emission component, the adjustment component and the shooting component, wherein:

[0069] Optical signal sensor and laser emission component for scanning the surface of an object and generating contour data;

[0070] a shooting component, for shooting an image with a checkerboard background;

[0071] The adjustment component is used to adjust the position and angle of the optical signal sensor so that the laser line coincides with the center line.

[0072] First, a camera captures an image with a checkerboard background. A corner detection algorithm is used to extract target corners that meet preset criteria. Subsequently, the target definition area is determined based on the locations of the target corners. Next, the centerline of the target definition area is determined, along with the angle between the centerline and the horizontal field of view. Finally, based on the angle and the centerline, the profilometer sensor is adjusted so that the profilometer's laser line coincides with the centerline. This achieves precise profilometer adjustment, resolving the low precision issue inherent in existing profilometer adjustment techniques.

[0073] In one embodiment, when adjusting the profilometer, the display device updates the information of the center line, angle, and target clarity area in real time, so that the adjuster can check the adjustment effect in real time.

[0074] In one embodiment, after the adjustment is completed, a prompt is given indicating that the adjustment process is complete, and the adjustment data and the adjusted sensor status information are saved for subsequent analysis or recording.

[0075] This application also includes the following effects:

[0076] First, by displaying the centerline and angle of the clear band in real time, adjusters can quickly identify deviations and make corresponding adjustments without repeated estimates. This visual feedback mechanism significantly reduces adjustment time and improves overall adjustment efficiency.

[0077] Second, an algorithm automatically calculates the centerline and angle of the clear zone and visualizes the results, eliminating errors caused by manual estimation. This algorithm-assisted adjustment not only reduces human judgment errors but also avoids operational deviations caused by fatigue or lack of experience.

[0078] Third, the real-time calculation and display of the centerline and angle of the clear band makes the adjustment process more stable and reliable. This allows for stable operation in various working environments (such as those with varying lighting conditions or small clear bands), ensuring adjustment stability and avoiding system instability caused by adjustment errors.

[0079] Fourth, by accurately calculating and displaying the centerline and angle of the clear band, the laser line and sensor are precisely aligned, improving the overall measurement accuracy of the profilometer. For delicate measurement tasks, the system can provide more stable and accurate measurement data, meeting the needs of applications with higher precision requirements.

[0080] In summary, the image processing algorithm automatically extracts the centerline and angle of the clear band and visualizes them, assisting the adjuster in making precise adjustments. This solves the problems of manual error, low precision, inefficiency, and instability in traditional adjustment methods. In this way, not only the measurement accuracy and adjustment efficiency of the profilometer are improved, but also the stability of the system and the user's operating experience are enhanced. In various working environments, this application can provide efficient and accurate auxiliary adjustment.

[0081] It should be noted that the profilometer provided in this embodiment is used to implement the aforementioned embodiments, and details already described will not be repeated. As used above, the terms "module," "unit," "subunit," etc. may refer to a combination of software and / or hardware that implements a predetermined function. Although the apparatus described in the above embodiments is preferably implemented in software, implementation using hardware, or a combination of software and hardware, is also possible and contemplated.

[0082] In a second aspect, an embodiment of the present application provides an electronic device, Figure 5 FIG is a block diagram of an electronic device according to an exemplary embodiment. Figure 5 As shown, the electronic device may include a processor 51 and a memory 52 storing computer program instructions.

[0083] Specifically, the processor 51 may include a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0084] Among them, the memory 52 may include a large-capacity memory for data or instructions. By way of example and not limitation, the memory 52 may include a hard disk drive (HDD), a floppy disk drive, a solid-state drive (SSD), a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these. Where appropriate, the memory 52 may include a removable or non-removable (or fixed) medium. Where appropriate, the memory 52 may be inside or outside the data processing device. In a specific embodiment, the memory 52 is a non-volatile memory. In a specific embodiment, the memory 52 includes a read-only memory (ROM) and a random access memory (RAM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (Programmable Read-Only Memory, PROM for short), an erasable PROM (Erasable Programmable Read-Only Memory, EPROM for short), an electrically erasable PROM (Electrically Erasable Programmable Read-Only Memory, EEPROM for short), an electrically alterable ROM (Electrically Alterable Read-Only Memory, EAROM for short) or a flash memory (FLASH) or a combination of two or more of these. Under appropriate circumstances, the RAM can be a static random access memory (SRAM) or a dynamic random access memory (DRAM), where the DRAM can be a fast page mode dynamic random access memory (FPMDRAM), an extended data output dynamic random access memory (EDODRAM), a synchronous dynamic random access memory (SDRAM), etc.

[0085] The memory 52 may be used to store or cache various data files that need to be processed and / or used for communication, as well as possible computer program instructions executed by the processor 51 .

[0086] The processor 51 reads and executes computer program instructions stored in the memory 52 to implement any one of the profilometer adjustment methods in the above embodiments.

[0087] In one embodiment, a profilometer adjustment device may further include a communication interface 53 and a bus 50. Figure 5 As shown, the processor 51, the memory 52, and the communication interface 53 are connected via a bus 50 and communicate with each other.

[0088] The communication interface 53 is used to enable communication between the various modules, devices, units, and / or devices in the embodiments of the present application. The communication interface 53 can also enable data communication with other components such as external devices, image / data acquisition devices, databases, external storage, and image / data processing workstations.

[0089] The bus 50 includes hardware, software, or both, and couples components of a profilometer adjustment device to each other. The bus 50 includes, but is not limited to, at least one of the following: a data bus, an address bus, a control bus, an expansion bus, and a local bus. By way of example and not limitation, bus 50 may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an InfiniBand interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local Bus (VLB) bus, or other suitable buses, or a combination of two or more of these. Bus 50 may include one or more buses, where appropriate. Although embodiments herein describe and illustrate a particular bus, this application contemplates any suitable bus or interconnect.

[0090] In a third aspect, an embodiment of the present application provides a computer-readable storage medium having a program stored thereon. When the program is executed by a processor, the profilometer adjustment method provided in the first aspect is implemented.

[0091] The readable storage medium may include, but is not limited to, a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0092] In a possible implementation, the present invention can also be implemented in the form of a program product, which includes program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps of a profilometer adjustment method provided in the first aspect.

[0093] The program code for executing the present invention may be written in any combination of one or more programming languages, and may be executed entirely on the user device, partially on the user device, as an independent software package, partially on the user device and partially on a remote device, or entirely on the remote device.

[0094] The technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above-mentioned embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0095] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art could make various modifications and improvements without departing from the spirit of the present application, all of which fall within the scope of protection of the present application. Therefore, the scope of protection of the present patent application shall be determined by the appended claims.

Claims

1. A profilometer adjustment method, characterized in that: The profilometer includes a light signal sensor, a laser emission component, an adjustment component, and a shooting component. The method includes: Extracting target corner points that meet preset conditions using a corner detection algorithm based on the image pre-acquired by the shooting component; Determining a target clarity area based on the positions of the target corner points; Obtaining a center line of the target clarity area, and obtaining an angle between the center line and a horizontal line of the visual field; Based on the included angle and the center line, the optical signal sensor is adjusted by the adjustment component until the laser line emitted by the laser emitting component coincides with the center line.

2. A profilometer adjustment method according to claim 1, characterized in that: The determining of the target clarity area based on the position of the target corner point includes: Constructing a rectangular area for the target corner point according to the position of the target corner point; The target definition area is determined by calculating the boundary of the rectangular area.

3. A profilometer adjustment method according to claim 1, characterized in that: The step of extracting target corner points that meet preset conditions by using a corner detection algorithm based on the image pre-acquired by the shooting component includes: Obtaining the position coordinates of each corner point in the image through a corner point detection algorithm; Calculating the clarity of each corner point by an image processing algorithm, wherein the image processing algorithm includes an image gradient, an image sharpness, or an image frequency domain analysis algorithm; Based on the clarity of each corner point, a target corner point meeting a clarity threshold is obtained.

4. A profilometer adjustment method according to claim 1, characterized in that: The midline of the target clarity area is the geometric center line of the target clarity area.

5. The profilometer adjustment method according to claim 1, characterized in that: Before adjusting a sensor of the profilometer based on the included angle and the center line until the laser line of the profilometer coincides with the center line, the method further includes: The center line, the angle and the target clarity area are displayed on a display device in real time.

6. A profilometer adjustment method according to claim 5, characterized in that: The adjusting the optical signal sensor by the adjusting component based on the included angle and the center line until the laser line emitted by the laser emitting component coincides with the center line includes: According to the information of the center line, the angle and the target clarity area displayed by the display device, the position and angle of the optical signal sensor are adjusted until the laser line emitted by the laser emitting assembly coincides with the center line.

7. A profilometer adjustment method according to claim 6, characterized in that: When the profilometer is adjusted, the display device updates information of the center line, the angle, and the target clarity area in real time.

8. An electronic device, characterized in that: The method comprises a memory and a processor, a computer program stored in the memory and executable on the processor, and the processor implements a profilometer adjustment method according to any one of claims 1 to 6 when executing the computer program.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the profilometer adjustment method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Machine vision-guided laser gear chamfering contour measurement apparatus and measurement method thereof

    CN105043288A

  • Tooth shape code identification method and device and terminal equipment

    CN110465815A

  • Steel coil grabbing centering method and centering device thereof

    CN116022655A

  • Camera parameter calibration method and device

    CN118799412A

  • Workpiece profile tolerance evaluation method and device based on machine vision

    CN118816749A