High-reflection coiled material offset measuring method suitable for winding system

By adjusting the camera position and rotating the lens polarizer, combining the parameters of industrial cameras and dual telecentric lenses, using statistical histograms to locate the edge of the coil, the problems of glitter and ambient light interference in high-reflective coil detection are solved, and the detection is improved accuracy and environmental adaptability.

CN118936309AActive Publication Date: 2024-11-12RES & DEV INST OF NORTHWESTERN POLYTECHNICAL UNIV IN SHENZHEN +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411169875.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-26
Publication Date
2024-11-12
Estimated Expiration
2044-08-26

AI Technical Summary

Technical Problem

In the prior art, the offset detection sensor is seriously affected by the light when facing a highly reflective coil material, and the reflective image detection method is sensitive to shadow and ambient light interference, resulting in low detection accuracy and poor reliability.

Method used

By adjusting the position of the industrial camera and the angle of the rotating lens polarizer, combining the inherent parameters of the industrial camera and the dual telecentric lens, calculate the real-world dimensions of individual pixel points in the image, and positioning the edge position and edge inclination of the frame using statistical histograms. , establish a robust offset measurement method.

Benefits of technology

It improves the environmental adaptability and measurement accuracy of coil offset detection, and overcomes the problems of complex installation of the radial correction sensor and low detection accuracy when facing high-reflection materials.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118936309A_ABST
    Figure CN118936309A_ABST
Patent Text Reader

Abstract

The invention discloses a high-reflection coiled material offset measuring method suitable for a winding system, and the method comprises the steps: adjusting the position of an industrial camera through a cross rod connecting block and a camera clamp, and enabling the visual angle of the camera to cover the edge region of a measured coiled material; rotating the angle of a lens polaroid according to the flare intensity of the coiled material surface; calculating the size in the real world corresponding to a single pixel point in the image through the inherent parameters of the industrial camera and the double telecentric lens; establishing a statistical histogram of the image, and positioning a frame edge position and an edge gradient by using the histogram; and finally obtaining offset information. The method provided by the invention can be suitable for a winding system for winding and unwinding the high-reflective coiled material, has certain robustness to shadow and ambient light, and can greatly improve the environmental adaptability and measurement accuracy of coiled material offset detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of photoelectric measurement, and in particular relates to a method for measuring the offset of a highly reflective coiled material applicable to a winding system. Background Art

[0002] The offset detection sensor is an important part of the automated closed-loop system that automatically corrects the lateral deviation of the coil. It mainly serves the printing, packaging, lithium battery, photovoltaic, automotive, textile, metallurgy and other industries. It can measure the offset of winding and unwinding coil products such as film, metal foil, film, leather, non-woven fabrics, woven fabrics and other winding materials.

[0003] The line array laser detection method based on the beam type is the mainstream method currently used in industrial sites, but it is limited by the detection mechanism and has the following defects: First, the beam type correction sensor consists of two parts, the transmitter and the receiver, which has high installation requirements and a complex debugging process; second, when the correction sensor detects the edge of the target, the range of a single detection is small, resulting in limited movement speed of the detected object and easy to miss detection. The image detection method based on the reflection type can realize accurate detection of edge information, and has the advantages of fast system calibration speed and low risk of missed detection, but it is limited by the detection mechanism and has the following defects: First, when facing highly reflective coils, the imaging system is seriously affected by the glare of the coil surface, resulting in no response to the coil edge detection; second, it is difficult to avoid the interference of shadows and ambient light in the production site, and the image detection method based on the reflection type is very sensitive to the changes in image grayscale values ​​caused by shadows and ambient light, resulting in poor detection reliability and reduced accuracy. Summary of the invention

[0004] In order to overcome the shortcomings of the prior art, the present invention provides a method for measuring the offset of a highly reflective coil suitable for a winding system. The position of the industrial camera is adjusted by a crossbar connecting block and a camera fixture so that the camera's viewing angle can cover the edge area of ​​the measured coil; the angle of the lens polarizer is rotated according to the glare intensity of the coil surface; the size of a single pixel in the image corresponding to the real world is calculated by the inherent parameters of the industrial camera and the bi-telecentric lens; a statistical histogram of the image is established, and the frame edge position and the inclination of the edge are located by using the histogram; and finally the offset information is obtained. The method of the present invention can be applied to winding systems for collecting and releasing highly reflective coils, and has a certain robustness to shadows and ambient light, which can greatly improve the environmental adaptability and measurement accuracy of coil offset detection.

