A method and system for measuring structural displacement based on near-infrared self-luminescence coded targets

By combining near-infrared self-luminous coded targets and narrowband filters, the problems of target identification stability and measurement point differentiation in structural displacement monitoring are solved, enabling stable imaging and high-precision displacement attitude measurement under complex lighting conditions.

CN123175140APending Publication Date: 2026-11-27OCEAN UNIV OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611356382.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-03
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing structural displacement monitoring methods suffer from poor target identification stability under complex lighting conditions, making it difficult to select appropriate target specifications based on measurement distance. Furthermore, the identification and synchronous calculation of multiple measurement points are challenging, leading to measurement point confusion and trajectory crosstalk.

Method used

Near-infrared self-luminous coded targets are used, and ambient light interference is suppressed by narrow-band filters. Combined with identity coding area and direction discrimination feature area, multi-point identity differentiation and attitude synchronous measurement are achieved.

Benefits of technology

This technology improves the stability of target identification under complex lighting conditions, ensures stable imaging and positioning accuracy across the entire measurement range, avoids measurement point confusion and trajectory crosstalk, and is suitable for large-scale structural monitoring.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123175140A_ABST
    Figure CN123175140A_ABST
Patent Text Reader

Abstract

The application discloses a kind of based on near-infrared self-luminous coding target structural displacement measurement method and system, belong to photoelectric measurement technical field, this method includes: the measurement distance of visual acquisition terminal to observation point and camera internal parameter;According to the parameter, distance and pre-calibrated minimum coding feature effective imaging pixel threshold, calculate target minimum physical feature size, and combine field of view duty cycle constraint to select suitable specification near-infrared self-luminous coding target;Target is fixed at observation point, and continuous acquisition near-infrared image sequence thereof;Image is preprocessed, coding identification and feature point subpixel positioning, and structural displacement or attitude change is calculated according to the obtained coordinates.The application can improve the stability of target identification under complex lighting environment, and support multi-measuring point non-contact displacement and attitude monitoring under different ranging scenes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of photoelectric measurement technology, and more specifically to a method and system for measuring structural displacement based on a near-infrared self-luminous coded target. Background Technology

[0002] Large engineering structures are subject to factors such as wind load, wave load, temperature changes, vehicle load, equipment vibration, or foundation settlement during service, which may cause deformations such as deflection, translation, tilting, or torsion. Long-term monitoring of structural displacement and attitude changes is an important basis for structural safety assessment, early warning, and operation and maintenance decisions.

[0003] Existing structural displacement monitoring methods mainly include contact sensing monitoring and visual non-contact monitoring. Contact monitoring equipment usually requires the deployment of sensors, wiring, or installation of reference devices on the structure under test, which results in a large workload for installation and maintenance, high cost of expanding the number of monitoring points, and reduced reliability in humid, salt spray, dusty, or vibrating environments.

[0004] Visual non-contact measurement has advantages such as not damaging the measured structure, having a large field of view, and facilitating simultaneous observation at multiple points. However, traditional visible light targets or passive reflective targets are easily affected by strong sunlight, stray light at night, reflections from sea or metal surfaces, rain and fog, and changes in day and night lighting, leading to decreased target image contrast, unstable threshold segmentation, abrupt changes in feature point localization, or failure of encoding and recognition.

[0005] Furthermore, structural vision measurement often faces the challenge of large measurement distances. When the target size is fixed, close-range measurements may result in the target exceeding the camera's field of view or occupying an excessively large image area; long-range measurements may encounter problems such as insufficient coded feature imaging pixels, feature adhesion, or decreased subpixel positioning accuracy. During simultaneous monitoring of multiple measurement points, if multiple targets lack reliable identification codes, measurement point confusion and trajectory crosstalk can easily occur.

[0006] Therefore, it is necessary to provide a structural displacement measurement method that can improve the stability of target recognition under complex lighting conditions, select appropriate target specifications according to the measurement distance, and support multi-point identification and simultaneous calculation of two-dimensional displacement and spatial attitude. Summary of the Invention

[0007] To address the aforementioned technical problems, this invention proposes a structural displacement measurement method and system based on a near-infrared self-luminous coded target. This invention effectively suppresses ambient light interference by setting a narrowband filter that matches the transmission band with the near-infrared self-luminous band; it distinguishes the identities of multiple measurement points through the identity coding area on the target; and it eliminates matching ambiguities caused by target rotation through the direction discrimination feature area, thereby achieving synchronous measurement of displacement and attitude of multiple measurement points in complex environments.

[0008] To achieve the above objectives, the present invention adopts the following technical solution:

[0009] In a first aspect, embodiments of the present invention provide a structural displacement measurement method based on a near-infrared self-illuminating coded target, comprising the following steps: S1. Obtain the measurement distance between the visual acquisition terminal and the observation point of the structure under test, as well as the internal parameter matrix of the camera; S2. Based on the camera internal parameter matrix, the measurement distance, and the pre-calibrated minimum coding feature effective imaging pixel threshold, calculate the minimum physical feature size of the target coding pattern at the current observation point, and select a near-infrared self-illuminating coding target based on the minimum physical feature size of the target coding pattern and the field of view duty cycle constraint. S3. Fix the selected near-infrared self-luminous coded target to the observation point of the structure to be tested, and continuously acquire the near-infrared image sequence of the target according to the visual acquisition terminal; S4. Perform image preprocessing, encoding recognition, and feature point localization on the near-infrared image sequence in sequence to obtain the sub-pixel coordinates of the feature points, and calculate the displacement or attitude change of the structure under test based on the sub-pixel coordinates of the feature points.

[0010] Furthermore, in step S2, the threshold P of the effective imaging pixels for the minimum coded feature is pre-calibrated. min The steps include: By changing the distance between the calibration target and the vision acquisition terminal, or by replacing the calibration target with one having a different minimum physical feature size, the minimum coded feature can be imaged with multiple different imaging pixel widths p. For each imaging pixel width p, N frames of images are continuously acquired and the encoding recognition success rate R(p) and the root mean square error of feature point localization E(p) are calculated:

