A method for generating feature descriptors for electrical equipment
By using gradient operators and histogram processing to generate feature descriptors in image registration, the problem of insufficient similarity of feature descriptors in heterogeneous image registration is solved and the accuracy of image registration is improved.
Patent Information
- Application Number
- CN202010848153.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-21
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2040-08-21
AI Technical Summary
In the existing technology, the similarity of the feature descriptors for heterosource image registration is not high, resulting in the failure to improve the registration accuracy.
By inputting the registration image, feature point coordinates and main direction, the gradient operator is used to calculate the gradient amplitude and direction matrix, establish a 36*36 gradient neighborhood of the feature point, adjust the gradient amplitude, and calculate the amplitude histogram based on the gradient direction. Normalization is performed to generate feature descriptors.
The similarity between feature descriptors of the same feature point in heterogeneous images is improved, thereby improving the accuracy of image registration.
Smart Images

Figure CN112070812B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electrical equipment image registration, and in particular to a method for generating feature descriptors for electrical equipment. Background Art
[0002] Image registration is a typical problem and technical difficulty in the field of image processing research. Its purpose is to compare or fuse images of the same object acquired under different conditions. For example, the images may come from different acquisition devices, taken at different times, different shooting angles, etc. Sometimes, image registration problems for different objects are also needed. Specifically, for two images in a set of image data sets, a spatial transformation is found to map one image to another image, so that the points corresponding to the same position in the space in the two images correspond one to one, thereby achieving the purpose of information fusion.
[0003] The process of registration technology is as follows: first, extract the features of the two images to obtain feature points; find matching feature point pairs by measuring similarity; then obtain the image space coordinate transformation parameters through the matching feature point pairs; finally, perform image registration based on the coordinate transformation parameters. Feature extraction is the key to registration technology, and accurate feature extraction provides a guarantee for the successful feature matching. At present, the process of image registration method based on point features is as follows: generate feature points and their main directions; generate feature descriptors; match feature descriptors. Therefore, seeking a feature extraction method with good invariance and accuracy is crucial to matching accuracy. Improving the similarity between feature descriptors of the same feature point in heterogeneous images is an important part of improving image registration accuracy. Summary of the invention
[0004] The purpose of this section is to summarize some aspects of embodiments of the present invention and briefly introduce some preferred embodiments. Some simplifications or omissions may be made in this section and the specification abstract and the invention title of this application to avoid blurring the purpose of this section, the specification abstract and the invention title, and such simplifications or omissions cannot be used to limit the scope of the present invention.
[0005] In view of the above existing problems, the present invention is proposed.
[0006] Therefore, the present invention provides a method for generating feature descriptors for electrical equipment, which can solve the problem that the similarity of feature descriptors used for heterogeneous image registration is not high and the registration accuracy cannot be improved.
[0007] To solve the above technical problems, the present invention provides the following technical solutions: including, inputting a registration image, feature point coordinates and main directions; using a gradient operator to calculate the gradient amplitude and direction matrix of the registration image; establishing a 36*36 gradient neighborhood of the feature point based on the gradient amplitude direction matrix and adjusting the gradient amplitude; obtaining amplitude statistics results according to a directional statistical amplitude histogram of the gradient in the feature point neighborhood; converting the amplitude statistics results into a vector for normalization processing to generate a feature descriptor.
[0008] As a preferred solution of the method for generating feature descriptors for electrical equipment described in the present invention, it includes: grayscale processing the input registration image and marking it as image I; then the feature point coordinate set in the registration image is The main direction set corresponding to the feature points is: Among them, the range of the main direction is [0,2π), and Nf is the number of feature points.
[0009] As a preferred solution of the method for generating a feature descriptor for electrical equipment described in the present invention, wherein: calculating the gradient amplitude direction matrix includes using the four gradient operators G0, G π / 2 , G -π / 4 and G π / 2 Convolution processing is performed on the image I to obtain the horizontal (e j0 direction), longitudinal (e jπ / 2 direction), oblique (e jπ / 4 and e j3π / 4 Direction) The gradient amplitude components IG0, IG π / 2 IG 3π / 4 and IG π / 2 ,as follows,
[0010]
[0011] Among them, diag([-1,0,1]): generates a third-order matrix with diagonal elements of -1, 0 and 1, and the remaining elements are 0, flip(G): flips the column vector of matrix G left and right, for example, flip([1,2,3;4,5,6])=[3,2,1;6,5,4].
[0012] As a preferred solution of the method for generating a feature descriptor for an electrical device according to the present invention, it further comprises calculating a synthetic gradient vector matrix IG of the image I as follows:
[0013] IG=(IG0+IG π / 4 cos(π / 4)+IG 3π / 4 cos(3π / 4))
[0014] +j(IG π / 2 +IG π / 4 sin(π / 4)+IG 3π / 4 sin(3π / 4))
[0015] Get the gradient magnitude matrix IG of the image I mag =||IG||2; where IG ang = arg(IG), arg(): Calculate the angle of the vector as follows,
[0016]
[0017] As a preferred solution of the method for generating a feature descriptor for an electrical device according to the present invention, wherein: adjusting the gradient amplitude includes: Centered on IG mag In each case, a square gradient magnitude neighborhood G with a side length of 73 is established. 73×73 ; The G 73×73 The gradient amplitudes in the gradient are sorted and divided into five equal parts; the amplitudes in the top 20% are adjusted to 1, the amplitudes in the top 20% to 40% are adjusted to 0.75, and so on, the amplitudes in the top 80% to the top 100% are adjusted to 0, as follows,
[0018]
[0019] As a preferred solution of the method for generating a feature descriptor for electrical equipment described in the present invention, the amplitude histogram statistics include:
[0020] A 73×73 coordinate grid matrix corresponding to each feature point is established as follows:
[0021] Horizontal (x-direction) coordinate matrix
[0022] Longitudinal (y direction) coordinate matrix
[0023] As a preferred solution of the method for generating a feature descriptor for electrical equipment described in the present invention, it further includes rotating the coordinate grid matrix, rotating the x and y coordinate grids to the main directions of the respective feature points, and dividing them into 16 square neighborhoods with equal side lengths (side length is 18), as follows,
[0024]
[0025]
[0026] The IG corresponding to the feature pointang The 73×73 angle neighborhood in the image is rotated, and the gradient amplitude in the 73×73 neighborhood of the feature point is counted according to the angle.
[0027] As a preferred solution of the method for generating a feature descriptor for electrical equipment described in the present invention, the statistics specifically include establishing 8 rectangular columns, each corresponding to an angle of 0, π / 8, π / 4, 3π / 8, ..., 3π / 4, 7π / 8 respectively; traversing the gradient amplitude and the angle value of each pixel point in the 16 small square neighborhoods, calculating the integer part and the decimal part of each angle divided by π / 8, and adding the L corresponding to each pixel point xx and L yy If the value is a decimal, trilinear interpolation statistics are performed on the amplitude of each pixel point according to the coordinates and the angle value; finally, 16 amplitude histogram statistical results are obtained, each histogram statistical result is 8 histograms, that is, a row vector with a length of 8, forming a 16×8 statistical matrix D.
[0028] As a preferred solution of the method for generating feature descriptors for electrical equipment described in the present invention, the rotation processing also includes subtracting the angle within the neighborhood from the main direction of the feature point and taking the rotated angle modulo π as the new gradient angle.
[0029] As a preferred solution of the method for generating a feature descriptor for electrical equipment described in the present invention, generating the feature descriptor includes converting the statistical matrix D into a 128-dimensional row vector d and performing normalization processing, as follows:
[0030]
[0031] d norm The feature descriptor of the feature point finally generated is used for feature point matching.
[0032] Beneficial effects of the present invention: The present invention constructs a gradient neighborhood of a feature point to adjust the amplitude, normalizes the statistical amplitude histogram to generate a feature descriptor, and improves the similarity between feature descriptors of the same feature point in heterogeneous images to improve the accuracy of image registration. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. Among them:
[0034] Figure 1 A schematic diagram of a flow chart of a method for generating a feature descriptor for electrical equipment according to the present invention;
[0035] Figure 2 A schematic diagram of gradient statistics within a small square neighborhood of a method for generating a feature descriptor for electrical equipment according to the present invention;
[0036] Figure 3 A schematic diagram of a statistical matrix D of a method for generating feature descriptors for electrical equipment according to the present invention;
[0037] FIG4( a ) is a schematic diagram of a first group of matching results of test matching points of a method for generating feature descriptors for electrical equipment according to the present invention;
[0038] FIG4( b ) is a schematic diagram of a second group of matching results of test matching points of a method for generating feature descriptors for electrical equipment according to the present invention;
[0039] FIG4( c ) is a schematic diagram of a third group of matching results of test matching points of a method for generating feature descriptors for electrical equipment according to the present invention;
[0040] FIG4(d) is a schematic diagram of a fourth group of matching results of test matching points of a method for generating feature descriptors for electrical equipment according to the present invention;
[0041] FIG. 4( e ) is a schematic diagram of the fifth group of matching results of the test matching points of the method for generating feature descriptors for electrical equipment described in the present invention. DETAILED DESCRIPTION
[0042] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.
[0043] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0044] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.
[0045] The present invention is described in detail with reference to schematic diagrams. When describing the embodiments of the present invention, for the sake of convenience, the cross-sectional diagrams showing the device structure will not be partially enlarged according to the general scale, and the schematic diagrams are only examples, which should not limit the scope of protection of the present invention. In addition, in actual production, the three-dimensional dimensions of length, width and depth should be included.
[0046] At the same time, in the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "upper, lower, inner and outer" are based on the directions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as limiting the present invention. In addition, the terms "first, second or third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.
[0047] In the present invention, unless otherwise clearly specified and limited, the terms "install, connect, connect" should be understood in a broad sense, for example: it can be a fixed connection, a detachable connection or an integral connection; it can also be a mechanical connection, an electrical connection or a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0048] Example 1
[0049] In the prior art, SIFT (Scale-invariant feature transform) and SURF (Speeded-Up Robust Features) algorithms are mostly used to generate feature descriptors for images. However, the feature descriptors generated by the above algorithms are not robust enough and are sensitive to the illumination, rotation, and scale of the image. In addition, the generated feature descriptors are not very distinguishable, which is not conducive to their use in image retrieval, panorama stitching, and 3D reconstruction. Therefore, how to generate more robust and easier to distinguish feature descriptors is an urgent problem to be solved today.
[0050] Reference Figure 1 , Figure 2 and Figure 3 , which is the first embodiment of the present invention, provides a method for generating a feature descriptor for an electrical device, comprising:
[0051] S1: Input the registration image, feature point coordinates and main direction. It should be noted that:
[0052] Grayscale the input registration image (the grayscale value range is [0,255]) and mark it as image I;
[0053] Then the feature point coordinate set in the registered image is
[0054] The main direction set corresponding to the feature points is
[0055] Among them, the range of the main direction is [0,2π), and Nf is the number of feature points.
[0056] S2: Calculate the gradient magnitude and direction matrix of the registration image using the gradient operator. It should be noted that calculating the gradient magnitude direction matrix includes:
[0057] Using four gradient operators G0, G π / 2 , G -π / 4 and G π / 2 Convolution is performed with image I to obtain the horizontal (e j0 direction), longitudinal (e jπ / 2 direction), oblique (e jπ / 4 and e j3π / 4 Direction) The gradient amplitude components IG0, IG π / 2 IG 3π / 4 and IG π / 2 ,as follows,
[0058]
[0059] Among them, diag([-1,0,1]): generates a third-order matrix with diagonal elements of -1, 0 and 1, and the remaining elements are 0, flip(G): flips the column vector of matrix G left and right, for example, flip([1,2,3;4,5,6])=[3,2,1;6,5,4].
[0060] Furthermore, it also includes:
[0061] Calculate the synthetic gradient vector matrix IG of image I as follows,
[0062] IG=(IG0+IG π / 4 cos(π / 4)+IG 3π / 4 cos(3π / 4))
[0063] +j(IG π / 2 +IG π / 4 sin(π / 4)+IG3π / 4 sin(3π / 4))
[0064] Get the gradient magnitude matrix IG of image I mag =||IG||2;
[0065] Among them, IG ang = arg(IG), arg(): Calculate the angle of the vector as follows,
[0066]
[0067] S3: Establish a 36*36 gradient neighborhood of the feature point based on the gradient amplitude direction matrix and adjust the gradient amplitude. It should also be noted that adjusting the gradient amplitude includes:
[0068] Each feature point Centered on IG mag In each case, a square gradient magnitude neighborhood G with a side length of 73 is established. 73×73 ;
[0069] G 73×73 Sort the gradient amplitudes in and divide the sorted gradients into five equal parts;
[0070] Adjust the amplitude of the first 20% to 1, the amplitude of the first 20% to 40% to 0.75, and so on, the amplitude of the first 80% to the first 100% is adjusted to 0, as follows,
[0071]
[0072] S4: Calculate the amplitude histogram according to the direction of the gradient in the neighborhood of the feature point to obtain the amplitude statistical result. It should also be noted that the amplitude histogram statistics include:
[0073] Create a 73×73 coordinate grid matrix corresponding to each feature point, as follows:
[0074] Horizontal (x-direction) coordinate matrix
[0075] Longitudinal (y direction) coordinate matrix
[0076] Specifically, it also includes:
[0077] Rotate the coordinate grid matrix, rotate the x and y coordinate grids to the main directions of their respective feature points, and divide them into 16 square neighborhoods with equal side lengths (side length is 18), as follows,
[0078]
[0079]
[0080] The IG corresponding to the feature point ang The 73×73 angle neighborhood in is rotated.
[0081] The gradient amplitude within the 73×73 neighborhood of the feature point is counted according to the angle.
[0082] Furthermore, referring to Figure 2 and Figure 3 , the statistics specifically include:
[0083] Create 8 rectangular columns, each corresponding to an angle of 0, π / 8, π / 4, 3π / 8, ..., 3π / 4, 7π / 8;
[0084] Traverse the gradient amplitude and angle value of each pixel in the 16 small square neighborhoods, calculate the integer and decimal parts of each angle divided by π / 8, and add the L corresponding to each pixel. xx and L yy If the value is a decimal, the amplitude of each pixel is statistically interpolated by trilinear interpolation according to the coordinates and angle values;
[0085] Finally, 16 amplitude histogram statistical results are obtained, each of which is 8 histograms, that is, a row vector with a length of 8, forming a 16×8 statistical matrix D.
[0086] Furthermore, the rotation process also includes:
[0087] The angle in the neighborhood is subtracted from the main direction of the feature point and the rotated angle modulo π is used as the new gradient angle.
[0088] S5: converting the amplitude statistical result into a vector for normalization processing to generate a feature descriptor. It should be further explained that generating a feature descriptor includes:
[0089] The statistical matrix D is converted into a 128-dimensional row vector d and normalized as follows:
[0090]
[0091] d norm It is the feature descriptor of the feature point finally generated, which is used for feature point matching.
[0092] Example 2
[0093] Reference Figure 4(a) to Figure 4(e) , which is the second embodiment of the present invention. This embodiment is different from the first embodiment in that it provides a test method for a feature descriptor generation method for electrical equipment.
[0094] It should also be noted in this embodiment that the existing SIFT descriptor generation method needs to use the constructed scale space to detect extreme points, obtain scale invariance, extract and filter the SIFT feature points corresponding to the image to be matched, and accurately locate them, assign direction values to the feature points, and generate feature descriptors. The main technical problem solved by this method is how to improve the problem of inaccurate matching caused by sensitivity to changes due to image mirror flipping, but the SIFT descriptor is time-consuming and slow in matching when performing image matching, and has low applicability; on the other hand, it should be noted that the existing PIIFD descriptor generation method uses continuous square gradients to calculate the main orientation of the feature point, accumulates the gradient amplitudes of all pixels in a fixed square neighborhood as the input of the orientation histogram, adopts bilinear interpolation to improve the gradient sample distribution of the orientation histogram, and constructs a linear descriptor using the obtained orientation execution square diagram and the row vector of its 180° rotation matrix, which is converted into a one-dimensional vector for normalization to generate a descriptor. The main technical problem solved by this method is how to speed up the registration speed of heterogeneous images and ensure the stability of the registration, but this method cannot improve the similarity between the feature descriptors of the same feature point in the heterogeneous image, so the registration recognition is low.
[0095] In order to better verify and illustrate the technical effects adopted in the method of the present invention, this embodiment selects to conduct comparative tests with the traditional SIFT descriptor generation method and the traditional PIIFD descriptor generation method and the method of the present invention, and compares the test results by means of scientific demonstration to verify the real effect of the method of the present invention; the traditional SIFT descriptor generation method and the traditional PIIFD descriptor generation method have low matching accuracy. In order to verify that the method of the present invention has higher matching accuracy than the two traditional methods, this embodiment will use the traditional SIFT descriptor generation method, the traditional PIIFD descriptor generation method and the method of the present invention to perform real-time measurement and comparison on the feature point detection of the same image to be matched.
[0096] Test environment: (1) Based on Intel(R) Core(TM) i7-8550U CPU@1.90GHz hardware platform and MATLABR2017b software, all algorithms are executed by MATLAB program code;
[0097] (2) Collect five sets of source images of a substation currently in operation in Shanghai. The source images are taken by an infrared and visible light binocular camera;
[0098] (3) The resolution of the infrared camera is 768×576, and the resolution of the visible light camera is 1920×1080.
[0099] Table 1: Comparative test accuracy results of three methods.
[0100]
[0101] 4(a), 4(b), 4(c), 4(d) and 4(e), which correspond to five groups of feature point detection results respectively. The three methods use the same feature point detection, but the obtained image registration results are quite different. For example, according to the diagram of FIG4(a), the numbers of correct matching points of the first group of data tested by the traditional SIFT method, the traditional PIIFD method and the method of the present invention are 36, 29 and 36 respectively. According to the diagram of FIG4(e), the numbers of correct matching points of the fifth group of data tested by the traditional SIFT method, the traditional PIIFD method and the method of the present invention are 3, 9 and 12 respectively.
[0102] against Figure 4(a) to Figure 4(e) The registration test results are shown in Table 1. The number of correct matching points, accuracy and recall of the three methods are calculated using the mainstream feature descriptor generation algorithm used in the current image registration field, and this is used as a comparison indicator. Based on this, it can be seen intuitively that the accuracy and recall of the method of the present invention are higher than those of the traditional method, which verifies the effectiveness of the method of the present invention.
[0103] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.
Claims
1. A method for generating a feature descriptor for an electrical device, characterized in that: include, Input registration image, feature point coordinates and main direction; Grayscale the input registered image and mark it as image I; Then the feature point coordinate set in the registered image is The main direction set corresponding to the feature points is The main direction range is [0,2π), N f is the number of feature points; Calculating the gradient magnitude and direction matrix of the registered image using a gradient operator; Calculating the gradient magnitude and direction matrix includes, Using the four gradient operators G0, G π / 2 , G π / 4 and G 3π / 4 Convolution processing is performed on the image I to obtain the horizontal e corresponding to each pixel point of the image I j0 Direction, longitudinal jπ / 2 Direction, oblique e jπ / 4 and e j3π / 4 The gradient amplitude components IG0, IG π / 2 IG π / 4 and IG 3π / 4 ,as follows, Among them, diag([-1,0,1]): generates a third-order matrix with diagonal elements of -1, 0, and 1, and the remaining elements are 0, flip(G): flips the column vectors of matrix G left and right; Calculate the composite gradient vector matrix IG of the image I as follows, IG=(IG0+IG π / 4 cos(π / 4)+IG 3π / 4 cos(3π / 4))+j(IG π / 2 +IG π / 4 sin(π / 4)+IG 3π / 4 sin(3π / 4)) Get the gradient magnitude matrix IG of the image I mag =||IG||2; Among them, IG ang =arg(IG), arg(): Calculate the angle of the vector as follows, Based on the gradient magnitude and direction matrix, a 36*36 gradient neighborhood of the feature point is established and the gradient magnitude is adjusted; According to the directional statistical amplitude histogram of the gradient in the neighborhood of the feature point, the amplitude statistical result is obtained; The amplitude statistical result is converted into a vector and normalized to generate a feature descriptor.
2. The method for generating a feature descriptor for an electrical device according to claim 1, wherein: Adjusting the gradient amplitude includes, Each feature point Centered on IG mag In each case, a square gradient magnitude neighborhood G with a side length of 73 is established. 73×73 ; The G 73×73 sorting the gradient amplitudes in and dividing the sorted gradients into five equal parts; Adjust the amplitude of the first 20% to 1, the amplitude of the first 20% to 40% to 0.75, and so on, and adjust the amplitude of the first 80% to the first 100% to 0, as follows, 3. The method for generating a feature descriptor for an electrical device according to claim 2, wherein: Amplitude histogram statistics include, Create a 73×73 coordinate grid matrix corresponding to each feature point as follows: Horizontal x-direction coordinate matrix Longitudinal y-direction coordinate matrix 4. The method for generating a feature descriptor for an electrical device according to claim 3, wherein: Also includes, Rotate the coordinate grid matrix to rotate the x and y coordinate grids to the main directions of their respective feature points and divide them into 16 square neighborhoods with equal sides and side lengths of 18, as follows: The IG corresponding to the feature point ang The 73×73 angle neighborhood in is rotated. The gradient amplitude within the 73×73 angle neighborhood of the feature point is counted according to the angle.
5. The method for generating a feature descriptor for an electrical device according to claim 4, wherein: Statistics specifically include: Create 8 rectangular columns, each corresponding to an angle of 0, π / 8, π / 4, 3π / 8, ..., 3π / 4, 7π / 8; Traverse the gradient amplitude and angle value of each pixel point in the 16 small square neighborhoods, calculate the integer part and decimal part of each angle divided by π / 8, and add the L corresponding to each pixel point xx and L yy If the value is a decimal, the amplitude of each pixel is statistically analyzed by trilinear interpolation according to the coordinates and the angle value; Finally, 16 amplitude histogram statistical results are obtained. Each histogram statistical result is 8 histograms, that is, a row vector with a length of 8, forming a 16×8 statistical matrix D.
6. The method for generating a feature descriptor for an electrical device according to claim 5, wherein: The rotation process further includes: The angle in the neighborhood is subtracted from the main direction of the feature point and the angle after rotation is modulo π as a new gradient angle.
7. The method for generating a feature descriptor for an electrical device according to claim 6, wherein: Generating the feature descriptor, including, The statistical matrix D is converted into a 128-dimensional row vector d and normalized as follows: Where, d norm The feature descriptor of the feature point finally generated is used for feature point matching.
