Moire-based pose estimation system and method suitable for generalization perspective angle
Through the moiré hybrid feature separation and generalization representation module, combined with the PnP pose estimation algorithm, the problems of generalization and device complexity in the existing technology are solved, high-precision and generalized pose estimation is achieved, and simplified Equipment requirements.
Patent Information
- Application Number
- CN202410713411.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-04
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-06-04
AI Technical Summary
Existing moiré pattern pose estimation technology lacks universality under generalized perspective, is difficult to effectively handle irregular moiré pattern features, and requires complex customized equipment, which limits its application scope.
The moiré pattern hybrid feature separation module, the generalized moiré pattern feature representation module and the fine-grained feature point reconstruction module are used to separate the moiré pattern features through quadrilateral detection, 2D FFT, Gabor filter and relaxed label iteration method, and use the periodic contour function and The bending function represents the moiré feature under a generalized perspective, and combined with the PnP pose estimation algorithm, sub-pixel level feature point reconstruction and pose estimation are achieved.
It achieves high-precision pose estimation at any perspective, improves the accuracy and generalization of six-degree-of-freedom pose estimation, simplifies equipment requirements, and reduces deployment complexity.
Smart Images

Figure CN118736002A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of posture estimation, and in particular relates to a posture estimation system and method based on moiré patterns and suitable for generalizing perspective angles. Background Art
[0002] Ultra-high-precision motion perception using computer vision is a key technology for many high-precision AR / VR applications, such as precision industrial manufacturing and medical image-guided surgery. In recent years, moiré has become a new technology for achieving ultra-high-precision motion posture perception based on its high sensitivity to six-degree-of-freedom (6-DoF) posture changes. However, moiré-based perception technology is still in its infancy. Existing technologies can only process regular moiré features and lack a universal and generalized moiré posture estimation method.
[0003] Existing moiré pose estimation technologies mainly include customized moiré solutions and color filter array (CFA)-based solutions:
[0004] The basic idea of the customized moiré scheme is to design a double-layer device to generate artificial moiré patterns. In order to make the moiré generated by the superposition of double-layer grids change with the change of camera position and posture, the existing customized moiré scheme usually uses a double-layer device to ensure that there is a certain spacing between the two layers of grids. In this way, according to the camera imaging principle, when the camera moves a fixed distance, the two layers of grids move different distances on the camera imaging plane due to the different distances between them and the optical center of the camera, that is, the two layers of grids produce relative movement, thereby causing the moiré image to change and further estimating the change of camera posture based on the changing moiré features. However, the existing double-layer devices mainly include the following types: periodic lens superimposed printed grids, 3D printed hollow grids superimposed electronic screen grids, and grids printed on both sides of a transparent wafer with a certain thickness. These methods require complex double-layer customized equipment, which is difficult to deploy and apply conveniently and widely.
[0005] The CFA-based solution uses the CFA embedded in the camera lens as one of the layers in the double-layer grid required to generate the moiré pattern. However, the existing CFA-based posture perception solutions are limited to specific camera-screen interaction scenarios, and the CFA plane needs to be as parallel as possible to the interactive screen to ensure the effectiveness of the moiré feature, that is, the moiré pattern presents a periodic regular grid. When there is a large perspective angle between the camera and the screen being photographed, the moiré bends and deforms, and this type of method cannot effectively extract the moiré features and perform posture estimation. Summary of the invention
[0006] In view of the above-mentioned deficiencies in the prior art, the object of the present invention is to provide a moiré-based pose estimation system and method suitable for generalized perspective angles, so as to solve the problems of weak generalization and insufficient usability of existing pose estimation methods.
[0007] To achieve the above object, the technical solution adopted by the present invention is as follows:
[0008] The present invention discloses a moiré-based pose estimation system for generalized perspective angles, which is applied to a camera device in a pose detection scene based on camera-captured visual markers, and includes: a moiré mixed feature separation module, a generalized moiré feature representation module, and a fine-grained feature point reconstruction module:
[0009] A moiré mixed feature separation module is used to extract and separate features from a mixed moiré image obtained when a camera captures a visual marker;
[0010] A generalized moiré feature representation module is used to provide feature representation for moiré after feature separation at any perspective angle, including periodic contour function and curvature function, so as to effectively characterize the moiré features at generalized perspective angles;
[0011] The fine-grained feature point reconstruction module is used to perform super-resolution reconstruction of visual markers and extract sub-pixel feature points. The sub-pixel feature points of the visual markers reconstructed in each frame of the image are used as the input of the PnP pose estimation algorithm to calculate the six-degree-of-freedom pose of the camera relative to the visual marker.
[0012] Furthermore, the camera device includes: a camera module with image acquisition and data transmission functions and a mobile device with the camera module.
[0013] Furthermore, the visual marker is used to generate moiré patterns in the visual marker area in the image when the camera captures the visual marker; the visual marker is a two-dimensional plane marker composed of one or more groups of periodic stripes with different directions, including a two-dimensional plane marker composed of two groups of periodic stripes with orthogonal directions; wherein each group of periodic stripes is composed of alternating linear stripes of two high-contrast colors, including black and white linear stripes composed of black and white, and a pair of black and white stripes constitutes one period of the visual marker; the size and period of the visual marker are set according to the interaction distance requirements of different applications.
[0014] Furthermore, the mixed moiré image refers to a moiré image in which two groups of periodic stripes overlap each other, wherein each group of periodic stripes is straight or curved.
[0015] Furthermore, the feature extraction in the moiré mixed feature separation module specifically includes:
[0016] The quadrilateral detection algorithm is used to extract the original region of interest where the moiré pattern is located for each frame of the image, and the coordinates of the four vertices of the quadrilateral are recorded;
[0017] A regular rectangle is extracted inside the quadrilateral as the final moiré target area, and a color channel with the strongest moiré fringe contrast is selected to obtain a grayscale image of the moiré target area, which contains two mixed groups of moiré fringe.
[0018] Furthermore, the feature separation in the moiré mixed feature separation module specifically includes:
[0019] Divide the grayscale image of the moiré target area into M×N blocks, and perform a 2D FFT operation on each block to obtain the corresponding spectrum map;
[0020] Extract two sets of frequency vectors from the spectrum graph, including the modulus and direction of the frequency vectors; wherein the two sets of frequency vectors respectively represent the frequency characteristics of the two sets of moiré patterns mixed in the block; the modulus of the frequency vector represents the magnitude of the spatial frequency of the moiré pattern; and the direction of the frequency vector represents the direction of the spatial frequency of the moiré pattern;
[0021] A Gabor filter is constructed according to the magnitude and direction of the extracted frequency vector, two different Gabor filters are constructed for the two sets of frequency vectors extracted from each block, and each block is filtered by the two constructed Gabor filters to obtain two sets of filtered stripes;
[0022] The two groups of filtered fringes obtained from each block are classified using an iterative method based on relaxed labeling, and the two groups of moiré fringes contained in the grayscale image of the moiré target area are separated into two images, each containing only one group of moiré fringes.
[0023] Furthermore, the generalized moiré feature representation module provides a feature representation for the moiré after feature separation at any perspective angle, which means that the moiré with any curved shape is represented by a periodic profile function p m (x′) and the bending function g m The moiré m(x, y) is represented by a composite form of (x, y), where (x, y) represents the pixel coordinates of the image:
[0024] m(x, y) = p m (g m (x, y)).
[0025] Furthermore, the periodic profile function p m The calculation method of (x′) is:
[0026]
[0027] Furthermore, the bending function g m The calculation process of (x, y) includes:
[0028] Perform Hilbert transform on each row m(t) or column m(t) of each group of moiré images after separation to obtain an analytical signal H(m)(t);
[0029] Extract the instantaneous angle of the analytic signal H(m)(t), thereby obtaining the phase information of each row m(t) or column m(t);
[0030] splicing the phase information of all rows or columns of the moiré image, and performing an unwrapping operation on the obtained phase image to eliminate discontinuous 2π jumps in the phase image, thereby obtaining a continuous phase information image;
[0031] The continuous phase information image is divided by 2π as a whole to obtain the bending function g m (x, y).
[0032] Furthermore, the process of extracting sub-pixel feature points in the fine-grained feature point reconstruction module includes:
[0033] According to the bending function g of the moiré m (x, y) and the warping function g of the camera color filter array (CFA) c (x, y) Calculate the curvature function g of the visual marker projected on the camera filter array plane p (x, y), calculated as follows:
[0034] g p (x, y) = g c (x, y)-g m (x, y)
[0035] Among them, the bending function g of the two-dimensional stripes (horizontal stripes and vertical stripes) of the color filter array is c (x, y) represent g respectively c (x, y) = y and g c (x, y) = x;
[0036] The curvature function g for the visual marker p (x, y) is bilinearly upsampled to obtain a new bending function g′ p (x, y), thereby improving the bending function from pixel-level resolution to sub-pixel resolution;
[0037] For the new bending function g′ p (x, y) performs a two-dimensional fitting operation to extend its range from the area of the grayscale image of the moiré target area to the original region of interest (ROI) where the moiré is located;
[0038] The expanded new bending function g′ p (x, y) and periodic contour function Perform compounding to obtain super-resolution visual markings;
[0039] In the super-resolution visual marker image, the vertex coordinates closest to the four vertices of the original area of interest where the moiré is located are selected as the sub-pixel feature points of the reconstructed visual marker, and the sub-pixel feature points are used as the input of the PnP pose estimation algorithm to obtain the six-degree-of-freedom pose of the camera relative to the visual marker.
[0040] The present invention also provides a method for estimating a position and posture based on moiré patterns and applicable to generalized perspective angles, based on the above system, comprising the following steps:
[0041] 1) using a camera to collect video of a visual marker in a pose detection scene based on the visual marker captured by the camera at a fixed frame rate, wherein the visual marker area in the video frame contains a moiré pattern image;
[0042] 2) extracting the original region of interest where the moiré pattern is located from each frame of the image and further cropping out the moiré pattern target region with a regular rectangular shape;
[0043] 3) Separating the two-dimensional features of the mixed moiré image in the moiré target area;
[0044] 4) calculating the bending function for the moiré features in the two dimensions after separation respectively;
[0045] 5) Calculating the curvature function of the visual marker according to the curvature function of the moiré pattern and the curvature function of the camera color filter array, and compounding it with the periodic contour function, thereby reconstructing the sub-pixel feature points of the visual marker;
[0046] 6) Based on the sub-pixel feature points of the visual marker reconstructed in each frame of the image, a pose estimation algorithm is used to output the six-degree-of-freedom pose of the camera relative to the visual marker.
[0047] Beneficial effects of the present invention:
[0048] 1. Generalization: The present invention is generalizable to the perspective angle between the camera and the visual marker. The present invention provides a generalized expression for any moiré pattern, and can also achieve effective feature extraction and reasoning for the curved deformation moiré pattern caused when the perspective angle between the camera and the visual marker is large.
[0049] 2. High precision: The present invention realizes sub-pixel feature extraction of visual markers, and provides higher six-freedom pose estimation accuracy compared with pose estimation based on traditional pixel-level feature points.
[0050] 3. High availability and easy deployment: Different from the existing method of generating regular moiré patterns based on double-layer customized equipment, the present invention can perform high-precision pose estimation based on simple single-layer visual markers, without the need for complex customized equipment, and has high availability and easy deployment. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 is a structural diagram of the system of the present invention in an embodiment;
[0052] Figure 2 It is a principle diagram of moiré feature separation in the present invention;
[0053] Figure 3 This is a schematic diagram of the bending function calculation principle in the present invention;
[0054] Figure 4 This is a schematic diagram of the visual marking super-resolution principle in the present invention;
[0055] Figure 5 This is a schematic diagram of the principle of extracting sub-pixel feature points in the present invention. DETAILED DESCRIPTION
[0056] In order to facilitate the understanding of those skilled in the art, the present invention is further described below in conjunction with embodiments and drawings. The contents mentioned in the implementation modes are not intended to limit the present invention.
[0057] Reference Figures 1 to 5 As shown, a moiré-based pose estimation system for generalized perspective angles of the present invention is applied to a camera device in a pose detection scene based on camera-captured visual markers, comprising: a moiré mixed feature separation module, a generalized moiré feature representation module, and a fine-grained feature point reconstruction module:
[0058] A moiré mixed feature separation module is used to extract and separate features from a mixed moiré image obtained when a camera captures a visual marker;
[0059] Among them, the camera equipment includes: a camera module with image acquisition and data transmission functions and a mobile device with a camera module, such as a smart phone, a smart watch, a smart glasses, a head-mounted display device, a smart handle, a mobile robot, an intelligent robotic arm device, etc.
[0060] Among them, the visual mark is used to generate moiré patterns in the visual mark area in the image when the camera captures the visual mark; the visual mark is a two-dimensional plane mark composed of one or more groups of periodic stripes with different directions, including a two-dimensional plane mark composed of two groups of periodic stripes with orthogonal directions; wherein each group of periodic stripes is composed of two linear stripes with high contrast colors alternating, including black and white linear stripes composed of black and white, and a pair of black and white stripes constitutes one period of the visual mark; the size and period of the visual mark are set according to the interaction distance requirements of different applications.
[0061] The mixed moiré image refers to a moiré image in which two groups of periodic stripes overlap each other, wherein each group of periodic stripes is straight or curved.
[0062] Specifically, the feature extraction in the moiré mixed feature separation module specifically includes:
[0063] The original region of interest (ROI) where the moiré pattern is located is extracted from each frame of the image using a quadrilateral detection algorithm, and the coordinates of the four vertices of the quadrilateral are recorded;
[0064] A regular rectangle is extracted inside the quadrilateral as the final moiré target area, and a color channel with the strongest moiré fringe contrast is selected to obtain a grayscale image of the moiré target area, which contains two mixed groups of moiré fringe.
[0065] Specifically, the feature separation in the moiré mixed feature separation module specifically includes:
[0066] Divide the grayscale image of the moiré target area into M×N blocks, and perform a 2D FFT operation on each block to obtain the corresponding spectrum map;
[0067] Extract two sets of frequency vectors from the spectrum graph, including the modulus and direction of the frequency vectors; wherein the two sets of frequency vectors respectively represent the frequency characteristics of the two sets of moiré patterns mixed in the block; the modulus of the frequency vector represents the magnitude of the spatial frequency of the moiré pattern; and the direction of the frequency vector represents the direction of the spatial frequency of the moiré pattern;
[0068] A Gabor filter is constructed according to the magnitude and direction of the extracted frequency vector, two different Gabor filters are constructed for the two sets of frequency vectors extracted from each block, and each block is filtered by the two constructed Gabor filters to obtain two sets of filtered stripes;
[0069] An iterative method based on relaxed labeling is used to classify the two groups of stripes obtained after filtering for each block, and the two groups of moiré patterns contained in the grayscale image of the moiré target area are separated into two images, each of which contains only one group of moiré patterns; the iterative method based on relaxed labeling is specifically as follows: the two groups of frequency vectors extracted from each block are pre-assigned initial labels, that is, which dimension they belong to, and then the labels are updated according to the compatibility between the frequency vectors and the predefined compatibility matrix; the similarity between the frequency vectors of adjacent blocks is used to construct the compatibility matrix, that is, the more similar the modulus and direction of the two frequency vectors are, the higher the compatibility value is; the iterative algorithm based on relaxed labeling adjusts the labels of the frequency vectors to make them more consistent with the labels and compatibility matrices of the frequency vectors of the adjacent blocks, thereby achieving label consistency between all frequency vectors; the iterative process continues until the labels reach a stable state, so that the frequency vectors of the two dimensions are divided into different categories according to their similarity and consistency.
[0070] A generalized moiré feature representation module is used to provide feature representation for moiré after feature separation at any perspective angle, including periodic contour function and curvature function, so as to effectively characterize the moiré features at generalized perspective angles;
[0071] Specifically, the generalized moiré feature representation module provides a feature representation for the moiré after feature separation at any perspective angle, which means that the moiré with any curved shape is represented by a periodic profile function p m (x′) and the bending function g m The moiré m(x, y) is represented by a composite form of (x, y), where (x, y) represents the pixel coordinates of the image:
[0072] m(x, y) = p m (g m (x, y)).
[0073] Among them, the periodic profile function p m The calculation method of (x′) is:
[0074]
[0075] Wherein, the bending function g m The calculation process of (x, y) includes:
[0076] Perform Hilbert transform on each row m(t) or column m(t) of each group of moiré images after separation to obtain an analytical signal H(m)(t);
[0077] Extract the instantaneous angle of the analytic signal H(m)(t), thereby obtaining the phase information of each row m(t) or column m(t);
[0078] splicing the phase information of all rows or columns of the moiré image, and performing an unwrapping operation on the obtained phase image to eliminate discontinuous 2π jumps in the phase image, thereby obtaining a continuous phase information image;
[0079] The continuous phase information image is divided by 2π as a whole to obtain the bending function g m (x, y).
[0080] The fine-grained feature point reconstruction module is used to perform super-resolution reconstruction of visual markers and extract sub-pixel feature points. The sub-pixel feature points of the visual markers reconstructed in each frame of the image are used as the input of the PnP pose estimation algorithm to calculate the six-degree-of-freedom pose of the camera relative to the visual marker.
[0081] Specifically, the process of extracting sub-pixel feature points in the fine-grained feature point reconstruction module includes:
[0082] According to the bending function g of the moiré m (x, y) and the warping function g of the camera color filter array (CFA) c (x, y) Calculate the curvature function g of the visual marker projected on the camera filter array plane p (x, y), calculated as follows:
[0083] g p (x, y) = g c (x, y)-g m (x, y)
[0084] Among them, the bending function g of the two-dimensional stripes (horizontal stripes and vertical stripes) of the color filter array is c (x, y) represent g respectively c (x, y) = y and g c (x, y) = x;
[0085] The curvature function g for the visual marker p (x, y) is bilinearly upsampled to obtain a new bending function g′ p (x, y), thereby improving the bending function from pixel-level resolution to sub-pixel resolution;
[0086] For the new bending function g′ p (x, y) performs a two-dimensional fitting operation to extend its range from the area of the grayscale image of the moiré target area to the original region of interest (ROI) where the moiré is located;
[0087] The expanded new bending function g′ p (x, y) and periodic contour function Perform compounding to obtain super-resolution visual markings;
[0088] In the super-resolution visual marker image, the vertex coordinates closest to the four vertices of the original interest area where the moiré is located are selected as the sub-pixel feature points (u i , v i ), i = 1, 2, 3, 4, and use these sub-pixel feature points as the input of the PnP pose estimation algorithm to calculate the six-degree-of-freedom pose of the camera relative to the visual marker according to the following formula, including the rotation matrix R and the translation vector T:
[0089]
[0090] Among them, s is the scaling factor, K is the calibrated camera internal parameter, (X i , Y i , Z i ) is the prior 3D coordinate in the scene corresponding to the fine-grained feature point.
[0091] The present invention also provides a method for estimating a position and posture based on moiré patterns and applicable to generalized perspective angles, based on the above system, comprising the following steps:
[0092] 1) using a camera to collect video of a visual marker in a pose detection scene based on the visual marker captured by the camera at a fixed frame rate, wherein the visual marker area in the video frame contains a moiré pattern image;
[0093] 2) extracting the original region of interest (ROI) where the moiré pattern is located for each frame of the image and further cropping out the moiré pattern target area with a regular rectangular shape;
[0094] 3) Separating the two-dimensional features of the mixed moiré image in the moiré target area;
[0095] 4) calculating the bending function for the moiré features in the two dimensions after separation respectively;
[0096] 5) Calculating the curvature function of the visual marker according to the curvature function of the moiré pattern and the curvature function of the camera color filter array, and compounding it with the periodic contour function, thereby reconstructing the sub-pixel feature points of the visual marker;
[0097] 6) Based on the sub-pixel feature points of the visual marker reconstructed in each frame of the image, a pose estimation algorithm is used to output the six-degree-of-freedom pose of the camera relative to the visual marker.
[0098] The present invention has many specific application paths. The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements can be made without departing from the principle of the present invention. These improvements should also be regarded as the protection scope of the present invention.
Claims
1. A moiré-based pose estimation system for generalized perspective angles, characterized in that: Applied to camera devices in posture detection scenarios based on camera-captured visual markers, including: moiré mixed feature separation module, generalized moiré feature representation module and fine-grained feature point reconstruction module: A moiré mixed feature separation module is used to extract and separate features from a mixed moiré image obtained when a camera captures a visual marker; A generalized moiré feature representation module is used to provide feature representation for moiré after feature separation at any perspective angle, including periodic contour function and curvature function, so as to effectively characterize the moiré features at generalized perspective angles; The fine-grained feature point reconstruction module is used to perform super-resolution reconstruction of visual markers and extract sub-pixel feature points. The sub-pixel feature points of the visual markers reconstructed in each frame of the image are used as the input of the PnP pose estimation algorithm to calculate the six-degree-of-freedom pose of the camera relative to the visual marker.
2. The moiré-based pose estimation system for generalized perspective angles according to claim 1, characterized in that: The visual marker is used to generate moiré patterns in the visual marker area in the image when the camera captures the visual marker; the visual marker is a two-dimensional plane marker composed of one or more groups of periodic stripes with different directions, including a two-dimensional plane marker composed of two groups of periodic stripes with orthogonal directions; wherein each group of periodic stripes is composed of two linear stripes with high contrast colors alternating, including black and white linear stripes composed of black and white, and a pair of black and white stripes constitutes one period of the visual marker; the size and period of the visual marker are set according to the interaction distance requirements of different applications.
3. The moiré-based pose estimation system for generalized perspective angles according to claim 1, characterized in that: The mixed moiré image refers to a moiré image in which two groups of periodic stripes overlap each other, wherein each group of periodic stripes is straight or curved.
4. The moiré-based pose estimation system for generalized perspective angles according to claim 1, characterized in that: The feature extraction in the moiré mixed feature separation module specifically includes: The quadrilateral detection algorithm is used to extract the original region of interest where the moiré pattern is located for each frame of the image, and the coordinates of the four vertices of the quadrilateral are recorded; A regular rectangle is extracted inside the quadrilateral as the final moiré target area, and a color channel with the strongest moiré fringe contrast is selected to obtain a grayscale image of the moiré target area, which contains two mixed groups of moiré fringe.
5. The moiré-based pose estimation system for generalized perspective angles according to claim 4, characterized in that: The feature separation in the moiré mixed feature separation module specifically includes: Divide the grayscale image of the moiré target area into M×N blocks, and perform a 2D FFT operation on each block to obtain the corresponding spectrum map; Extract two sets of frequency vectors from the spectrum graph, including the modulus and direction of the frequency vectors; wherein the two sets of frequency vectors respectively represent the frequency characteristics of the two sets of moiré patterns mixed in the block; the modulus of the frequency vector represents the magnitude of the spatial frequency of the moiré pattern; and the direction of the frequency vector represents the direction of the spatial frequency of the moiré pattern; A Gabor filter is constructed according to the magnitude and direction of the extracted frequency vector, two different Gabor filters are constructed for the two sets of frequency vectors extracted from each block, and each block is filtered by the two constructed Gabor filters to obtain two sets of filtered stripes; The two groups of filtered fringes obtained from each block are classified using an iterative method based on relaxed labeling, and the two groups of moiré fringes contained in the grayscale image of the moiré target area are separated into two images, each containing only one group of moiré fringes.
6. The moiré-based pose estimation system for generalized perspective angles according to claim 1, characterized in that: The generalized moiré feature representation module provides a feature representation for the moiré after feature separation at any perspective angle, which means that the moiré with any curved shape is represented by a periodic profile function p m (x′) and the bending function g m The moiré m(x,y) is represented as follows, where (x,y) represents the pixel coordinates of the image: m(x,y)=p m (g m (x,y))。 7. The moiré-based pose estimation system for generalized perspective angles according to claim 6, characterized in that: The periodic profile function p m The calculation method of (x′) is:
8. The moiré-based pose estimation system for generalized perspective angles according to claim 6, characterized in that: The bending function g m The calculation process of (x,y) includes: Perform Hilbert transform on each row m(t) or column m(t) of each group of moiré images after separation to obtain an analytical signal H(m)(t); Extract the instantaneous angle of the analytic signal H(m)(t), thereby obtaining the phase information of each row m(t) or column m(t); splicing the phase information of all rows or columns of the moiré image, and performing an unwrapping operation on the obtained phase image to eliminate discontinuous 2π jumps in the phase image, thereby obtaining a continuous phase information image; The continuous phase information image is divided by 2π as a whole to obtain the bending function g m (x,y).
9. The moiré-based pose estimation system for generalized perspective angles according to claim 6, characterized in that: The process of extracting sub-pixel feature points in the fine-grained feature point reconstruction module includes: According to the bending function g of the moiré m (x,y) and the warping function g of the camera color filter array (CFA) c (x,y) Calculate the curvature function g of the visual marker projected on the camera filter array plane p (x,y), calculated as follows: g p (x,y)=g c (x,y)-g m (x,y) Among them, the bending function g of the two-dimensional stripes of the color filter array is c (x,y) represent g respectively c (x,y)=y and g c (x,y)=x; The curvature function g for the visual marker p (x, y) is bilinearly upsampled to obtain a new bending function g′ p (x, y), thereby improving the bending function from pixel-level resolution to sub-pixel resolution; For the new bending function g′ p (x, y) performs a two-dimensional fitting operation to extend its range from the area of the grayscale image of the moiré target area to the original area of interest where the moiré is located; The expanded new bending function g′ p (x,y) and periodic contour function Perform compounding to obtain super-resolution visual markings; In the super-resolution visual marker image, the vertex coordinates closest to the four vertices of the original area of interest where the moiré is located are selected as the sub-pixel feature points of the reconstructed visual marker, and the sub-pixel feature points are used as the input of the PnP pose estimation algorithm to obtain the six-degree-of-freedom pose of the camera relative to the visual marker.
10. A method for posture estimation based on moiré patterns and applicable to generalized perspective angles, based on the system according to any one of claims 1 to 9, characterized in that: The steps include: 1) using a camera to collect video of a visual marker in a pose detection scene based on the visual marker captured by the camera at a fixed frame rate, wherein the visual marker area in the video frame contains a moiré pattern image; 2) extracting the original region of interest where the moiré pattern is located from each frame of the image and further cropping out the moiré pattern target region with a regular rectangular shape; 3) Separating the two-dimensional features of the mixed moiré image in the moiré target area; 4) calculating the bending function for the moiré features in the two dimensions after separation respectively; 5) Calculating the curvature function of the visual marker according to the curvature function of the moiré pattern and the curvature function of the camera color filter array, and compounding it with the periodic contour function, thereby reconstructing the sub-pixel feature points of the visual marker; 6) Based on the sub-pixel feature points of the visual marker reconstructed in each frame of the image, a pose estimation algorithm is used to output the six-degree-of-freedom pose of the camera relative to the visual marker.
Citation Information
Patent Citations
Pose estimation system and method based on moire
CN115457134A
Moire-based ranging system and method
CN115457137A
Image processing apparatus, image processing method and image processing program
JP2017038318A
Marker, and Posture Estimation Method and Position and Posture Estimation Method Using Marker
US20190339071A1
Cited By
Bridge crack sub-pixel identification method and system based on moire phase unwrapping
CN120259898A