[0005] The technical solution adopted by the present invention to solve the technical problem is as follows:

[0006] Step 1: Construct a highly reflective web offset measurement device suitable for a winding system, including an industrial camera, a bi-telecentric lens, a lens polarizer, a linear polarizer, a plane shadowless light source, an adjustable camera fixture, a crossbar, an adapter block, an adjustable light source bracket, a vertical pole, and a bottom plate;

[0007] The industrial camera and the double telecentric lens are integrally mounted on an adjustable camera fixture, and the position of the camera is adjusted according to the needs of the measurement scene; the plane shadowless light source is mounted on the adjustable light source bracket, and the linear polarizer is mounted on the plane shadowless light source, keeping the two placed in parallel.

[0008] Step 2: Adjust the measurement system according to the position of the coil to be measured. Adjust the position of the industrial camera through the crossbar connecting block and the camera fixture so that the camera's viewing angle can cover the edge area of ​​the coil to be measured. Adjust the position of the light source bracket so that the plane shadowless light source can cover the area to be measured of the coil. Adjust the linear polarizer to be parallel to the plane shadowless light source and completely cover the light source area.

[0009] Step 3: After the linear polarizer and the plane shadowless light source are installed and fixed, rotate the angle of the lens polarizer according to the glare intensity of the web surface to reduce the impact of the glare on the web surface and ensure that the camera can clearly capture the edge area of ​​the web surface;

[0010] Step 4: Calculate the real-world size of a single pixel in the image using the intrinsic parameters of the industrial camera and the bi-telecentric lens;

[0011] Step 5: Before the winding system is turned on, an initial frame polarization intensity image of the coil surface is captured by an industrial camera, an initial frame edge image is obtained by using an edge detection algorithm, edge pixels in the image are binarized, a statistical histogram of the initial frame image is established, and the initial frame edge position is located by using the histogram;

[0012] Step 6: After the winding system is turned on, the i-th frame polarization intensity image of the coil surface is captured by an industrial camera, and the i-th frame edge image of the coil surface is obtained by using an edge detection algorithm. The edge pixels in the image are binarized, and a statistical histogram of the i-th frame image is established. The histogram is used to determine whether the edge is tilted. If there is no tilt, the edge position of the i-th frame is directly located. If there is a tilt, the edge position of the i-th frame is estimated by calculating the average edge position, and the tilt of the edge is calculated at the same time;

[0013] Step 7: Subtract the edge pixel position of the i-th frame from the edge pixel position of the initial frame to obtain the incremental information of the pixel position. Multiply the incremental information with the size of the single pixel corresponding to the real world obtained in step 4 to obtain the offset information.

[0014] Furthermore, the step 4 is specifically as follows: obtaining the pixel size u of the industrial camera, obtaining the magnification η of the bi-telecentric lens, and calculating the size in the real world corresponding to a single pixel point in the image by the formula x=u / η.

[0015] Furthermore, the step 5 is specifically as follows:

[0016] Step 5-1: Before the winding system is turned on, an industrial camera is used to capture the initial frame polarization intensity image of the coil surface, and the intensity image is convolved using templates at angles of 45°, 90°, and 135° in the Sobel operator. The edge image is obtained by weighted calculation of the three sets of discrete data.

[0017] Step 5-2: Set the intensity T as the threshold to binarize the edge image. Pixel values ​​below the threshold T are assigned a value of 0, and those above the threshold T are assigned a value of 255. Draw a statistical histogram with the column pixels of the image as the horizontal coordinate and the number of pixels with a value of 255 in each column as the vertical coordinate; assuming that the edge of the initial frame position is in a 90° vertical state, the k0th column in the horizontal coordinate corresponding to the point with the largest value in the histogram is the edge position of the initial frame.

[0018] Furthermore, the step 6 is specifically as follows:

[0019] Step 6-1: After the winding system is turned on, the edge image is calculated by the same method as before the winding system is turned on, and the edge image is binarized by setting the intensity T as the threshold. The pixel value below the threshold T is assigned 0, and the pixel value above the threshold T is assigned 255;