[0011]

[0012] Where, N c (p) represents the number of image frames that correctly completed identity decoding, m represents the number of feature points used for localization in each image frame, and q represents the number of feature points used for localization in each image frame. k,i (p) represents the detection coordinates of the i-th feature point in the k-th frame, q i ref Here are the corresponding reference coordinates, and N is the total number of sampling frames; The minimum imaging pixel width that simultaneously satisfies the conditions of an encoding and recognition success rate not lower than a preset value R0 and a feature point localization error not greater than a preset value E0 is determined as the critical pixel width p. c : The critical pixel width p cMultiply by the safety factor κ and round up to obtain the effective imaging pixel threshold for the minimum encoded feature:

[0013] Where ceil(·) is the floor function, R0 is the preset encoding recognition success rate, E0 is the preset upper limit of feature point localization error, and κ is a safety coefficient not less than 1.

[0014] Furthermore, the specific formula for calculating the minimum physical feature size of the target encoding pattern at the current observation point is as follows:

[0015] Among them, f e For the effective focal length, P min The effective imaging pixel threshold is L0, which is the reference measurement distance between the visual acquisition terminal and the observation point of the structure under test.

[0016] Furthermore, in step S2, the judgment rules for the field of view duty cycle constraint include: For the j-th target in the candidate target set, let its physical bounding width be B. x,j The physical external height is B. y,j Given that the effective imaging width of the visual acquisition camera is W and the effective imaging height is H, calculate: The expected image width and height are:

[0017]

[0018] The corresponding expected field of view duty cycle is:

[0019]

[0020] Targets that meet the condition that the expected field of view duty cycle is within the preset duty cycle range [ρmin, ρmax] are selected as candidate targets.

[0021] Furthermore, in step S4, calculating the displacement of the structure under test based on the sub-pixel coordinates of the feature points specifically includes: Based on the approximate relationship of perspective imaging, the average pixel coordinate change is converted into the physical displacements Δu and Δv of the structure under test in the horizontal and vertical directions: Based on the approximate relationship of perspective imaging, the average pixel coordinate change is converted into the physical displacements ΔX and ΔY of the structure under test in the horizontal and vertical directions:

[0022]

[0023] Among them, f x f is the equivalent focal length in the X direction of the image coordinate system. y y is the equivalent focal length in the y-direction of the image coordinate system.

[0024] Furthermore, in step S4, calculating the attitude change of the structure under test based on the sub-pixel coordinates specifically includes: By using the three-dimensional coordinates of no less than four non-collinear feature points on the same target in the target coordinate system and the two-dimensional sub-pixel coordinates in the image coordinate system, a PnP perspective model or a planar homography model is established. By minimizing the reprojection error of the feature points, the rotation matrix R of the target coordinate system relative to the camera coordinate system at the current moment is solved. t Translation vector t t ; Using the initial reference frame as a reference, calculate the relative rotation matrix R of the current frame relative to the initial frame. rel Translation vector t rel ; By R rel Extract Euler angles to obtain the tilt and torsion angles of the structure under test.

[0025] Furthermore, in step S4, image preprocessing includes one or more of image distortion correction, dark field correction, background subtraction, grayscale conversion, threshold segmentation, connected component filtering, morphological processing, and brightness normalization; the sub-pixel coordinates of the feature points are obtained by one or more of the following methods: grayscale centroid positioning, edge fitting, corner fitting, circle or ellipse fitting, template matching, or robust least squares fitting.

[0026] Furthermore, in step S4, the encoding recognition includes: decoding the candidate encoding region on the near-infrared self-illuminating encoding target to obtain the target ID; determining the target direction based on the direction discrimination feature region; performing sub-pixel positioning of the feature points in the positioning feature region; and marking the frame as an invalid frame and maintaining the displacement or attitude output of the previous valid frame when decoding fails or the number of feature points is insufficient.

[0027] Furthermore, in step S3, the near-infrared self-emissive coded target is driven by pulse modulation; the visual acquisition terminal performs synchronous exposure according to the frequency corresponding to the pulse modulation, and respectively acquires the lit-up frame image and the extinguished frame image of the near-infrared LED array, and obtains the differential image according to the following formula:

[0028] Among them, I on To illuminate the frame image, I off To turn off the frame image.

[0029] In a second aspect, embodiments of the present invention provide a structural displacement measurement system based on a near-infrared self-illuminating coded target, employing the method described in the first aspect, the system comprising: The connected visual acquisition terminal and displacement calculation host; The visual acquisition terminal includes an industrial camera, an optical lens, and a near-infrared narrowband filter, used to acquire near-infrared image sequences of the target structure under test and transmit the near-infrared image sequences to the displacement calculation host. The displacement calculation host includes a multi-size target component library and a calculation system. The multi-size target component library stores the identification code, external size, minimum coded feature size, and preset feature point coordinates of near-infrared self-illuminating coded targets of various specifications. The calculation system realizes feature point positioning and displacement or attitude calculation based on the information stored in the multi-size target component library and the near-infrared image sequence. The solution system specifically includes: a parameter acquisition module, used to acquire the measurement distance between the visual acquisition terminal and the observation point of the structure under test, as well as the camera's internal parameter matrix; The target specification selection module is used to calculate the minimum physical feature size of the target coding pattern at the current observation point based on the camera internal parameter matrix, the measurement distance, and the pre-calibrated minimum coding feature effective imaging pixel threshold, and to select a near-infrared self-illuminating coded target from the multi-size target component library based on the minimum physical feature size of the target coding pattern and the field of view duty cycle constraint. The image acquisition control module is used to control the vision acquisition terminal to continuously acquire near-infrared image sequences of selected targets fixed at the observation point of the structure under test; The image processing and recognition module is used to perform image preprocessing, encoding recognition and feature point localization on the near-infrared image sequence in sequence to obtain the sub-pixel coordinates of the feature points; The displacement and attitude calculation module is used to calculate the two-dimensional displacement or spatial attitude change of the structure under test based on the sub-pixel coordinates of the feature points. The displacement calculation host selects a target of appropriate specifications from the multi-size target component library based on the measurement distance and camera parameters. The vision acquisition terminal acquires near-infrared image sequences. The host identifies the target ID based on the encoding in the near-infrared image sequence, calls the corresponding identity code, feature point coordinates and other preset information in the component library, and finally uses the calculation system to calculate the displacement or attitude of the structure under test.

