In order to ensure that the feature points remain unchanged after rotation, it is necessary to assign the main direction to all feature points [5]. In a circular region with feature point as the center and 6S (s as the scale of feature point) as the radius, Haar wavelet response is used to calculate the feature point of image. This method is to calculate the gradient of the image, but because of the use of integral image, the efficiency of the operation is improved. In order to get the main direction value, a fan-shaped sliding window with a direction as the center and an angle of π / 3 should be designed. The sliding window should be rotated in steps of 0.2 π / rad, and the response value of Haar wavelet of the image in the window should be accumulated. The direction corresponding to the accumulated value of the largest Haar response is the main direction<br>
正在翻译中..