[0020] Step 6-2: Draw a statistical histogram with the image column pixels as the horizontal coordinate and the number of pixels with a value of 255 in each column as the vertical coordinate, and read the kth pixel in the horizontal coordinate corresponding to the point with the largest value in the histogram. max Column, let f(k max ) represents the horizontal axis k max The total number of pixel values ​​corresponding to the column is 255, let S represent k max List the total number of pixels with a value of 255 in the two neighborhoods, denoted by S all Represents the total number of pixels with a value of 255 in the histogram. The threshold T' is set to determine whether there is a tilt. Indicates that there is no tilt on the edge. At this time, the kth max The column is the edge position; when Indicates that the edge is tilted, and the smallest column pixel whose ordinate is greater than the threshold λ is k′ min , the maximum column pixel is k′ max , then the edge position is the mean of the two Instead, the inclination Where H represents the total number of pixels in the vertical direction of the image.

[0021] Furthermore, the step 7 is specifically as follows: when it is detected that the edge has no tilt, the edge pixel position k of the i-th frame is set to max Or when tilt is detected, the edge pixel position of the i-th frame The incremental information α of the pixel position is obtained by performing a difference operation with the initial frame edge pixel position k0, and the incremental information is multiplied by the size x in the real world corresponding to the pixel obtained in step 4 to obtain the offset information.

[0022] The beneficial effects of the present invention are as follows:

[0023] The method of the present invention can be applied to winding systems for taking up and releasing highly reflective coils, and at the same time has a certain robustness against shadows and ambient light, can greatly improve the accuracy of coil offset detection, and overcome the problems of high installation requirements, complex debugging process, and small single detection range of reflected-type correction sensors, as well as low detection accuracy and poor reliability of reflective correction sensors when faced with interference from highly reflective materials, shadows, and ambient light. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 is a flow chart of the method of the present invention;

[0025] Figure 2 It is a schematic diagram of the measuring device of the present invention;

[0026] Figure 3 This is a polarization intensity image of the copper-plated coil surface according to an embodiment of the present invention;

[0027] Figure 4 The initial frame edge detection image of the embodiment of the present invention;

[0028] Figure 5 The second edge detection image of the embodiment of the present invention;

[0029] Figure 6 The initial frame statistical histogram of the embodiment of the present invention;

[0030] Figure 7 The second frame statistical histogram of the embodiment of the present invention;

[0031] Figure 8 The third edge detection image of the embodiment of the present invention;

[0032] Fig. 9 This is the statistical histogram of the third frame in the embodiment of the present invention.

[0033] In the figure: 1 industrial camera, 2 bi-telecentric lens, 3 lens polarizer, 4 linear polarizer, 5 plane shadowless light source, 6 adjustable camera fixture, 7 cross bar, 8 adapter block, 9 adjustable light source bracket, 10 vertical pole, 11 bottom plate. DETAILED DESCRIPTION

[0034] The present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0035] The purpose of the present invention is to provide a method for measuring the offset of a highly reflective coil suitable for a winding system, so as to overcome the problems of high installation requirements, complex debugging process, small single detection range of the reflected type correction sensor, low detection accuracy and poor reliability when facing interference from highly reflective materials, shadows and ambient light.

[0036] The measuring device includes an industrial camera, a bi-telecentric lens, a lens polarizer, a linear polarizer, a plane shadowless light source, an adjustable camera fixture, a crossbar, a transfer block, an adjustable light source bracket, a vertical pole, and a bottom plate.

[0037] like Figure 1 As shown, a method for measuring the deviation of a highly reflective coil suitable for a winding system comprises the following steps:

[0038] S1. Adjust the measurement system according to the position of the measured coil. Adjust the crossbar connection block and the camera fixture to move the industrial camera to a suitable position so that the camera's viewing angle can cover the edge area of ​​the measured coil. Adjust the light source bracket to a suitable position so that the plane shadowless light source can cover the measured area of ​​the coil. Adjust the linear polarizer to be parallel to the plane shadowless light source and completely cover the light source area.

[0039] S2. After the linear polarizer and the plane shadowless light source are installed and fixed, rotate the angle of the lens polarizer according to the glare intensity of the web surface to reduce the impact of the glare on the web surface and ensure that the camera can clearly capture the edge area.

[0040] S3. Calculate the real-world size of a single pixel in the image using the intrinsic parameters of the industrial camera and the bi-telecentric lens.

[0041] Get the pixel size u of the industrial camera, get the magnification η of the bi-telecentric lens, and calculate the size of a single pixel in the image in the real world using the formula x=u / η.

[0042] S4. Before the winding system is turned on, an initial frame polarization intensity image of the coil surface is captured by an industrial camera, an initial frame edge image is obtained by using an edge detection algorithm, edge pixels in the image are binarized, a statistical histogram of the initial frame image is established, and the initial frame edge position is located by using the histogram;