[0030] The beneficial effects of the above-described technical solutions provided in the embodiments of the present invention include at least the following: This invention effectively filters out visible light and stray near-infrared background radiation by precisely matching the center wavelength and bandwidth constraint of the near-infrared active luminescent target with the narrowband filter, significantly improving the image signal-to-noise ratio and recognition robustness of the target-encoded pattern, and ensuring stable imaging under complex lighting conditions.

[0031] Based on imaging geometry and a pre-calibrated minimum effective pixel threshold for encoded features, this invention establishes a size-adaptive selection strategy that simultaneously satisfies encoding resolution constraints and field-of-view duty cycle constraints. This ensures that the field of view is not exceeded at close range and that there are sufficient feature pixels at long range, thereby maintaining stable feature extraction and positioning accuracy across the entire measurement range.

[0032] The coding pattern of this invention integrates an identity coding area, a positioning reference area, and a direction discrimination area, supports parallel tracking of multiple targets within the same field of view, effectively eliminates decoding ambiguity caused by rotation, mirroring, and partial occlusion, fundamentally avoids measurement point confusion and trajectory crosstalk, and is suitable for large-scale structural monitoring networks.

[0033] This invention integrates subpixel positioning algorithms with camera calibration parameters to achieve high-precision two-dimensional planar displacement measurement. Simultaneously, based on the PnP perspective model or planar homography matrix decomposition, it synchronously solves the rotation matrix and translation vector of the target coordinate system relative to the camera, thereby obtaining multi-dimensional deformation information such as the tilt angle and torsion angle of the structure, meeting the requirements of comprehensive safety assessment.

[0034] The target adopts a multi-layer composite design, which has the characteristics of moisture-proof, dust-proof and salt spray-proof, and can adapt to harsh working conditions such as wind, rain, high humidity and temperature difference; the uniform light scattering layer ensures the uniformity of emitted light and improves the quality of the coded pattern.

[0035] This invention is applicable to non-contact displacement and attitude monitoring of large structures such as bridges, towers, offshore platforms, wind turbines, and port machinery. It is especially suitable for complex outdoor environments such as strong light, humidity, salt spray, and vibration, providing a highly reliable and low-maintenance visual measurement solution for structural health monitoring. Attached Figure Description

[0036] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.

[0037] Figure 1 This is a flowchart of a structural displacement measurement method based on a near-infrared self-luminous coded target provided in an embodiment of the present invention.

[0038] Figure 2This is a schematic diagram of a structural displacement measurement architecture based on a near-infrared self-luminous coded target provided in an embodiment of the present invention.

[0039] Figure 3 This is a schematic diagram of the multilayer composite structure of the near-infrared self-luminous coded target provided in an embodiment of the present invention.

[0040] Figure 4 This is a schematic diagram illustrating the target size matching principle at different measurement distances in the structural displacement measurement method based on near-infrared self-luminous coded targets provided in this embodiment of the invention. Detailed Implementation

[0041] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0042] Example 1: like Figure 1 As shown in the figure, this invention discloses a structural displacement measurement method based on a near-infrared self-illuminating coded target. First, the reference measurement distance L0 between the visual acquisition terminal and the observation point of the structure to be measured 1 is obtained, and then the camera's internal parameter matrix K is acquired. The camera's internal parameter matrix K includes at least the focal length f in the x-direction. x Focal length f in the y direction y and the principal point coordinates c x c y .

[0043] To select a target size suitable for the current measurement distance, a minimum effective imaging pixel threshold P for the coded features needs to be pre-determined. min Minimum coding feature effective imaging pixel threshold P min It is not an arbitrary empirical setting, but rather obtained through pre-calibration after the camera, lens, 850nm near-infrared narrowband filter, exposure and gain parameters, coding pattern, and image processing algorithm are determined. min This represents the minimum projection width of the minimum coded feature after image distortion correction; for circular aperture coded features, the area of ​​the segmented region A can be used. p The corresponding equivalent projected diameter p eq Indicates its pixel size:

[0044] During calibration, the minimum coded feature is imaged with multiple different imaging pixel widths p by changing the distance between the calibration target and the visual acquisition terminal, changing the lens focal length, or replacing the calibration target with one having a different minimum physical feature size. For each imaging pixel width p, N frames of images are continuously acquired; if the number of frames that correctly complete identity decoding is N... c (p), then the encoding recognition success rate is:

[0045] Let m be the number of feature points used for localization in each frame of the image, and q be the detection coordinates of the i-th feature point in the k-th frame. k,i (p), with the corresponding reference coordinate q i ref The reference coordinates can be obtained from high-resolution close-range images, known displacements of a precision displacement platform, or calibrated target poses. The root mean square error of feature point localization at the corresponding imaging pixel width p can be expressed as:

[0046] Where, N r (p) represents the number of image frames that correctly completed identity decoding, m represents the number of feature points used for localization in each image frame, and q represents the number of feature points used for localization in each image frame. k,i (p) represents the detection coordinates of the i-th feature point in the k-th frame, q i ref Here are the corresponding reference coordinates, and N is the total number of sampling frames; The minimum imaging pixel width that simultaneously satisfies the conditions of an encoding recognition success rate of not less than R0 and a feature point localization error of not greater than E0 is defined as the critical pixel width p. c :

