Disclosure of Invention
The application mainly aims to overcome the defects in the prior art, and provides a reference point cloud quality evaluation method and a system for merging graph resampling and gradient characteristics, which effectively describe gradient direction characteristics and response intensity changes caused by point cloud distortion, accord with subjective perceptibility of human eyes to distorted point clouds, and have higher recognition accuracy, sensitivity and robustness.
The application adopts the following technical scheme:
in one aspect, a reference point cloud quality assessment method fusing graph resampling and gradient features includes:
s101, extracting key points from an input reference point cloud by using a key point resampling method based on a graph;
s102, dividing a local neighborhood group of a reference point cloud and a distortion point cloud by taking a key point as a center, and clustering the points in each local area according to Euclidean distance between the key point and other points in a coordinate space;
s103, respectively extracting three-dimensional gradient amplitude characteristics and three-dimensional gradient pattern characteristics of the reference point cloud and the distortion point cloud in the local area, calculating three-dimensional gradient amplitude similarity of the reference point cloud and the distortion point cloud based on the three-dimensional gradient amplitude characteristics, calculating three-dimensional gradient pattern similarity of the reference point cloud and the distortion point cloud based on the three-dimensional gradient pattern characteristics, and calculating joint three-dimensional gradient characteristic similarity based on the three-dimensional gradient amplitude similarity and the three-dimensional gradient pattern similarity;
and S104, carrying out weighted pooling by using the response intensity value based on the joint three-dimensional gradient feature similarity to obtain the objective quality score of the distorted point cloud.
Preferably, the S101 specifically includes:
reference point cloud for inputA high-pass diagram filtering method is used for the +.>Resampling is carried out to extract key points; in particular using the graph transfer operator +.>To describe the relative positional relationship between nodes, +.>Representing a graph transfer operator +.>Is a dimension of (2); use of adjacency matrix->And transfer matrix->To express +.>I.e. +.>Each of the linear shift invariant map filters is +.>Polynomial function of (c):
wherein,representing a linear shift invariant graph filter; />The +.>Personal factor (F)>Representing +.>Power of the order; />Indicate->A coefficient; />Representing the length of the graphics filter; />A representation matrix; />Representation->An inverse matrix of (a); />Representing the identity matrix;
implementation using a haar-like graph filterThe high pass filtering of (2) is as follows:
wherein,representing a high pass filtering of the haar-like graph filter; />Representation->Is->A feature vector; />Representation->Is a characteristic value of (2); in the graph vertex field, +.>Point->The frequency response formula of (2) is:
wherein,indicate->Point->Is a frequency response formula for (1); />Representing the total number of points in the spatial frequency domain; />Indicate->Point->Is a neighboring point of (2);
for input reference point cloudExtracting key points to generate skeleton point cloud->。
Preferably, the step S102 specifically includes:
the resampled key point skeleton point cloudIs used as a reference point cloud +.>And distortion point cloud->For +.>The%>Key points->Use +.>And->Euclidean distance pair of corresponding geometric parts in +.>The neighbors of the points are clustered as follows:
wherein,expressed as key points->Is the center of sphere>A neighborhood group of reference point clouds for a radius; />Expressed as key points->Is the center of sphere>A neighborhood group of the distorted point cloud for a radius; />Representing a set of all points in a keypoint skeleton of a reference point cloud; />Key point skeleton for representing distortion point cloudA set of all points in (a); />Representing the square of the two norms.
Preferably, the step S103 specifically includes:
from a reference point cloud Three-dimensional gradient amplitude characteristic>And three-dimensional gradient pattern->And distortion point cloud->Three-dimensional gradient amplitude characteristic>And gradient pattern->Calculating to obtain three-dimensional gradient amplitude similarity of the reference point cloud and the distortion point cloud>Three-dimensional gradient direction similarity ++>The calculation formula is as follows:
wherein,and->Is a constant for ensuring the stability of the numerical value;
points for a reference point cloud local areaThree-dimensional gradient amplitude feature->The calculation formula is as follows:
wherein,、/>、/>respectively representing gradient amplitude differences of points in the reference point cloud local neighborhood group in the x, y and z directions; />Representing a gradient calculation method on a point xyz axis in a reference point cloud local neighborhood group;
introducing three-dimensional gradient directions to describe change information on a point cloud space so as to obtain key pointsIs the center of sphere, is->Constructing a local area for a radius forA point falling on the local area +.>The ball coordinate value formula for calculating this point is as follows:
wherein,representation dot->Polar angle of>Representation dot->Carrying out direction clustering according to the ball coordinate values of all points in the local area; setting eight directions of the three-dimensional gradient, wherein the closer the ball coordinate values of points in the local area are to which direction, the clustering is carried out in the direction; the three-dimensional gradient eight directions are calculated according to polar angles and azimuth angles and distributed at equal intervals in space; the specific numerical calculation formula is as follows:
wherein the method comprises the steps of;/>Representing polar angle/>Is (are) direction of->Representing azimuth angleThe two directions are mutually combined to form a three-dimensional gradient eight direction;
three-dimensional gradient patternThe calculation formula is as follows:
wherein,for->A convolution kernel in the three-dimensional eight direction, the direction of the convolution kernel depending on the direction of which three-dimensional gradient the point clusters in; />Representing a convolution operation;
for points of a distorted point cloud local areaThree-dimensional gradient amplitude feature->The calculation formula is as follows:
wherein,、/>、/>gradient amplitude differences of points in the distortion point cloud local neighborhood group in the x, y and z directions are respectively represented; />Representing a gradient calculation method on a point xyz axis in a local neighborhood group of the distorted point cloud;
introducing three-dimensional gradient directions to describe change information on a point cloud space so as to obtain key pointsIs the center of sphere, is->Constructing a local region for a radius, for a point lying in the local region +.>The ball coordinate value formula for calculating this point is as follows:
wherein,representation dot->Polar angle of>Representation dot->Carrying out direction clustering according to the ball coordinate values of all points in the local area; setting eight directions of the three-dimensional gradient, wherein the closer the ball coordinate values of points in the local area are to which direction, the clustering is carried out in the direction; the three-dimensional gradient eight directions are calculated according to polar angles and azimuth angles and distributed at equal intervals in space; the specific numerical calculation formula is as follows:
wherein the method comprises the steps of;/>Representing polar angle->Is (are) direction of->Representing azimuth angleThe two directions are mutually combined to form a three-dimensional gradient eight direction;
three-dimensional gradient patternThe calculation formula is as follows:
wherein,for->A convolution kernel in the three-dimensional eight direction, the direction of the convolution kernel depending on the direction of which three-dimensional gradient the point clusters in;
and calculating the feature similarity of the combined three-dimensional gradient based on the three-dimensional gradient amplitude similarity and the three-dimensional gradient pattern similarity, wherein the feature similarity is as follows:
wherein the parameters areIs used for adjusting->And->Positive numbers of relative importance between them.
Preferably, the step S104 is specifically as follows:
wherein,response intensity values for points within the reference point cloud local area; />Distorting response intensity values of points within the point cloud local area; />Representing the number of local areas; />Representing a local range of the reference point cloud and the distorted point cloud, i.e. the xyz three-dimensional point falls within the local range; />Representing the objective quality score of the distorted point cloud.
Preferably, the calculation method of the response intensity value is a K neighbor search algorithm.
In another aspect, a reference point cloud quality assessment system that fuses graph resampling and gradient features includes:
the key point extraction module is used for extracting key points from the input reference point cloud by using a graph-based key point resampling method;
the local area point clustering module is used for dividing a local neighborhood group of the reference point cloud and the distortion point cloud by taking the key point as a center, and clustering the points in each local area according to Euclidean distance between the key point and other points in a coordinate space;
the gradient feature similarity calculation module is used for respectively extracting three-dimensional gradient amplitude features and three-dimensional gradient pattern features of the reference point cloud and the distortion point cloud in the local area, calculating the three-dimensional gradient amplitude similarity of the reference point cloud and the distortion point cloud based on the three-dimensional gradient amplitude features, calculating the three-dimensional gradient pattern similarity of the reference point cloud and the distortion point cloud based on the three-dimensional gradient pattern features, and calculating the joint three-dimensional gradient feature similarity based on the three-dimensional gradient amplitude similarity and the three-dimensional gradient pattern similarity;
and the quality evaluation module is used for carrying out weighted pooling by using the response intensity value based on the joint three-dimensional gradient feature similarity to obtain the objective quality score of the distorted point cloud.
Compared with the prior art, the application has the following beneficial effects:
(1) According to the application, geometric information of a reference point cloud is extracted by a graph-based resampling method to generate a key point skeleton, a local region parameterized model taking key points as sphere centers is constructed for the reference point cloud and the distorted point cloud, the similarity of gradient amplitude values and gradient directions is measured respectively, and finally the similarity of the two characteristics is weighted and pooled by using a weighted combination calculation method of response intensity values, so that a point cloud quality evaluation score is calculated, the gradient direction characteristics and response intensity changes caused by the point cloud distortion are effectively described, the subjective perceptibility of human eyes on the distorted point cloud is met, and the method has high recognition accuracy, sensitivity and robustness, and good point cloud quality evaluation performance;
(2) According to the application, the geometric information of the reference point cloud is extracted by a graph-based resampling method to generate the key point skeleton, so that the problem that feature mapping of the reference and distorted point cloud is difficult in quality evaluation is solved, the sampled key points not only accord with human perception, but also obviously reduce calculation complexity.
Detailed Description
The application will be further illustrated with reference to specific examples. It is to be understood that these examples are illustrative of the present application and are not intended to limit the scope of the present application. Furthermore, it should be understood that various changes and modifications can be made by one skilled in the art after reading the teachings of the present application, and such equivalents are intended to fall within the scope of the application as defined in the appended claims.
Referring to fig. 1 and fig. 2, the reference point cloud quality assessment method integrating graph resampling and gradient features of the present application specifically includes the following steps:
s101, extracting key points from the input reference point cloud by using a key point resampling method based on the graph.
Concrete embodimentsIn the form of a reference point cloud for receiving inputA high-pass diagram filtering method is used for +.>Resampling is performed to extract keypoints. Use of the graph transfer operator->To describe the relative positional relationship between nodes, +.>Representing a graph transfer operator +.>Is a dimension of (2); />Adjacency matrix can be used +.>And transfer matrix->To express, i.e.)>. Each linear shift invariant graph filter is +.>Polynomial function of (c):
wherein,representing a linear shift invariant graph filter; />Representing a graph transfer operatorIs->Power of the order; />Indicate->A coefficient; />Representing the length of the graphics filter; />A representation matrix; />Representation->An inverse matrix of (a); />Representing the identity matrix. In this embodiment a class Ha Ertu filter is used to implement +.>Is a high pass filter of (2):
wherein,representing a high pass filtering of the haar-like graph filter; />Representation->Is->Features ofVector; />Representation->Is a characteristic value of (2); in the graph vertex field, +.>Point->The frequency response formula (of a point in the reference point cloud spatial frequency domain) is:
wherein,indicate->Point->Is a frequency response formula for (1); />Representing the total number of points in the spatial frequency domain; />Indicate->Point->Is a neighboring point of (2);
is used for reference point cloud in spatial frequency domain>Ordering for sampling, which reflects the +.>How much information about a point can be collected from neighboring points, the more information points are more likely to be chosen as keypoints. Finally, filter length is taken>And the number of valid keypoints after resampling +.>To achieve a balance between complexity and efficiency.
S102, dividing a local neighborhood group of the reference point cloud and the distortion point cloud by taking the key point as a center, and clustering the points in each local area according to Euclidean distance between the key point and other points in a coordinate space.
Specifically, the resampled key point skeleton point cloudIs used as a reference point cloud +.>And distortion point cloud->For +.>The%>Key points->The method uses->And->Euclidean distance pair of corresponding geometric parts in +.>The neighbors of the points are clustered as follows:
wherein,and->Represents the key point->Is the center of sphere>A neighborhood group for a reference and distorted point cloud of radius; />Representing a set of all points in a keypoint skeleton of a reference point cloud; />Representing a set of all points in a key point skeleton of the distorted point cloud; />Representing the square of the two norms.
And S103, respectively extracting three-dimensional gradient amplitude characteristics and three-dimensional gradient pattern characteristics of the reference point cloud and the distortion point cloud in the local area, calculating three-dimensional gradient amplitude similarity of the reference point cloud and the distortion point cloud based on the three-dimensional gradient amplitude characteristics, calculating three-dimensional gradient pattern similarity of the reference point cloud and the distortion point cloud based on the three-dimensional gradient pattern characteristics, and calculating joint three-dimensional gradient characteristic similarity based on the three-dimensional gradient amplitude similarity and the three-dimensional gradient pattern similarity.
Specifically, on the basis of extracting the three-dimensional gradient amplitude characteristics, a three-dimensional gradient eight-direction calculation method is expanded, a K neighbor search algorithm is adopted to calculate the response intensity value of each point, and a local parameterized model of three-dimensional gradient information is constructed as follows.
Points for a three-dimensional point cloud local areaThe three-dimensional gradient magnitude calculation formula is as follows:
wherein,、/>、/>gradient magnitude differences in three directions for points within each local neighborhood group are shown.
The three-dimensional gradient eight-direction division angle formula is as follows:
the calculation formula of the gradient pattern is as follows:
wherein,point calculated for eight-directional division angle of three-dimensional gradient +.>A convolution kernel of the direction; />Representing a convolution operation.
And extracting three-dimensional gradient features of the reference point cloud and the distorted point cloud by using a local parameterized model, and calculating feature similarity of the three-dimensional gradient features, including three-dimensional gradient amplitude features and gradient pattern features.
Specifically, according to the reference point cloud Three-dimensional gradient amplitude characteristic>And gradient patternAnd distortion point cloud->Three-dimensional gradient amplitude characteristic>And gradient pattern->Calculating to obtain three-dimensional gradient amplitude similarity of the reference point cloud and the distortion point cloud>And three-dimensional gradient direction similarityThe calculation formula is as follows:
wherein,and->Is a constant for ensuring numerical stability.
In the embodiment, three-dimensional gradient amplitude and direction similarity are jointly considered as comprehensive indexes for evaluating the quality of the point cloud, and the calculation mode can be expressed as a combination of the three-dimensional gradient amplitude and the direction similarity:
wherein the parameters areIs used for adjusting->And->Positive numbers of relative importance between them.
And S104, carrying out weighted pooling by using the response intensity value based on the joint three-dimensional gradient feature similarity to obtain the objective quality score of the distorted point cloud.
Specifically, a three-dimensional response intensity value weighted pooling method is used for calculating to obtain objective quality scores of point cloudsThe following are provided:
wherein,and->For response intensity values of the reference point cloud and the distorted point cloud, a larger value in the reference point cloud and the distorted point cloud is selected as a weight in a three-dimensional edge intensity pooling strategy>;/>Representing a local range of the reference point cloud and the distorted point cloud, i.e. the xyz three-dimensional point falls within the local range; />Representing the objective quality score of the distorted point cloud.
Referring to fig. 3, the embodiment further discloses a reference point cloud quality evaluation system fusing graph resampling and gradient features, which includes:
the key point extraction module 301 is configured to extract key points from an input reference point cloud by using a graph-based key point resampling method;
the local area point clustering module 302 is configured to divide a local neighborhood group of the reference point cloud and the distorted point cloud with the key point as a center, and cluster the points in each local area according to euclidean distances between the key point and other points in the coordinate space;
the gradient feature similarity calculation module 303 is configured to extract three-dimensional gradient amplitude features and three-dimensional gradient pattern features of the reference point cloud and the distorted point cloud in the local area, calculate three-dimensional gradient amplitude similarities of the reference point cloud and the distorted point cloud based on the three-dimensional gradient amplitude features, calculate three-dimensional gradient pattern similarities of the reference point cloud and the distorted point cloud based on the three-dimensional gradient pattern features, and calculate joint three-dimensional gradient feature similarities based on the three-dimensional gradient amplitude similarities and the three-dimensional gradient pattern similarities;
the quality evaluation module 304 is configured to perform weighted pooling by using the response intensity value based on the joint three-dimensional gradient feature similarity, so as to obtain an objective quality score of the distorted point cloud.
The embodiment of the reference point cloud quality evaluation method for integrating the image resampling and gradient characteristics is not repeated.
The foregoing is merely illustrative of specific embodiments of the present application, but the design concept of the present application is not limited thereto, and any insubstantial modification of the present application by using the design concept shall fall within the scope of the present application.