[0043] Before the winding system is turned on, the initial frame polarization intensity image of the coil surface is taken by an industrial camera. In order to make the edge detection algorithm more sensitive to the edge information in the vertical and inclined directions, the intensity image is convolved with the templates of 45°, 90°, and 135° in the Sobel operator. The edge image is obtained by weighted calculation of the three sets of discrete data. The intensity T is set as the threshold to binarize the edge image. The pixel value below the threshold T is assigned to 0, and the pixel value above the threshold T is assigned to 255. The column pixels of the image are used as the horizontal coordinate and the number of pixels with a value of 255 in each column is used as the vertical coordinate to draw a statistical histogram. At this time, it is assumed that the edge of the initial frame position is in a 90° vertical state. The k0th column in the horizontal coordinate corresponding to the point with the largest value in the histogram is the edge position of the initial frame.

[0044] S5. After the winding system is turned on, the i-th frame polarization intensity image of the coil surface is captured by an industrial camera, the i-th frame edge image of the coil is obtained by using an edge detection algorithm, the edge pixels in the image are binarized, and a statistical histogram of the i-th frame image is established. The histogram is used to determine whether the edge is tilted. If there is no tilt, the edge position of the i-th frame is directly located. If there is a tilt, the edge position of the i-th frame is estimated by calculating the average edge position, and the tilt of the edge is calculated at the same time;

[0045] After the winding system is turned on, the edge image is calculated by the same method as before the winding system is turned on. The intensity T is set as the threshold to binarize the edge image. The pixel value below the threshold T is assigned to 0, and the pixel value above the threshold T is assigned to 255. The column pixels of the image are used as the horizontal coordinates, and the number of pixels with a value of 255 in each column is used as the vertical coordinates to draw a statistical histogram. The kth pixel in the horizontal coordinate corresponding to the point with the largest value in the histogram is read out. max Column, let f(k max ) represents the kth horizontal axis max The total number of pixel values ​​corresponding to the column is 255, let S represent k max List the total number of pixels with a value of 255 in the two neighborhoods, denoted by S all Represents the total number of pixels with a value of 255 in the histogram. The threshold T' is set to determine whether there is a tilt. Indicates that there is no tilt on the edge. At this time, the kth max The column is the edge position; when Indicates that the edge is tilted, and the smallest column pixel whose ordinate is greater than the threshold λ is k′ min , the maximum column pixel is k′ max , then the edge position is the mean of the two Instead, the inclination Where H represents the total number of pixels in the vertical direction of the image.

[0046] S6. Subtract the edge pixel position of the i-th frame from the edge pixel position of the initial frame to obtain the incremental information of the pixel position. The incremental information is multiplied by the size of the pixel corresponding to the real world obtained in S3 to obtain the offset information.

[0047] Set the edge pixel position k of the i-th frame max (when no tilt is detected) or (When tilt is detected) the incremental information α of the pixel position is obtained by performing a difference operation with the initial frame edge pixel position k0, and the incremental information is multiplied by the size x in the real world corresponding to the pixel obtained in S3 to obtain the offset information.

[0048] Example:

[0049] like Figure 2 As shown, the measuring system is adjusted according to the position of the copper-plated coil to be measured, the industrial camera is moved to a suitable position by adjusting the crossbar connecting block and the camera fixture so that the camera's viewing angle can cover the edge area of ​​the coil to be measured, the light source bracket is adjusted to a suitable position so that the plane shadowless light source can cover the area to be measured of the coil, and the linear polarizer is adjusted to be parallel to the plane shadowless light source and completely cover the light source area.

[0050] like Figure 3 As shown, after the linear polarizer and the plane shadowless light source are installed and fixed, the angle of the lens polarizer is rotated according to the intensity of the glare on the web surface to reduce the impact of the glare on the web surface and ensure that the imaging device can clearly capture the edge area image.

[0051] The pixel size u of the industrial camera is obtained as 3.45 μm, the magnification η of the bi-telecentric lens is obtained as 0.243, and the size x in the real world corresponding to a single pixel point in the image is calculated using the formula x=u / η.

[0052] like Figure 4 As shown in the figure, before the winding system is turned on, the initial frame polarization intensity image of the coil surface is captured by an industrial camera. In order to make the edge detection algorithm more sensitive to the edge information in the vertical and inclined directions, the intensity image is convolved with the templates at angles of 45°, 90°, and 135° in the Sobel operator, and the edge image is obtained by weighted calculation of the three sets of discrete data.