[0047] Where p is the imaging pixel width, E(p) is the feature point localization error, R(p) is the encoding recognition success rate when the imaging pixel width is p, R0 is the preset encoding recognition success rate threshold, and E0 is the preset feature point localization error upper limit. To compensate for adverse factors such as on-site vibration, slight defocusing, target tilt, salt spray or dust attenuation, changes in environmental background, and local occlusion, the critical pixel width p can be adjusted. c Multiply by the safety factor κ and round up to obtain the minimum effective imaging pixel threshold P for the encoded feature. min :

[0048] Where ceil(·) is the floor function, and κ is a safety factor not less than 1. It is used to compensate for recognition margins caused by on-site vibration, slight defocusing, target tilt, changes in environmental background, and partial occlusion. When the camera, lens, filter, exposure mode, encoding pattern, or image processing algorithm changes, the pre-calibration process is re-executed. E0 can be determined based on the system's allowable physical displacement error δ. X δ Y and the maximum design measurement distance L max Determining by working backwards, for example, satisfying:

[0049] When the industrial camera 4, optical lens, 850 nm near-infrared narrowband filter 3, exposure or gain settings, encoding pattern form, feature point localization algorithm, or encoding recognition algorithm change, the above pre-calibration process is re-executed. In one embodiment, P obtained through the above pre-calibration min It can be in the range of 8 to 15 pixels, but its final value is subject to the calibration result.

[0050] In obtaining P min Then, based on the reference measurement distance L0, camera focal length parameters, and P... min Calculate the minimum physical feature size requirement s of the target coding pattern corresponding to the current observation point. req .

[0051] Let f e The equivalent focal length f in the X direction of the image coordinate system. x The equivalent focal length f in the y-direction of the image coordinate system y Given a specific effective focal length:

[0052] Among them, f e To determine the effective focal length, we can choose f. x f y The smaller value in the formula, or the corresponding focal length based on the actual imaging direction. P min For the effective imaging pixel threshold, L0 is the reference measurement distance between the vision acquisition terminal and the observation point of the structure under test 1. Each target in the multi-size target component library has a known minimum physical feature size s. j and external dimension B j Prioritize selecting those that satisfy s. j ≥s req Furthermore, the target specifications are expected to be within the preset range of field of view duty cycle to avoid insufficient feature pixels at long distances and targets exceeding the field of view at close distances.

[0053] To prevent targets from exceeding the field of view or occupying an excessively large image area at close range, a field of view duty cycle constraint is applied to candidate targets, i.e., a constraint on the proportion of the target's imaging area to the camera's field of view. Let the physical bounding width and height of the j-th target be B, respectively. x,j and B y,j If the effective imaging width and height of the camera are W and H respectively, then the expected imaging width and height are:

[0054]

[0055] The corresponding expected field of view duty cycle is:

[0056]

[0057] Let the preset duty cycle interval be [ρmin, ρmax]. Then the set of candidate targets that simultaneously satisfy the coding resolution constraint and the field of view duty cycle constraint can be represented as:

[0058] When it is necessary to prioritize reducing the physical size of the target, the target with the smallest circumscribed size can be selected from the candidate set:

[0059] Target specifications with better overall performance can also be selected from the candidate set based on pre-calibrated positioning error, image signal-to-noise ratio, or installation space limitations.

[0060] After selecting the target, it is fixed at the observation point of the structure to be tested 1. The light emitted by the near-infrared LED array inside the target is homogenized by the uniform light scattering layer 23 and then passes through the coding mask layer 22 to form a near-infrared coded pattern carrying identification code, positioning features, and direction discrimination features. The transmission band of the near-infrared narrowband filter 3 in the visual acquisition terminal matches the LED emission band, thereby improving the contrast of the target pattern relative to the background.

[0061] After continuously acquiring near-infrared image sequences of the target, the visual acquisition terminal performs image distortion correction, dark field correction, grayscale conversion, threshold segmentation, connected component filtering, morphological processing, encoding recognition, and sub-pixel feature point localization on the image sequences to obtain the feature point coordinates of the same target in the current frame and the initial reference frame. Sub-pixel feature point localization includes one or more of the following: grayscale centroid localization, edge fitting, corner fitting, circle or ellipse fitting, template matching, or robust least squares fitting.