[0053] like Figure 5 As shown, after the winding system is turned on, the edge image of the second frame is calculated by the same method as before the winding system is turned on.

[0054] like Figure 6As shown, before the winding system is turned on, the intensity T = 200 is set as the threshold to binarize the edge image, the pixel value below the threshold T is assigned to 0, and the pixel value above the threshold T is assigned to 255. The column pixels of the image are used as the horizontal coordinate and the number of pixels with a value of 255 in each column is used as the vertical coordinate to draw a statistical histogram. At this time, it is assumed that the edge of the initial frame position is in a 90° vertical state, then the k0 = 310th column in the horizontal coordinate corresponding to the point with the largest value in the histogram is the edge position of the initial frame.

[0055] like Figure 7 As shown in the figure, after the winding system is turned on, the polarization intensity image of the second frame of the coil surface is captured by an industrial camera, and the intensity image is convolved using the templates of 45°, 90°, and 135° in the Sobel operator. The edge image is obtained by weighted calculation of the three sets of discrete data, and the intensity T=200 is set as the threshold to binarize the edge image. The pixel value below the threshold T is assigned to 0, and the pixel value above the threshold T is assigned to 255. The column pixels of the image are used as the horizontal coordinate, and the number of pixels with a value of 255 in each column is used as the vertical coordinate to draw a statistical histogram, and the kth pixel in the horizontal coordinate corresponding to the point with the largest value in the histogram is read out. max = 399 columns, let f(k max ) represents the kth horizontal axis max The total number of pixel values ​​corresponding to the column is 255, let S represent the kth max List the total number of pixels with a value of 255 in the two neighborhoods, and let S all represents the total number of pixels with a value of 255 in the histogram, and sets the threshold T′=0.8 to determine whether there is a tilt. Indicates that there is no tilt on the edge. At this time, the kth max =399 columns are the edge positions.

[0056] Set the edge pixel position k of the second frame max =399 is subtracted from the initial frame edge pixel position k0=310 to obtain the incremental information of the pixel position α=89, and the incremental information is multiplied by the pixel size 14.2μm in the real world obtained in S3 to obtain an offset of 1263.8μm.

[0057] like Figure 8 , Fig. 9 As shown, after the winding system is turned on, the edge image and statistical histogram of the third frame are calculated by the same method as before the winding system is turned on.

[0058] From S=96, Indicates that the edge is tilted, and the smallest column pixel whose ordinate is greater than the threshold λ=3 is k′ min = 279, the maximum column pixel is k′ max=288, then the edge position is replaced by the average of the two values ​​284, and the inclination is:

[0059]

[0060] Where H=600 represents the total number of pixels in the image height.

[0061] Set the edge pixel position of frame 3 The incremental information of the pixel position α′=26 is obtained by performing a difference operation with the initial frame edge pixel position k0=310, and the incremental information is multiplied by the size 14.2 μm of the pixel corresponding to the real world obtained in S3 to obtain an offset of 369.2 μm.

Claims

1. A method for measuring the offset of a highly reflective coil suitable for a winding system, characterized in that: The steps include: Step 1: Construct a highly reflective web offset measurement device suitable for a winding system, including an industrial camera, a bi-telecentric lens, a lens polarizer, a linear polarizer, a plane shadowless light source, an adjustable camera fixture, a crossbar, an adapter block, an adjustable light source bracket, a vertical pole, and a bottom plate; The industrial camera and the double telecentric lens are integrally mounted on an adjustable camera fixture, and the position of the camera is adjusted according to the needs of the measurement scene; the plane shadowless light source is mounted on the adjustable light source bracket, and the linear polarizer is mounted on the plane shadowless light source, and the two are kept parallel; Step 2: Adjust the measurement system according to the position of the coil to be measured. Adjust the position of the industrial camera through the crossbar connecting block and the camera fixture so that the camera's viewing angle can cover the edge area of ​​the coil to be measured. Adjust the position of the light source bracket so that the plane shadowless light source can cover the area to be measured of the coil. Adjust the linear polarizer to be parallel to the plane shadowless light source and completely cover the light source area. Step 3: After the linear polarizer and the plane shadowless light source are installed and fixed, rotate the angle of the lens polarizer according to the glare intensity of the web surface to reduce the impact of the glare on the web surface and ensure that the camera can clearly capture the edge area of ​​the web surface; Step 4: Calculate the real-world size of a single pixel in the image using the intrinsic parameters of the industrial camera and the bi-telecentric lens; Step 5: Before the winding system is turned on, an initial frame polarization intensity image of the coil surface is captured by an industrial camera, an initial frame edge image is obtained by using an edge detection algorithm, edge pixels in the image are binarized, a statistical histogram of the initial frame image is established, and the initial frame edge position is located by using the histogram; Step 6: After the winding system is turned on, the i-th frame polarization intensity image of the coil surface is captured by an industrial camera, and the i-th frame edge image of the coil surface is obtained by using an edge detection algorithm. The edge pixels in the image are binarized, and a statistical histogram of the i-th frame image is established. The histogram is used to determine whether the edge is tilted. If there is no tilt, the edge position of the i-th frame is directly located. If there is a tilt, the edge position of the i-th frame is estimated by calculating the average edge position, and the tilt of the edge is calculated at the same time; Step 7: Subtract the edge pixel position of the i-th frame from the edge pixel position of the initial frame to obtain the incremental information of the pixel position. Multiply the incremental information with the size of the single pixel corresponding to the real world obtained in step 4 to obtain the offset information.

2. A method for measuring the deviation of a highly reflective coil suitable for a winding system according to claim 1, characterized in that: The step 4 is specifically as follows: obtaining the pixel size u of the industrial camera, obtaining the magnification η of the bi-telecentric lens, and calculating the size in the real world corresponding to a single pixel point in the image by the formula x=u / η.

3. A method for measuring the deviation of a highly reflective coil suitable for a winding system according to claim 2, characterized in that: The step 5 is specifically as follows: Step 5-1: Before the winding system is turned on, an industrial camera is used to capture the initial frame polarization intensity image of the coil surface, and the intensity image is convolved using templates at angles of 45°, 90°, and 135° in the Sobel operator. The edge image is obtained by weighted calculation of the three sets of discrete data. Step 5-2: Set the intensity T as the threshold to binarize the edge image. Pixel values ​​below the threshold T are assigned a value of 0, and those above the threshold T are assigned a value of 255. Draw a statistical histogram with the column pixels of the image as the horizontal axis and the number of pixels with a value of 255 in each column as the vertical axis; Assuming that the edge of the initial frame position is in a 90° vertical state, the k0th column in the abscissa corresponding to the point with the largest value in the histogram is the initial frame edge position.

4. A method for measuring the deviation of a highly reflective coiled material applicable to a winding system according to claim 3, characterized in that: The step 6 is specifically as follows: Step 6-1: After the winding system is turned on, the edge image is calculated by the same method as before the winding system is turned on, and the edge image is binarized by setting the intensity T as the threshold. The pixel value below the threshold T is assigned 0, and the pixel value above the threshold T is assigned 255; Step 6-2: Draw a statistical histogram with the image column pixels as the horizontal coordinate and the number of pixels with a value of 255 in each column as the vertical coordinate, and read the kth pixel in the horizontal coordinate corresponding to the point with the largest value in the histogram. max Column, let f(k max ) represents the horizontal axis k max The total number of pixel values ​​corresponding to the column is 255, let S represent k max List the total number of pixels with a value of 255 in the two neighborhoods, denoted by S all Represents the total number of pixels with a value of 255 in the histogram. The threshold T' is set to determine whether there is a tilt. It means that there is no tilt at the edge. At this time, the kth max The column is the edge position; when Indicates that the edge is tilted, and the smallest column pixel whose ordinate is greater than the threshold λ is k′ min , the maximum column pixel is k′ max , then the edge position is the mean of the two Instead, the inclination Where H represents the total number of pixels in the vertical direction of the image.

5. A method for measuring the deviation of a highly reflective coiled material applicable to a winding system according to claim 4, characterized in that: The step 7 is specifically as follows: when it is detected that the edge has no tilt, the edge pixel position k of the i-th frame is set max Or when tilt is detected, the edge pixel position of the i-th frame The incremental information α of the pixel position is obtained by performing a difference operation with the initial frame edge pixel position k0, and the incremental information is multiplied by the size x in the real world corresponding to the pixel obtained in step 4 to obtain the offset information.

Citation Information

Patent Citations

  • Web inspection calibration system and related methods

    CN102105781A

  • Method and system for performing deviation rectification control on target coiled material

    CN117755879A

  • Web inspection method and device

    US20020110269A1

  • Offset measuring mechanism and offset measuring method in a bonding apparatus

    US20040060663A1