[0062] Let the pixel coordinates of the i-th feature point in the initial reference frame be (u i,0 v i,0The pixel coordinates of the corresponding feature point in the current frame are (u i,t v i,t Then, the average pixel coordinate change can be calculated using the following formula:

[0063]

[0064] When the angle between the target encoding surface and the camera optical axis is small and the distance change along the optical axis is relatively small, the pixel coordinate change can be converted into the physical displacement of the structure in the X and Y directions based on the perspective imaging approximation relationship:

[0065]

[0066] Among them, f x f is the equivalent focal length in the X direction of the image coordinate system. y y is the equivalent focal length in the y-direction of the image coordinate system.

[0067] When there is a significant tilt between the industrial camera 4 and the near-infrared self-illuminating coded target 2, the target undergoes spatial rotation, or a higher precision spatial pose is required, a PnP perspective model or a planar homography model is established using no fewer than four non-collinear feature points on the same target. Let Q be the three-dimensional coordinates of the i-th feature point in the target coordinate system. i =(X i Y i Z i ) T The image coordinates are q i =(u i v i ) T Then the camera imaging relationship can be expressed as:

[0068] Where, λ i R is the scaling factor, K is the camera intrinsic parameter matrix, and R is the scaling factor. t Let t be the rotation matrix of the target coordinate system relative to the camera coordinate system at the current moment. t Let be the corresponding translation vector, and π(·) be the projection function from the 3D point to the image plane. R t and t t It can be obtained by minimizing the reprojection error of each feature point:

[0069] Construct the homogeneous pose transformation matrices for the current time step and the initial reference time step, respectively:

[0070]

[0071] The relative pose transformation matrix at the current moment relative to the initial reference state is:

[0072] Among them, t rel R represents the spatial translation relative to the initial state. rel Represents the relative rotation matrix. When using the ZYX Euler angle definition and not in a singular orientation, it can be derived from R. rel =[r ab Extract the rotation angles φ, θ, and ψ about the X, Y, and Z axes:

[0073]

[0074]

[0075] The tilt angle and twist angle can be selected from φ, θ, and ψ, or obtained through coordinate transformation, based on the target installation direction and the calibration relationship between the structural coordinate system and the camera coordinate system. For planar targets, the planar homography matrix can be estimated first, and then the rotation matrix and translation vector can be obtained by combining the camera's intrinsic parameter decomposition.

[0076] The structural displacement measurement method based on near-infrared self-emissive coded target 2 of the present invention will be further illustrated by an example below: I. Spectral Matching Imaging: like Figure 2 As shown, the structural displacement measurement in this embodiment includes a near-infrared self-emissive coded target 2, a near-infrared narrowband filter 3, an industrial camera 4, and a displacement calculation host. The industrial camera 4 and the optical lens are set at a stable reference position, and the near-infrared narrowband filter 3 is installed at the front end of the lens, the rear end of the lens, or other positions in the camera's optical path.

[0077] A near-infrared self-emissive coded target 2 is fixed at the observation point of the structure under test 1. This embodiment uses a near-infrared LED array with an emission peak wavelength of 850nm. The center transmission wavelength of the near-infrared narrowband filter 3 matches the 850nm emission band, and the deviation between its center transmission wavelength and the LED emission peak wavelength does not exceed 15nm. Through this spectral matching design, the visual acquisition terminal mainly receives the 850nm near-infrared coded light emitted by the target itself, thereby reducing the impact of visible light background changes, light interference, or reflective background on target recognition.

[0078] In one specific embodiment, the nominal center transmission wavelength of the near-infrared narrowband filter 3 is 850nm, and the full width at half maximum (FWHM) is 10nm to 40nm; the industrial camera 4 employs a photosensitive device capable of responding to the 850nm band. In actual use, the LED driving current, camera exposure time, and gain can be adjusted according to the measurement distance, the ambient background near-infrared radiation intensity, and the target imaging brightness.

[0079] In one optional embodiment, the near-infrared LED array is driven by a constant current to maintain stable target brightness. In another optional embodiment, the near-infrared LED array is driven by pulse modulation, and the visual acquisition terminal performs synchronous exposure according to the corresponding frequency, or separately acquires LED lighting frames I. on LED off frame I off And obtain the difference image using the following formula:

[0080] By using the differential image to perform coded region segmentation and feature point localization, near-infrared radiation from static backgrounds and slowly changing ambient stray light can be further suppressed.

[0081] II. Near-infrared self-luminous coded target structure: like Figure 3 As shown, the near-infrared self-luminous coded target 2 adopts a multi-layer composite structure, which includes, from the bottom to the outer surface, a mounting base layer 25, a near-infrared LED array layer 24, a uniform light scattering layer 23, a coding mask layer 22, and a light-transmitting protective layer 21. The coding mask layer 22 is provided with hollow holes or light-transmitting windows to form a coding feature pattern.

[0082] When multiple near-infrared self-luminous coded targets 2 appear simultaneously in the same image field of view, a tracking trajectory is established according to the identity code of each target, and the displacement time series, attitude time series, identification confidence and abnormal occlusion status of the corresponding observation point are output for each target.

[0083] The mounting base layer 25 can be selected from magnetic adsorption base plates, bolted base plates, adhesive base plates, or clamping base plates, depending on the material of the structure to be tested 1 and the on-site installation conditions.

[0084] The near-infrared LED array layer 24 includes a near-infrared LED array formed by multiple near-infrared LED beads and its driving circuit. The near-infrared LED array is driven by constant current, pulse width modulation dimming, or pulse modulation. When pulse modulation is used, the visual acquisition terminal performs synchronous exposure according to the pulse modulation frequency, or separately acquires the near-infrared LED array's lit and extinguished frames and performs inter-frame difference to suppress the influence of background near-infrared light and ambient stray light on the encoding and recognition.

[0085] The uniform light scattering layer 23 is used to homogenize the point light source of the near-infrared LED lamp beads into a surface light source, so as to reduce the impact of local overexposure or uneven brightness on the encoding and recognition.

[0086] The coded mask layer 22 is an opaque sheet or opaque composite layer with a hollowed-out coded topological pattern formed on it. The light-transmitting protective layer 21 is a sealed protective layer that can transmit near-infrared wavelengths, used to prevent water vapor, salt spray or dust from entering the target.

[0087] The coding mask layer 22 is preferably made of a metal plate, ceramic plate, alumina plate, opaque coated plate, or composite light-shielding plate, and can form a coding feature pattern by opening holes, opening windows, etching, laser cutting, printing light-shielding, or applying light-shielding film. The specific pattern is formed by hollow holes, hollow windows, light-transmitting areas, or light-shielding areas on the coding mask layer 22; the shape of the hollow holes or hollow windows is circular, square, rectangular, triangular, or a combination thereof, and at least some feature points have pre-calibrated two-dimensional or three-dimensional coordinates in the target coordinate system. The coding feature pattern includes an identity coding area, a positioning feature area, and a direction discrimination feature area; the identity coding area is used to distinguish different targets within the same field of view, the positioning feature area provides feature points for two-dimensional displacement calculation and spatial pose calculation, and the direction discrimination feature area is used to eliminate coding ambiguities caused by target rotation, mirroring, or partial occlusion.

[0088] The coding mask layer 22 can be made of metal plate and the coding holes are formed by laser cutting or etching. The above materials and processing methods can be selected according to the target size, hole accuracy, weather resistance and installation environment.

[0089] III. Minimum effective imaging pixel threshold calibration and distance-adaptive target specification selection: like Figure 4 As shown, the visual acquisition terminal is located at a stable reference position, and includes a camera image sensor chip 5 and a lens optical center 6; multi-size targets 7 are set at the observation point of the structure under test 1 and are located within the field of view of the visual acquisition terminal. In visual measurement, the imaging size of a target of the same physical size in the image decreases as the measurement distance increases. To ensure that the encoded features have a sufficient number of pixels at different measurement distances, this embodiment sets up a multi-size target component library. This component library contains multiple 850nm near-infrared self-emissive encoded targets 2 of various physical specifications, and the minimum physical feature size s of each target is... j Physical external width B x,j Physical external height B y,j The identity code and location feature coordinates are all pre-recorded in the displacement calculation host.

[0090] Before on-site installation, the same industrial camera (4), lens, 850nm near-infrared narrowband filter (3), exposure parameters, gain parameters, and image processing algorithm as those used in actual monitoring were first applied to P.min Pre-calibration is performed. By changing the calibration distance or the minimum physical feature size of the calibration target, the minimum coded feature is imaged sequentially at multiple pixel widths p. For each pixel width, N frames of images are acquired, and the coding recognition success rate R(p) and feature point localization error E(p) are calculated. The minimum p that satisfies R(p) not less than R0 and E(p) not greater than E0 is determined as p. c Then, the safety factor κ is used and the final threshold is determined by rounding up. For circular aperture coding units, the equivalent diameter of the segmented region after image distortion correction is used as p; for rectangular apertures, the projection width of the shorter side is used as p; for irregular coding features, the minimum Freette diameter or the narrowest effective size is used as p.

[0091]

[0092]

[0093]

[0094] In one embodiment, P obtained through the above calibration min The value can be from 8 to 15 pixels. This range is only a preferred example and does not constitute a limitation on the scope of protection; the actual value is determined by the camera resolution, lens imaging quality, 850nm spectral response, coded aperture shape, exposure method, and image processing algorithm used.

[0095] Subsequently, the reference measurement distance L0 between the visual acquisition terminal and the observation point of the structure under test 1 is measured, and the camera's internal parameter matrix K is read. The reference measurement distance L0 is obtained through one or more of the following methods: laser ranging, binocular ranging, total station ranging, structural installation geometric calibration, or perspective pose estimation based on the initial target image. During monitoring, when the current measurement distance L0 is obtained... t At that time, based on the current measured distance L t The distance L0 is used as a substitute benchmark for displacement conversion or scale correction.

[0096] Effective focal length f e f can be taken x and f y The smaller value in the range is used to ensure that the selected target meets the minimum pixel requirement in both image directions. The minimum physical feature size requirement at the current distance is:

[0097] For the j-th target in the component library, if s j Less than s req If it satisfies s, then exclude it; for j Not less than s reqThe target is then evaluated based on the expected imaging width, height, and duty cycle, and a field of view constraint is determined. Targets that satisfy both types of constraints form a candidate set C, with priority given to those with smaller circumscribed dimensions or those with smaller expected positioning errors after pre-calibration.

[0098]

[0099]

[0100]

[0101]

[0102]

[0103] IV. Encoding and Recognition, Displacement Calculation, and Attitude Calculation: First, the visual acquisition terminal continuously acquires near-infrared image sequences. Then, image distortion correction is performed on the acquired images, followed by dark field correction, grayscale conversion, threshold segmentation, connected component filtering, and morphological processing to extract candidate coding regions.

[0104] For each candidate encoding region, the target ID is obtained based on the identity encoding region, and the target orientation is determined based on the direction discrimination feature region. Subsequently, preset feature points in the localization feature region are extracted, and sub-pixel coordinates are obtained through gray-level centroid, edge fitting, corner fitting, and circle or ellipse fitting.

[0105] Using the image in its initial static state as the reference frame, the pixel coordinates of each localization feature point of the same target are recorded. For any measurement time, the average pixel coordinate change is calculated based on the feature point coordinates of the current frame and the reference frame for the same target.

[0106]

[0107] When the camera is approximately directly facing the near-infrared self-illuminating coded target 2, and the change in the orientation of the target's coded surface is within a preset range and the change in distance along the optical axis is relatively small, the displacement of the structure under test 1 in the horizontal and vertical directions is output according to the following formula:

[0108]

[0109] When the visual acquisition terminal is not perfectly aligned with the target, the target is tilted, or spatial pose needs to be output, the displacement calculation host matches the known 3D feature point coordinates in the target coordinate system with the 2D feature point coordinates in the image coordinate system, and establishes a PnP model using the following perspective projection relationship:

[0110] The rotation matrix R at the current moment is solved by minimizing the reprojection error. t Translation vector t t :

[0111] Construct a homogeneous transformation matrix from the current pose and the initial pose, and calculate the relative pose:

[0112]

[0113]

[0114] By t rel Obtain the spatial translation relative to the initial state, and use R rel Extract Euler angles or axial angle parameters to obtain the tilt and torsion angles of the structure. For planar targets, planar homography matrix decomposition can be used as an alternative or initial value for PnP solution.

[0115] V. Simultaneous monitoring at multiple measurement points: When multiple near-infrared self-illuminating coded targets are deployed on a large structure, each target can have a different identity code. The visual acquisition terminal acquires images of multiple targets within the same field of view, binds each target to a corresponding observation point according to its identity code, and outputs the displacement and attitude changes of each observation point.

[0116] In one implementation, the displacement calculation host establishes a correspondence table between target ID, target specifications, installation location, observation point name, and initial reference frame. During subsequent monitoring, even if multiple targets appear simultaneously in the image, they can be addressed based on their IDs, reducing the risk of trajectory confusion among multiple measurement points. The number of targets can be determined based on encoding capacity, camera field of view, minimum target imaging pixels, and real-time processing capabilities.

[0117] VI. On-site measurement process: (1) Complete the calibration of the industrial camera 4 and lens, and obtain the camera's internal parameter matrix K and distortion parameters; using the same 850nm near-infrared narrowband filter 3, exposure parameters and image processing algorithm as on-site, calibrate the minimum coding feature effective imaging pixel threshold P. min The above parameters are then written into the displacement calculation host.

[0118] (2) Measure the reference measurement distance L0 from the visual acquisition terminal to the observation point of the structure to be measured 1. Based on the minimum physical feature size constraint and the field of view duty cycle constraint, select an 850nm near-infrared self-luminous coded target 2 of appropriate specifications from the multi-size target component library.

[0119] (3) Fix the selected target at the observation point of the structure to be tested 1, make the target coding surface face the visual acquisition terminal, and turn on the near-infrared LED array.

[0120] (4) Adjust the camera exposure, gain and lens focal length to make the target coding pattern clear and capture the initial reference frame.

[0121] (5) During the monitoring process, near-infrared image sequences are continuously acquired, and encoding recognition, feature point sub-pixel localization, displacement calculation and attitude calculation are performed in real time.

[0122] (6) Output and store the displacement time series, attitude time series, identification confidence, and target occlusion or identification abnormal state of each observation point.

[0123] Example 2: Based on the same inventive concept, this invention also provides a structural displacement measurement system based on a near-infrared self-illuminating coded target, the system comprising: a visual acquisition terminal and a displacement calculation host connected together; The visual acquisition terminal includes an industrial camera 4, an optical lens and a near-infrared narrowband filter 3, used to acquire near-infrared image sequences of the target structure under test and transmit the near-infrared image sequences to the displacement calculation host. The displacement calculation host includes a multi-size target component library and a calculation system. The multi-size target component library is used to store the identification code, external size, minimum coding feature size and preset feature point coordinates of near-infrared self-illuminating coded targets 2 of various specifications. The calculation system realizes feature point positioning and displacement or attitude calculation based on the information stored in the multi-size target component library and the near-infrared image sequence. The solution system specifically includes: a parameter acquisition module, used to acquire the measurement distance between the visual acquisition terminal and the observation point of the structure under test, as well as the camera's internal parameter matrix; The target specification selection module is used to calculate the minimum physical feature size of the target coding pattern at the current observation point based on the camera internal parameter matrix, the measurement distance, and the pre-calibrated minimum coding feature effective imaging pixel threshold, and to select a near-infrared self-illuminating coded target 2 from the multi-size target component library based on the minimum physical feature size of the target coding pattern and the field of view duty cycle constraint. The image acquisition control module is used to control the visual acquisition terminal to continuously acquire near-infrared image sequences of selected targets fixed at the observation point of the structure under test 1; The image processing and recognition module is used to perform image preprocessing, encoding recognition and feature point localization on the near-infrared image sequence in sequence to obtain the sub-pixel coordinates of the feature points; The displacement and attitude calculation module is used to calculate the two-dimensional displacement or spatial attitude change of the structure under test 1 based on the sub-pixel coordinates of the feature points. The displacement calculation host selects a target of appropriate specifications from the multi-size target component library based on the measurement distance and camera parameters. The vision acquisition terminal acquires near-infrared image sequences. The host identifies the target ID based on the encoding in the near-infrared image sequence, calls the corresponding identity code, feature point coordinates and other preset information in the component library, and finally uses the calculation system to calculate the displacement or attitude of the structure under test.

[0124] Since these systems and the principles underlying the problems they solve are similar to the aforementioned structural displacement measurement method based on near-infrared self-luminous coded targets, the implementation of this system can refer to the implementation of the aforementioned method, and the repetitions will not be repeated.

[0125] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the systems disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the descriptions are relatively simple; relevant parts can be referred to the method section.

[0126] The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for measuring structural displacement based on a near-infrared self-illuminating coded target, characterized in that, Includes the following steps: S1. Obtain the measurement distance between the visual acquisition terminal and the observation point of the structure under test, as well as the internal parameter matrix of the camera; S2. Based on the camera internal parameter matrix, the measurement distance, and the pre-calibrated minimum coding feature effective imaging pixel threshold, calculate the minimum physical feature size of the target coding pattern at the current observation point, and select a near-infrared self-illuminating coding target based on the minimum physical feature size of the target coding pattern and the field of view duty cycle constraint. S3. Fix the selected near-infrared self-luminous coded target to the observation point of the structure to be tested, and continuously acquire the near-infrared image sequence of the target according to the visual acquisition terminal; S4. Perform image preprocessing, encoding recognition, and feature point localization on the near-infrared image sequence in sequence to obtain the sub-pixel coordinates of the feature points, and calculate the displacement or attitude change of the structure under test based on the sub-pixel coordinates of the feature points.

2. The method as described in claim 1, characterized in that, In step S2, the threshold P for effective imaging pixels with minimum coding features is pre-calibrated. min The steps include: By changing the distance between the calibration target and the vision acquisition terminal, or by replacing the calibration target with one having a different minimum physical feature size, the minimum coded feature can be imaged with multiple different imaging pixel widths p. For each imaging pixel width p, N frames of images are continuously acquired and the encoding recognition success rate R(p) and the root mean square error of feature point localization E(p) are calculated: Where, N c (p) represents the number of image frames that correctly completed identity decoding, m represents the number of feature points used for localization in each image frame, and q k,i (p) represents the detection coordinates of the i-th feature point in the k-th frame, q i ref Here are the corresponding reference coordinates, and N is the total number of sampling frames; The minimum imaging pixel width that simultaneously satisfies the conditions of an encoding and recognition success rate not lower than a preset value R0 and a feature point localization error not greater than a preset value E0 is determined as the critical pixel width p. c : The critical pixel width p c Multiply by the safety factor κ and round up to obtain the effective imaging pixel threshold for the minimum encoded feature: Where ceil(·) is the floor function, R0 is the preset encoding recognition success rate, E0 is the preset upper limit of feature point localization error, and κ is a safety coefficient not less than 1.

3. The method as described in claim 1, characterized in that, The specific formula for calculating the minimum physical feature size of the target encoding pattern at the current observation point is as follows: Among them, f e For the effective focal length, P min The effective imaging pixel threshold is L0, which is the reference measurement distance between the visual acquisition terminal and the observation point of the structure under test.

4. The method as described in claim 1, characterized in that, In step S2, the rules for determining the field of view duty cycle constraint include: For the j-th target in the candidate target set, let its physical bounding width be B. x,j The physical external height is B. y,j Given that the effective imaging width of the visual acquisition camera is W and the effective imaging height is H, calculate: The expected image width and height are: The corresponding expected field of view duty cycle is: Targets that meet the condition that the expected field of view duty cycle is within the preset duty cycle range [ρmin, ρmax] are selected as candidate targets.

5. The method as described in claim 1, characterized in that, In step S4, the displacement of the structure under test is calculated based on the sub-pixel coordinates of the feature points, specifically including: Based on the perspective imaging approximation relationship, the average pixel coordinate change is converted into the physical displacements Δu and Δv of the structure under test in the horizontal and vertical directions: Based on the approximate relationship of perspective imaging, the average pixel coordinate change is converted into the physical displacements ΔX and ΔY of the structure under test in the horizontal and vertical directions: Among them, f x f is the equivalent focal length in the X direction of the image coordinate system. y y is the equivalent focal length in the y-direction of the image coordinate system.

6. The method as described in claim 1, characterized in that, In step S4, calculating the attitude change of the structure under test based on the sub-pixel coordinates specifically includes: By using the three-dimensional coordinates of no less than four non-collinear feature points on the same target in the target coordinate system and the two-dimensional sub-pixel coordinates in the image coordinate system, a PnP perspective model or a planar homography model is established. By minimizing the reprojection error of the feature points, the rotation matrix R of the target coordinate system relative to the camera coordinate system at the current moment is solved. t Translation vector t t ; Using the initial reference frame as a reference, calculate the relative rotation matrix R of the current frame relative to the initial frame. rel Translation vector t rel ; By R rel Extract Euler angles to obtain the tilt and torsion angles of the structure under test.

7. The method as described in claim 1, characterized in that, In step S4, image preprocessing includes one or more of the following: image distortion correction, dark field correction, background subtraction, grayscale conversion, threshold segmentation, connected component filtering, morphological processing, and brightness normalization; the sub-pixel coordinates of the feature points are obtained by one or more of the following methods: grayscale centroid positioning, edge fitting, corner fitting, circle or ellipse fitting, template matching, or robust least squares fitting.

8. The method as described in claim 1, characterized in that, In step S4, the encoding recognition includes: decoding the candidate encoding region on the near-infrared self-illuminating encoding target to obtain the target ID; determining the target direction based on the direction discrimination feature region; performing sub-pixel positioning of the feature points in the positioning feature region; and marking the frame as an invalid frame and maintaining the displacement or attitude output of the previous valid frame when decoding fails or the number of feature points is insufficient.

9. The method as described in claim 1, characterized in that, In step S3, the near-infrared self-emissive coded target is driven by pulse modulation; the visual acquisition terminal performs synchronous exposure according to the frequency corresponding to the pulse modulation, and acquires the lit frame image and the extinguished frame image of the near-infrared LED array respectively, and obtains the differential image according to the following formula: Among them, I on To illuminate the frame image, I off To turn off the frame image.

10. A structural displacement measurement system based on a near-infrared self-illuminating coded target, characterized in that, include: The connected visual acquisition terminal and displacement calculation host; The visual acquisition terminal includes an industrial camera, an optical lens, and a near-infrared narrowband filter, used to acquire near-infrared image sequences of the target structure under test and transmit the near-infrared image sequences to the displacement calculation host. The displacement calculation host includes a multi-size target component library and a calculation system. The multi-size target component library stores the identification code, external size, minimum coded feature size, and preset feature point coordinates of near-infrared self-illuminating coded targets of various specifications. The calculation system realizes feature point positioning and displacement or attitude calculation based on the information stored in the multi-size target component library and the near-infrared image sequence. The solution system specifically includes: a parameter acquisition module, used to acquire the measurement distance between the visual acquisition terminal and the observation point of the structure under test, as well as the camera's internal parameter matrix; The target specification selection module is used to calculate the minimum physical feature size of the target coding pattern at the current observation point based on the camera internal parameter matrix, the measurement distance, and the pre-calibrated minimum coding feature effective imaging pixel threshold, and to select a near-infrared self-illuminating coded target from the multi-size target component library based on the minimum physical feature size of the target coding pattern and the field of view duty cycle constraint. The image acquisition control module is used to control the vision acquisition terminal to continuously acquire near-infrared image sequences of selected targets fixed at the observation point of the structure under test; The image processing and recognition module is used to perform image preprocessing, encoding recognition and feature point localization on the near-infrared image sequence in sequence to obtain the sub-pixel coordinates of the feature points; The displacement and attitude calculation module is used to calculate the two-dimensional displacement or spatial attitude change of the structure under test based on the sub-pixel coordinates of the feature points. The displacement calculation host selects a target of appropriate specifications from the multi-size target component library based on the measurement distance and camera parameters. The vision acquisition terminal acquires near-infrared image sequences. The host identifies the target ID based on the encoding in the near-infrared image sequence, calls the corresponding identity code, feature point coordinates and other preset information in the component library, and finally uses the calculation system to calculate the displacement or attitude of the structure under test.