CN108846856B - Picture feature point tracking method and tracking device - Google Patents

Picture feature point tracking method and tracking device Download PDF

Info

Publication number
CN108846856B
CN108846856B CN201810600445.1A CN201810600445A CN108846856B CN 108846856 B CN108846856 B CN 108846856B CN 201810600445 A CN201810600445 A CN 201810600445A CN 108846856 B CN108846856 B CN 108846856B
Authority
CN
China
Prior art keywords
point
target
gray
tracking
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810600445.1A
Other languages
Chinese (zh)
Other versions
CN108846856A (en
Inventor
罗汉杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Shiyuan Electronics Thecnology Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201810600445.1A priority Critical patent/CN108846856B/en
Publication of CN108846856A publication Critical patent/CN108846856A/en
Application granted granted Critical
Publication of CN108846856B publication Critical patent/CN108846856B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/20Analysis of motion
    • G06T7/246Analysis of motion using feature-based methods, e.g. the tracking of corners or segments
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20016Hierarchical, coarse-to-fine, multiscale or multiresolution image processing; Pyramid transform

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Analysis (AREA)

Abstract

The invention relates to a method and a device for tracking picture characteristic points, wherein the method comprises the following steps: determining a gray gradient value of the target characteristic point in the normal vector direction according to the gray value of the target characteristic point of the original image; acquiring a gray value of an initial tracking point of a target image; and tracking the position of the target characteristic point in the target image along the normal vector direction according to the gray value and the gray gradient value of the target characteristic point and the gray value of the initial tracking point. The method can track the position of the target feature point in the target image along the normal vector direction when the target feature point is tracked, improves the robustness and stability of tracking the target feature point, is beneficial to increasing the matching degree of tracking the target feature point in the target image, shortens the time of tracking the target feature point, improves the tracking efficiency, and is beneficial to providing more effective data support for subsequent image information processing such as machine vision work.

Description

Picture feature point tracking method and tracking device
Technical Field
The present invention relates to the field of image processing technologies, and in particular, to a method and an apparatus for tracking picture feature points, a computer device, and a computer-readable storage medium.
Background
In computer vision systems, it is often necessary to process images, and in particular to identify and track objects in the images. One of the commonly used implementation methods is to extract some stable and strong-robustness pixel points from each image as feature pixel points of the image, and then perform matching tracking on the feature pixel points among different images by using a target tracking algorithm such as an optical flow method.
However, when the traditional target tracking algorithm tracks the characteristic pixel points of the original image, the matching degree of the characteristic pixel points in the target image is easily low, the robustness of tracking the characteristic pixel points of the original image is reduced, and the tracking time of the traditional mode for the characteristic pixel points is too long, so that the tracking efficiency is also reduced.
Disclosure of Invention
Therefore, it is necessary to provide a method, an apparatus, a computer device, and a computer-readable storage medium for tracking picture feature points, in order to solve the problem of low robustness in tracking feature pixel points of an original image in the conventional technology.
A method for tracking picture feature points comprises the following steps:
determining a gray gradient value of a target characteristic point of an original image in a normal vector direction according to the gray value of the target characteristic point; the normal vector is a vector indicating the direction in which the gray scale of the target feature point changes most rapidly;
acquiring a gray value of an initial tracking point of a target image;
and tracking the position of the target feature point in the target image along the normal vector direction according to the gray value and the gray gradient value of the target feature point and the gray value of the initial tracking point.
The image characteristic point tracking method determines the gray gradient value of the target characteristic point in the direction of the normal vector according to the gray value of the target characteristic point of the original image, obtains the gray value of the initial tracking point in the target image, tracking the position of the target feature point in the target image along the direction of the normal vector according to the gray value and the gray gradient value in the direction of the normal vector of the target feature point and the gray value of the initial tracking point, when the target characteristic points are tracked, the positions of the target characteristic points can be tracked in the target image along the normal vector direction, the robustness and the stability of tracking the target characteristic points are improved, the matching degree of tracking the target characteristic points in the target image is increased, and the scheme also shortens the time for tracking the target characteristic points, improves the tracking efficiency and is beneficial to providing more effective data support for subsequent image information processing such as machine vision work.
In one embodiment, the step of tracking the position of the target feature point in the target image along the normal vector direction according to the gray value of the target feature point, the gray gradient value and the gray value of the initial tracking point comprises:
determining the position deviation of the initial tracking point in the normal vector direction according to the gray value and the gray gradient value of the target feature point of the original image and the gray value of the initial tracking point; determining the position of a starting tracking point of the target image; and determining the position of the target characteristic point in the target image according to the position of the starting tracking point and the position deviation.
In one embodiment, the step of determining the position deviation of the initial tracking point in the normal vector direction according to the gray scale value, the gray scale gradient value and the gray scale value of the target feature point of the original image comprises:
the gray value of the target characteristic point is differenced with the gray value of the initial tracking point to obtain a gray deviation value of the target characteristic point and the initial tracking point; and acquiring the position deviation of the initial tracking point in the normal vector direction according to the gray scale deviation value and the gray scale gradient value of the target feature point in the normal vector direction.
In one embodiment, the step of obtaining the position deviation of the start tracking point in the normal vector direction according to the gray scale deviation value and the gray scale gradient value of the target feature point in the normal vector direction includes:
performing square operation on the gray scale gradient value of the target feature point in the normal vector direction to obtain a spatial gradient value of the target feature point in the normal vector direction; obtaining an image deviation value according to the product of the gray gradient value of the target feature point in the normal vector direction and the gray deviation value; calculating the ratio of the image deviation value to the spatial gradient value of the target feature point in the normal vector direction; and determining the position deviation of the initial tracking point in the normal vector direction according to the ratio and the normal vector of the target feature point.
In one embodiment, the step of determining the gray scale gradient value of the target feature point in the normal vector direction according to the gray scale value of the target feature point of the original image includes:
acquiring a gray value of a target feature point of the original image; calculating gray gradient values of the target feature points in the transverse direction and the longitudinal direction according to the gray values; constructing a gray gradient matrix of the target characteristic points according to the gray gradient values of the target characteristic points in the transverse direction and the longitudinal direction; determining the normal vector of the target feature point according to the gray gradient values of the target feature point in the transverse direction and the longitudinal direction; and obtaining the gray gradient value of the target characteristic point in the normal vector direction according to the product of the gray gradient matrix and the normal vector.
In one embodiment, the step of determining the normal vector of the target feature point according to the gray scale gradient values of the target feature point in the transverse and longitudinal directions comprises:
constructing a spatial gradient matrix of the target feature points according to the gray gradient values of the target feature points in the transverse and longitudinal directions; acquiring a feature vector of the spatial gradient matrix; and determining the normal vector of the target characteristic point according to the characteristic vector of the spatial gradient matrix.
In one embodiment, the method further comprises the steps of:
generating a rectangular pixel window with the target feature point as the center in the original image; acquiring the gray value of each pixel point in the rectangular pixel window; calculating gray gradient values of the target characteristic points in the transverse and longitudinal directions of the rectangular pixel window according to the gray values of the pixel points; calculating a spatial gradient matrix of the target feature point in the rectangular pixel window according to the gray gradient values of the target feature point in the transverse and longitudinal directions of the rectangular pixel window; obtaining a characteristic value of the spatial gradient matrix; determining the type of the target characteristic point according to the characteristic value; the types of the target feature points comprise corner points and edge points.
In one embodiment, a method for tracking picture feature points is further provided, which includes the steps of:
a. respectively establishing an image pyramid for the original image and the target image; wherein the image pyramid comprises a multi-layered image;
b. determining the position of the target feature point in the current layer of image of the image pyramid of the original image;
c. tracking the target feature point by using the tracking method of the picture feature point according to the position of the target feature point, so as to obtain a tracking point matched with the position of the target feature point in the image of the current layer of the image pyramid of the target image;
d. taking the tracking point as the initial tracking point of the next layer image of the current layer image of the target image;
e. and repeating the steps b to d until the tracking point is the tracking point of the bottom layer image of the image pyramid of the target image, and obtaining the position of the target feature point in the target image.
The method for tracking the picture feature points provided by the above embodiment establishes an image pyramid for the original image and the target image respectively, determining the position of a target feature point in the current-layer image of the image pyramid of the original image, tracking the target feature point by using the tracking method of the picture feature point according to the position of the target feature point to obtain a tracking point matched with the target feature point in the current-layer image of the image pyramid of the target image, repeating the steps b to d until the obtained tracking point is the tracking point of the bottom layer image of the image pyramid of the target image, taking the position of the tracking point as the position of the target characteristic point in the target image, according to the scheme, the characteristic points of the picture are tracked in a mode of combining the image pyramid with the tracking method of the characteristic points of the picture in any embodiment, so that the stability and robustness of tracking the characteristic points of the picture among different pictures are further improved.
In one embodiment, an apparatus for tracking feature points of a picture is provided, including:
the determining module is used for determining a gray gradient value of the target characteristic point in the normal vector direction according to the gray value of the target characteristic point of the original image; the normal vector is a vector indicating the direction in which the gray scale of the target feature point changes most rapidly;
the acquisition module is used for acquiring the gray value of the initial tracking point of the target image;
and the tracking module is used for tracking the position of the target characteristic point in the target image along the normal vector direction according to the gray value, the gray gradient value and the gray value of the initial tracking point of the target characteristic point.
The image feature point tracking device determines the gray gradient value of the target feature point in the direction of the normal vector through the determining module according to the gray value of the target feature point of the original image, acquires the gray value of the initial tracking point in the target image through the acquiring module, tracks the position of the target feature point in the target image along the direction of the normal vector through the tracking module according to the gray value of the target feature point, the gray gradient value in the direction of the normal vector and the gray value of the initial tracking point along the direction of the normal vector, so that when the target feature point is tracked, the position of the target feature point in the target image along the direction of the normal vector can be tracked, the robustness and the stability of tracking the target feature point are improved, the matching degree of tracking the target feature point in the target image is increased, and the time of tracking the target feature point is shortened through the scheme, the tracking efficiency is improved, and more effective data support is provided for subsequent image information processing such as machine vision work.
In one embodiment, the tracking module comprises:
the deviation determining module is used for determining the position deviation of the initial tracking point in the normal vector direction according to the gray value and the gray gradient value of the target feature point of the original image and the gray value of the initial tracking point; the position determining module is used for determining the position of the initial tracking point of the target image; and determining the position of the target characteristic point in the target image according to the position of the starting tracking point and the position deviation.
In one embodiment, the deviation determination module comprises:
the difference operation module is used for carrying out difference on the gray value of the target characteristic point and the gray value of the initial tracking point to obtain a gray deviation value of the target characteristic point and the initial tracking point; and the deviation obtaining module is used for obtaining the position deviation of the initial tracking point in the normal vector direction according to the gray level deviation value and the gray level gradient value of the target characteristic point in the normal vector direction.
In one embodiment, the deviation obtaining module includes:
the square operation module is used for carrying out square operation on the gray gradient value of the target characteristic point in the normal vector direction to obtain a spatial gradient value of the target characteristic point in the normal vector direction; the deviation value calculation module is used for obtaining an image deviation value according to the product of the gray gradient value of the target feature point in the normal vector direction and the gray deviation value; the product operation module is used for calculating the ratio of the image deviation value to the spatial gradient value of the target feature point in the normal vector direction; and determining the position deviation of the initial tracking point in the normal vector direction according to the ratio and the normal vector of the target feature point.
In one embodiment, the determining module comprises:
the gray level obtaining module is used for obtaining the gray level value of the target characteristic point of the original image; calculating gray gradient values of the target feature points in the transverse direction and the longitudinal direction according to the gray values; the first construction module is used for constructing a gray gradient matrix of the target characteristic point according to the gray gradient values of the target characteristic point in the transverse direction and the longitudinal direction; the vector determination module is used for determining the normal vector of the target characteristic point according to the gray gradient values of the target characteristic point in the transverse direction and the longitudinal direction; and the gradient determining module is used for obtaining the gray gradient value of the target characteristic point in the normal vector direction according to the product of the gray gradient matrix and the normal vector.
In one embodiment, the vector determination module comprises:
the second construction module is used for constructing a spatial gradient matrix of the target characteristic point according to the gray gradient values of the target characteristic point in the transverse and longitudinal directions; the vector acquisition module is used for acquiring the characteristic vector of the spatial gradient matrix; and determining the normal vector of the target characteristic point according to the characteristic vector of the spatial gradient matrix.
In one embodiment, further comprising:
the window generation module is used for generating a rectangular pixel window taking the target feature point as the center in the original image; the gradient calculation module is used for acquiring the gray value of each pixel point in the rectangular pixel window; calculating gray gradient values of the target characteristic points in the transverse and longitudinal directions of the rectangular pixel window according to the gray values of the pixel points; the matrix calculation module is used for calculating a spatial gradient matrix of the target characteristic point in the rectangular pixel window according to the gray gradient values of the target characteristic point in the transverse and longitudinal directions of the rectangular pixel window; the type determining module is used for acquiring the eigenvalue of the spatial gradient matrix; determining the type of the target characteristic point according to the characteristic value; the types of the target feature points comprise corner points and edge points.
In one embodiment, there is also provided an apparatus for tracking picture feature points, including:
the image pyramid establishing module is used for executing the step a and respectively establishing an image pyramid for the original image and the target image; wherein the image pyramid comprises a multi-layered image;
b, determining the position of the target feature point in the current layer of image of the image pyramid of the original image;
a tracking point determining module, configured to perform step c, track the target feature point according to the position of the target feature point by using the tracking method for picture feature points according to any one of the above embodiments, and obtain a tracking point, in the current-layer image of the image pyramid of the target image, that is matched with the position of the target feature point;
a tracking point selecting module, configured to perform step d, using the tracking point as the initial tracking point of the next layer image of the current layer image of the target image;
and e, repeating the steps b to d until the tracking point is the tracking point of the bottom layer image of the image pyramid of the target image, and obtaining the position of the target feature point in the target image.
The tracking device for the picture feature points provided by the above embodiment tracks the feature points of the picture by combining the image pyramid with the tracking method for the picture feature points of any one of the above embodiments, thereby further improving the stability and robustness of tracking the picture feature points among different pictures.
In one embodiment, a computer device is provided, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor implements the steps of the tracking method of picture feature points according to any one of the above embodiments when executing the computer program.
According to the computer equipment, the position of the target feature point in the target image is tracked along the normal vector direction through the computer program running on the processor, the robustness and the stability of tracking the target feature point are improved, the matching degree of tracking the target feature point in the target image is increased, the time for tracking the target feature point is shortened, the tracking efficiency is improved, and more effective data support is provided for subsequent image information processing such as machine vision work.
In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which, when being executed by a processor, implements the steps of the method for tracking picture feature points as described in any one of the above embodiments.
According to the computer-readable storage medium, the position of the target feature point in the target image is tracked along the normal vector direction through the stored computer program, the robustness and the stability of tracking the target feature point are improved, the target feature point tracking matching degree is favorably increased in the target image, the target feature point tracking time is shortened, the tracking efficiency is improved, and more effective data support is favorably provided for subsequent image information processing such as machine vision work.
Drawings
FIG. 1 is a schematic diagram illustrating an application scenario of a method for tracking feature points of a picture according to an embodiment;
FIG. 2 is a flowchart illustrating a method for tracking feature points of a picture according to an embodiment;
FIG. 3 is a diagram illustrating a change in gray level gradient of feature points of an image according to an embodiment;
FIG. 4 is a diagram illustrating the tracking direction of feature points in an embodiment;
FIG. 5 is a schematic diagram illustrating the gray scale of feature points of an embodiment;
FIG. 6 is a diagram illustrating feature values of feature points of an embodiment of a picture;
FIG. 7 is a diagram illustrating types of feature points of a picture according to an embodiment;
FIG. 8 is a flowchart illustrating a method for tracking feature points of a picture according to another embodiment;
FIG. 9 is a schematic diagram of an image pyramid in one embodiment;
FIG. 10 is a diagram illustrating the results of a method for tracking feature points of an image according to an embodiment;
FIG. 11 is a block diagram showing the structure of a tracking means for picture feature points in one embodiment;
FIG. 12 is a block diagram showing the structure of a tracking means for picture feature points in another embodiment;
FIG. 13 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The method for tracking the picture feature points provided by the invention can be applied to an application scene as shown in fig. 1, and fig. 1 is a schematic view of an application scene of the method for tracking the picture feature points in one embodiment. Fig. 1(a) is a schematic diagram of an original image, where the original image 100a may include a shadow area 200 and a pixel 300 on the shadow area 200, and the pixel 300 may be used as a target feature point in the original image, and the position of the pixel 300 is tracked in a target image 100b shown in fig. 1(b) by using characteristics, such as a gray value, of the pixel 300, where the target image 100b may be an image of a next frame of the original image 100a in a video image.
In an embodiment, a method for tracking a picture feature point is provided, referring to fig. 2, fig. 2 is a schematic flowchart of the method for tracking a picture feature point in an embodiment, where the method for tracking a picture feature point may include the following steps:
step S101, determining the gray gradient value of the target characteristic point in the normal vector direction according to the gray value of the target characteristic point of the original image.
In this step, the target feature point is a key pixel point for identifying the feature of the original image, and according to the gray value of the target feature point of the original image, a gray level change value, that is, a gray level gradient value, of the target feature point in each direction on the plane where the original image is located can be obtained. Determining the gray gradient value of the target characteristic point in the normal vector direction according to the gray value of the target characteristic point; the normal vector is a vector used for indicating the direction in which the gray value of the target feature point changes the fastest.
Taking fig. 3 as an example for illustration, fig. 3 is a schematic diagram of gray level gradient change of a picture feature point in an embodiment, assuming that the picture feature point 220 is located at an edge position of a gray area 210, then according to a gray level value of the picture feature point 220, it can be clarified that a gray level change condition of the picture feature point 220 in directions shown by an arrow 210a and an arrow 210b in fig. 3 is present, for example, along the arrow 210a direction, a gray level value change of the picture feature point 220 in a rectangular window is not large, but a gray level change of the picture feature point 220 in the arrow 210b direction in the rectangular window is large, so a gray level change value of the picture feature point 220 in each direction in the original image can be calculated according to the gray level value of the picture feature point 220, if the gray level change value of the picture feature point 220 in the arrow 210b direction is maximum, the arrow 210b direction can be taken as the normal vector direction of the picture feature point 220, it should be noted that the normal vector direction is generally determined by performing correlation algebraic operation using the gray-level value of the picture feature point 220.
Step S102, obtaining the gray value of the initial tracking point of the target image.
The method mainly comprises the step of obtaining a gray value of an initial tracking point in a target image, wherein the initial tracking point is a pixel point used for tracking a target characteristic point of an original image in the target image, and the target image can be the next frame image of any frame image in a video image sequence. The position of the target feature point in the original image is generally determined, and the position of the initial tracking point in the target image in this step may be selected according to the position of the target feature point in the original image, for example, the position of the target feature point in the original image is used as the position of the initial tracking point in the target image. In order to improve the tracking efficiency of the target feature point, the gray value of the pixel point matched with the initial tracking point can be extracted from the pixel feature information base of each pixel point of the pre-stored target image.
And step S103, tracking the position of the target feature point in the target image along the normal vector direction according to the gray value, the gray gradient value and the gray value of the initial tracking point of the target feature point.
Tracking the position of the target feature point in the original image along the normal vector direction in the target image according to the gray value of the target feature point of the original image, the gray gradient value of the target feature point in the normal vector direction and the gray value of the initial tracking point. In the target image, the position of the target feature point may be tracked along the normal vector direction from a preset initial tracking point position.
To illustrate this step by taking fig. 4 as an example, fig. 4 is a schematic diagram illustrating tracking directions of picture feature points in an embodiment, for example, the original image 310 shown in fig. 4(a) includes 3 shadow regions 311a, 311b and 311c, each of which has a plurality of picture feature points illustrated by solid circles, arrows on each solid circle respectively correspond to normal vector directions of each picture feature point, the target image 320 of fig. 4(b) includes shadow regions 321a, 321b and 321c corresponding to the 3 shadow regions 311a, 311b and 311c of the original image 310, which may respectively correspond to shadow regions after a positioning shift occurs to the shadow regions 311a, 311b and 311c, and the solid circles in the target image 320 illustrate tracking points in the target image 320 matching with each feature point of the original image 310, wherein each feature point of the original image 310 is marked on the target image 320 by a dotted circle, the arrows between the dotted line circles and the solid line circles are used to indicate that, when the present step tracks each feature point of the original image 310, the positions of the target feature points of the original image are tracked in the target image along the normal vector direction according to the gray scale value of the target feature point, the gray scale gradient value in the normal vector direction, and the gray scale value of the initial tracking point, so as to obtain the positions of the target feature points in the target image, which are matched with each other.
The picture characteristic point tracking method determines the gray gradient value of the target characteristic point in the direction of the normal vector according to the gray value of the target characteristic point of the original image, acquires the gray value of the initial tracking point in the target image, tracks the position of the target characteristic point in the target image along the direction of the normal vector according to the gray value of the target characteristic point, the gray gradient value in the direction of the normal vector and the gray value of the initial tracking point, and tracks the position of the target characteristic point in the target image along the direction of the normal vector when tracking the target characteristic point, so that the position of the target characteristic point in the target image can be tracked, the robustness and the stability of tracking the target characteristic point are improved, the matching degree of tracking the target characteristic point in the target image is increased, the scheme is simpler than the existing tracking method, the tracking time of the target characteristic point is shortened, the tracking efficiency is improved, and more effective data support is provided for subsequent image information processing such as machine vision work.
In one embodiment, the step of determining the gray gradient value of the target feature point in the normal vector direction according to the gray value of the target feature point of the original image in step S101 may include:
step S201, obtaining a gray value of a target feature point of an original image; and calculating the gray gradient values of the target characteristic points in the transverse direction and the longitudinal direction according to the gray values.
In this step, the horizontal direction and the vertical direction may be directions of two coordinate axes perpendicular to each other in the original image, for example, an X-Y rectangular coordinate system is established in the original image, and the horizontal direction and the vertical direction correspond to the directions of the X axis and the Y axis, respectively. For the gray value I (x, y) of each pixel point in the original image, the gray value I (x, y) of the pixel point in the original image can be calculatedGray scale gradient value I in X-axis directionx(x, Y), and a gray gradient value I in the direction of the Y-axisy(X, Y), the original image can be regarded as a two-dimensional discrete function, the gray gradient value of each pixel point of the image can correspond to the derivative of the two-dimensional discrete function, the way of calculating the derivative is various, and for simple calculation, the gray gradient values of the target feature point in the X-axis and Y-axis directions can be calculated by adopting the following formula:
Ix(x,y)=[I(x+1,y)-I(x-1,y)]/2
Iy(x,y)=[I(x,y+1)-I(x,y-1)]/2
wherein, I (X +1, Y) represents the gray value of the next pixel point of the target characteristic point in the X-axis direction, I (X-1, Y) represents the gray value of the previous pixel point of the target characteristic point in the X-axis direction, I (X, Y +1) represents the gray value of the next pixel point of the target characteristic point in the Y-axis direction, I (X, Y-1) represents the gray value of the previous pixel point of the target characteristic point in the Yx(X, y) represents a gray scale gradient value of the target feature point in the X-axis direction, Iy(x, Y) represents a gradation gradient value of the target feature point in the Y-axis direction.
Step S202, a gray gradient matrix of the target characteristic point is constructed according to the gray gradient values of the target characteristic point in the transverse direction and the longitudinal direction.
In this step, the gray gradient matrix is a gray gradient matrix including information of gray gradient values of the target feature point in the lateral and longitudinal directions, and the following matrix may be employed as the gray gradient matrix of the target feature point:
t(x,y)=[Ix(x,y) Iy(x,y)]
wherein t (X, y) represents a gray gradient matrix of the target feature point, the matrix including a gray gradient value I of the target feature point in the X-axis directionxGradation gradient value I in the (x, Y) and Y-axis directionsy(x,y)。
Step S203, determining the normal vector of the target feature point according to the gray gradient values of the target feature point in the transverse direction and the longitudinal direction.
The step is mainly to calculate the normal vector of the target feature point of the original image for indicating the direction in which the gray scale gradient value changes fastest according to the gray scale gradient values of the target feature point in the transverse direction and the longitudinal direction.
And step S204, obtaining the gray gradient value of the target characteristic point in the normal vector direction according to the product of the gray gradient matrix and the normal vector.
The gray gradient matrix t (x, y) may be t (x, y) ═ Ix(x,y) Iy(x,y)]And if the normal vector is n, the gray gradient value of the target feature point in the normal vector direction can be expressed by the following formula: s (x, y) ═ Ix(x,y)Iy(x,y)]n, where s (x, y) represents a gray scale gradient value of the target feature point in a normal vector direction.
According to the technical scheme of the embodiment, the gray gradient value of the target feature point in the normal vector direction is obtained according to the gray value change value of the target feature point of the original image in the horizontal and vertical directions and the normal vector of the target feature point, the step of calculating the gray gradient value of the target feature point in the normal vector direction is simplified, the gray change value of the target feature point in the normal vector direction is accurately reflected, and the accuracy and the efficiency of tracking the target feature point are improved.
In one embodiment, the step of determining the normal vector of the target feature point according to the gray scale gradient values of the target feature point in the transverse and longitudinal directions in step S203 may further include:
constructing a spatial gradient matrix of the target characteristic point according to the gray gradient values of the target characteristic point in the transverse direction and the longitudinal direction; acquiring a feature vector of a spatial gradient matrix; and determining the normal vector of the target characteristic point according to the characteristic vector of the spatial gradient matrix.
The method mainly comprises the steps of establishing a spatial gradient matrix through gray gradient values of target characteristic points in the transverse direction and the longitudinal direction, and determining normal vectors of the target characteristic points by using characteristic vectors of the spatial gradient matrix. The spatial gradient matrix is a matrix in which each matrix element is associated with a gray gradient value of the target feature point in the transverse and longitudinal directions, and the following matrix may be used as the gray gradient matrix of the target feature point:
Figure GDA0001801856630000151
m (x, y) represents a gray gradient matrix of the target characteristic point in a matrix pixel window W, u and v represent coordinates of each pixel point in the matrix pixel window, if the length of the matrix pixel window W is W and the height of the matrix pixel window W is h, the value range of u is from-W/2 to W/2, the value range of v is from-h/2 to h/2, and an intermediate variable Ix(x,y)2=Ix·Ix,Iy(x,y)2=Iy·Iy,Ixy(x,y)=Ix·IyAnd g (u, v) represents a gaussian weighting function, and the gaussian weighting function is adopted in the gray gradient matrix to improve the capability of resisting image noise, and the expression of the gaussian weighting function is as follows:
Figure GDA0001801856630000152
the eigenvalue λ of the gray gradient matrix M (x, y) of the target characteristic point can be calculated1And λ2And obtaining eigenvectors V corresponding to the two eigenvalues respectively1And V2. The gradient variation of the characteristic points can be seen through the size of the characteristic values, and the characteristic vector V of the target characteristic point can be obtained2(x, y) is a normal vector n (x, y) of the target feature point.
According to the technical scheme of the embodiment, the normal vector of the target feature point is obtained according to the feature value of the gray gradient matrix of the target feature point, the feature vector corresponding to the feature value capable of accurately reflecting the gradient variation of the target feature point is used as the normal vector of the target feature point, the normal vector of the target feature point is accurately obtained, and the accuracy of tracking the target feature point is further improved.
In one embodiment, the step of tracking the position of the target feature point in the target image along the normal vector direction according to the gray scale value of the target feature point, the gray scale gradient value and the gray scale value of the start tracking point in step S103 may include:
s301, determining the position deviation of the initial tracking point in the normal vector direction according to the gray value and the gray gradient value of the target feature point of the original image and the gray value of the initial tracking point;
the method mainly comprises the step of determining the position deviation amount of an initial tracking point in a normal vector direction according to the gray value of a target feature point, the gray gradient value in the normal vector direction and the gray value of the initial tracking point, wherein the position deviation amount can be used for reflecting the position deviation condition of the initial tracking point and a matching point of a target image, and the matching point is a tracking point which is matched with the position of the target feature point of an original image in the target image.
S302, determining the position of the initial tracking point of the target image; and determining the position of the target characteristic point in the target image according to the position of the initial tracking point and the position deviation.
In this step, the position of the start tracking point of the target image may be determined according to the position of the target feature point of the original image, for example, the position of the target feature point in the original image is set as the position of the start tracking point of the target image. And determining the position of the target characteristic point in the target image according to the position of the initial tracking point and the position deviation amount of the initial tracking point in the normal vector direction.
According to the technical scheme of the embodiment, the position of the target feature point in the target image is determined through the position deviation of the initial tracking point in the normal vector direction and the position information of the initial tracking point, the position change of the target feature point in the target image can be accurately reflected, the calculation mode of the position of the target feature point in the target image is flexible and changeable, the position deviation amount can be calculated for multiple times through multiple iterations, and the position deviation amount with higher precision is obtained, so that the position of the target feature point in the target image is accurately calculated.
In one embodiment, the step of determining the position deviation of the initial tracking point in the normal vector direction according to the gray scale value, the gray scale gradient value and the gray scale value of the target feature point of the original image in step S301 may further include:
the gray value of the target characteristic point is differenced with the gray value of the initial tracking point to obtain a gray deviation value of the target characteristic point and the initial tracking point; and acquiring the position deviation of the initial tracking point in the normal vector direction according to the gray scale deviation value and the gray scale gradient value of the target feature point in the normal vector direction.
In this embodiment, the gray value of the target feature point of the original image is subtracted from the gray value of the initial tracking point to obtain a gray deviation value between the target feature point and the initial tracking point, where the gray deviation value may be used to reflect a gray difference between the target feature point and the initial tracking point, and the gray deviation value and the gray gradient value of the target feature point in the normal vector direction are used to calculate a position deviation of the initial tracking point in the target image in the normal vector direction. The technical scheme of the embodiment calculates the position deviation of the initial tracking point in the target image by combining the gray difference condition of the target characteristic point and the initial tracking point and the gray gradient value of the target characteristic point in the normal vector direction, so that the position deviation can accurately reflect the gray difference condition of the target characteristic point and the initial tracking point, and the gray gradient value of the target characteristic point in the normal vector direction is combined to be beneficial to accurately and quickly determining the position matched with the target tracking point from the initial tracking point in the target image.
In one embodiment, the step of obtaining the position deviation of the start tracking point in the normal vector direction according to the gray deviation value and the gray gradient value of the target feature point in the normal vector direction in step S301 may include:
performing square operation on the gray scale gradient value of the target feature point in the normal vector direction to obtain a spatial gradient value of the target feature point in the normal vector direction; obtaining an image deviation value according to the product of the gray gradient value of the target feature point in the normal vector direction and the gray deviation value; calculating the ratio of the image deviation value to the spatial gradient value of the target feature point in the normal vector direction; and determining the position deviation of the initial tracking point in the normal vector direction according to the ratio and the normal vector of the target feature point.
In this embodiment, the gray gradient value of the target feature point in the normal vector direction may be calculated in the rectangular pixel window W, where the target feature point is generally located at the center of the rectangular pixel window W, and the gray gradient value of the target feature point in the normal vector direction may be expressed as:
S(u,v)=[Ix(px+u,py+v)Iy(px+u,py+v)]n
wherein p isxAbscissa representing target feature point, pyRepresenting the ordinate of the target feature point, u and v represent the position coordinates of each pixel point in the matrix pixel window relative to the target feature point, n represents a normal vector, if the length of the matrix pixel window W is W and the height is h, the value range of u is from-W/2 to W/2, the value range of v is from-h/2 to h/2, S (u, v) represents the gray gradient value of the target feature point in the normal vector direction, the spatial gradient value of the target feature point in the normal vector direction can be obtained according to the square operation of the gray gradient value, and the spatial gradient value can be calculated by adopting the following formula:
Figure GDA0001801856630000181
where m represents a spatial gradient value of the target feature point in the normal vector direction.
The image deviation value of the original image and the target image can be calculated by the following formula:
Figure GDA0001801856630000182
where b denotes the image bias value, S (u, v) denotes a gray scale gradient value of the target feature point in the normal vector direction, [ I (p) ]x+u,py+v)-J(qx,qy)]As the gray scale deviation value, I (p)x+u,py+ v) represents the point (p) in the original image Ix+u,py+ v) gray value, J (q)x,qy) Representing the point (q) in the target image Jx,qy) The gray value of (a). The image deviation value is mainly used for representing image deviation information of a characteristic point of an original image and an initial tracking point of a target image and comprises gray level deviation informationAnd (4) information.
The ratio of the image deviation value to the spatial gradient value of the target feature point in the normal vector direction may be
Figure GDA0001801856630000183
Product with normal vector n of target feature point
Figure GDA0001801856630000184
As a positional deviation of the start tracking point in the normal vector direction.
In the embodiment, the spatial gradient value of the target feature point in the normal vector direction and the image deviation value of the target feature point and the initial tracking point are calculated, the position deviation of the initial tracking point in the normal vector direction is determined according to the ratio of the image deviation value to the spatial gradient value, the calculation mode of the position deviation is further refined, the image deviation condition of the target feature point and the initial tracking point is comprehensively considered, the position deviation of the initial tracking point in the normal vector direction, which is obtained when the image deviation value is zero, is also zero, and the position of the target feature point in the target image can be accurately reflected.
In one embodiment, the method further comprises the following steps:
in step S310, a rectangular pixel window centered on the target feature point is generated in the original image.
In the step, the target feature point is taken as a geometric center to generate a rectangular pixel window W, the length of the rectangular pixel window W is W, the height of the rectangular pixel window W is h, the value range of the relative position coordinates of each pixel point in the rectangular pixel window W is, for example, the value range of the abscissa u can be from-W/2 to W/2, and the value range of the ordinate v can be from-h/2 to h/2.
Step S320, acquiring the gray value of each pixel point in the rectangular pixel window; and calculating the gray gradient values of the target characteristic points in the transverse and longitudinal directions of the rectangular pixel window according to the gray values of the pixel points.
In this step, the gray scale gradient value of the target feature point in the transverse direction of the rectangular pixel window can be expressed as:Ix(x, y), the gray gradient values in the longitudinal direction can be expressed as: i isy(x, y). For the gray value I (X, Y) of each pixel point in the rectangular pixel window, for simple calculation, the gray gradient values of the target feature point in the X-axis and Y-axis directions of the rectangular pixel window may be calculated by the following formula:
Ix(x,y)=[I(x+1,y)-I(x-1,y)]/2
Iy(x,y)=[I(x,y+1)-I(x,y-1)]/2
wherein, I (X +1, Y) represents the gray value of the next pixel point of the target feature point in the X-axis direction, I (X-1, Y) represents the gray value of the previous pixel point of the target feature point in the X-axis direction, I (X, Y +1) represents the gray value of the next pixel point of the target feature point in the Y-axis direction, and I (X, Y-1) represents the gray value of the previous pixel point of the target feature point in the Y-axis direction.
And step S330, calculating a spatial gradient matrix of the target characteristic point in the rectangular pixel window according to the gray gradient values of the target characteristic point in the transverse and longitudinal directions of the rectangular pixel window.
This step may adopt the following matrix as the gray gradient matrix of the target feature point:
Figure GDA0001801856630000191
wherein M (x, y) represents the gray gradient matrix of the target feature point in the matrix pixel window W, and the intermediate variable Ix(x,y)2=Ix·Ix,Iy(x,y)2=Iy·IyAnd Ixy(x,y)=Ix·IyAnd g (u, v) represents a gaussian weighting function, and the gaussian weighting function is adopted in the gray gradient matrix to improve the capability of resisting image noise, and the expression of the gaussian weighting function is as follows:
Figure GDA0001801856630000201
referring to fig. 5, fig. 5 is a schematic diagram of the gray scale of the feature points of the picture in an embodiment, wherein fig. 5(a) corresponds to the original image, fig. 5(b) andFIG. 5(c) shows the gray scale gradient values I in the X-axis direction of the pixels of the original imagexAnd a gray gradient value I in the Y-axis directionyFIG. 5(d), FIG. 5(e) and FIG. 5(f) correspond to the intermediate variable I, respectivelyx·Ix、Iy·IyAnd Ix·IyFIG. 5(g), FIG. 5(h) and FIG. 5(I) correspond to the intermediate variable Ix·Ix、Iy·IyAnd Ix·IyAnd (5) carrying out Gaussian weighting function processing on the gray-scale image.
Step S340, obtaining the eigenvalue of the space gradient matrix; and determining the type of the target characteristic point according to the characteristic value.
The eigenvalue λ of the gray gradient matrix M (x, y) of the target characteristic point constructed in step S330 can be calculated1And λ2The type of the target feature point can be determined by the two feature values, including the corner point and the edge point.
Referring to fig. 6, fig. 6 is a diagram illustrating feature values of feature points of a picture according to an embodiment, where an arrow denoted by 330a in fig. 6 indicates λ1Increasing direction, arrow 330b indicates λ2Increasing direction, and 330c denotes a planar area, λ1And λ2Are small, 330d and 330f both indicate the area where the edge point is located, λ is in the area indicated by 330d1Much less than λ2λ in the region indicated by 330f2Much less than λ1And the region indicated by 330e is the corner region, λ1And λ2Are all larger, and λ1≈λ2. The type of the target feature point can be determined from the feature value. As shown in fig. 7, fig. 7 is a schematic diagram illustrating types of feature points of a picture according to an embodiment, and each of the original images 340 includes a shaded area 350 having a first feature point 351, a second feature point 352, and a third feature point 353. The gray level change of the first feature point 351 in the direction indicated by each arrow is not obvious, that is, the first feature point corresponds to the planar region 330c in fig. 6, the gray level change of the second feature point 352 in the direction indicated by the arrow 352a is not obvious, and the gray level change in the direction indicated by the arrow 352b is obvious, which may be similar to that in fig. 6The corner regions of 330d and 330f correspond to each other, and the change in the gray level of the third feature point 353 in the direction indicated by each arrow is significant, and may correspond to the corner region of 330e in fig. 6.
In a conventional manner, a corner point of a picture is generally selected as a key point, because a technician generally considers that a corner point has good characteristics: it does not change with large deformations of the image and is also insensitive to small deformations of the image. However, in actual use, stable corner points that can be extracted from an image are very limited, and if too few corner points are used as key points, fewer corner points can be successfully tracked, which greatly affects subsequent work. In order to increase the number of key points in the picture, edge points in the picture, such as straight edge points, can also be used as the key points, and the scheme has the advantages of extractable number so as to increase the number of key points of the original image, and can improve the stability and robustness of tracking.
Based on this, for convenience of description, it may be assumed that the eigenvalue λ of M (x, y) of each pixel point of the original image1Are all less than lambda2For satisfying λ2(x, y) is greater than α × Max (λ)2) And λ1(x, y) is less than β × Max (λ)1) The conditional point (x, y) may be an edge point in the original image. Wherein, alpha and beta are preset threshold values, generally, 0 < alpha, beta < 1, Max (lambda)1) Represents the maximum lambda in the original image1Value, Max (λ)2) Represents the maximum lambda in the original image2The value is obtained. Optionally, a minimum distance d between edge points may be set, the obtained edge points are screened to obtain an edge point set, and a feature vector V corresponding to each edge point (x, y)2(x, y) is the normal vector n (x, y) of the edge point as V2(x,y)。
In an embodiment, a method for tracking a picture feature point is further provided, as shown in fig. 8, fig. 8 is a schematic flowchart of a method for tracking a picture feature point in another embodiment, where the method for tracking a picture feature point may include the following steps:
step S401, a, respectively establishing an image pyramid for the original image and the target image.
The method comprises the steps of establishing an image pyramid (IL) for an original image I and a target image J respectivelyL=0...LmAnd { JL }L=0...LmThe image pyramid may comprise a plurality of layers, LmRepresenting a given pyramid level, typically 3, as shown in fig. 9, fig. 9 is a schematic diagram of an image pyramid in one embodiment, and image pyramiding typically includes two steps: firstly, low-pass filtering is carried out on an original image for smoothing, and then 1/2 sampling processing is carried out on pixel points of the original image in the horizontal and vertical directions, so that a series of images with reduced scales are obtained. When L is 0, the size and resolution of the original image decrease when the original image moves to the upper layer of the pyramid, and the amount of detail decreases accordingly. The target characteristic points can be tracked from the top layer, a rough result is obtained firstly, then the rough result is used as the initial point of the next layer to be tracked, and iteration is continuously carried out until the 0 th layer is reached, so that the rough-to-fine analysis strategy is adopted.
And S402, b, determining the position of the target feature point in the image of the current layer of the image pyramid of the original image.
The layer image refers to the current image layer for tracking the target feature point, and if the layer 3 is tracking the target feature point, the layer image is the layer 3 image. The step is mainly to confirm the position of the target characteristic point in the image of the layer. Target feature points such as edge points u can be set in the L-th pyramid layer image I of the original image ILIn the position of
Figure GDA0001801856630000221
Wherein p isxAnd pyThe coordinates of the edge point u can be represented.
Step S403, c, tracking the target feature point by using the tracking method of the picture feature point according to the position of the target feature point, so as to obtain a tracking point matched with the position of the target feature point in the image of the current layer of the image pyramid of the target image;
in this step, the gray of the target feature point in the normal vector direction can be calculated in the matrix pixel window WDegree gradient value: s (u, v) ═ Ix(px+u,py+v)Iy(px+u,py+v)]n;
U and v represent position coordinates of each pixel point in a matrix pixel window W relative to a target feature point, if the length of the matrix pixel window W is W and the height of the matrix pixel window W is h, the value range of u is from-W/2 to W/2, the value range of v is from-h/2 to h/2, and I isx(X, y) represents the gray scale value of the image IL in the X-axis direction at the (X, y) position, Iy(x, Y) represents a gray scale gradient value in the Y-axis direction, n represents a normal vector, S (u, v) represents a gray scale gradient value of the target feature point in the normal vector direction, and a spatial gradient value of the target feature point in the L-th layer is calculated from the gray scale gradient values
Figure GDA0001801856630000231
This step can initialize the position iteration parameter gamma0=[0 0]TFor in the graph JLPerforming iterative processing.
Assume the starting tracking point is in target image JLIs at a position of
Figure GDA0001801856630000232
Wherein the content of the first and second substances,
Figure GDA0001801856630000233
and
Figure GDA0001801856630000234
for searching for preset offset position
Figure GDA0001801856630000235
Wherein
Figure GDA0001801856630000236
Can be preset to [ 00 ]]TFrom 1 to K, according to a preset variable K, the following iterative approach is adopted:
calculating an image deviation value:
Figure GDA0001801856630000237
updating location iteration parameters
Figure GDA0001801856630000238
And continuing to perform iterative operation on the iterative parameter in the image of the current layer when k is equal to k +1, and obtaining the final tracking offset in the pyramid of the L layer as follows: dL=γk
Step S404, d, using the tracking point as the initial tracking point of the next layer image of the current layer image of the target image.
This step initializes the tracking offset position g of the pyramid image of the next layer of the present layer imageL-1=2(gL+dL)。
And S405, e, repeating the steps b to d until the tracking point is the tracking point of the bottom layer image of the image pyramid of the target image, and obtaining the position of the target feature point in the target image.
In this step, the above steps b to d may be repeated with L ═ L-1 until the obtained tracking point is the tracking point of the bottom layer image of the image pyramid of the target image, and then the position of the matching point v of the target feature point, such as the edge point u, in the image J is v ═ u + g0+d0
The target feature point is tracked by the technical scheme provided by the above embodiment, and the tracking result can refer to fig. 10, fig. 10 is a schematic diagram of a tracking method result of the picture feature point in an embodiment, fig. 10(a) is a schematic diagram of a result obtained by a conventional feature point tracking method, 340a and 340b respectively represent an original image and a target image, fig. 10(b) is a schematic diagram of a result obtained by a picture feature point tracking method provided by the embodiment of the present invention, and 340c and 340d respectively represent an original image and a target image, it can be clearly seen that the technical scheme provided by the embodiment of the present invention successfully matches more than one time of feature points compared with the conventional method, and is simpler than the existing method, has stronger robustness, can greatly increase the number of successfully matched key points, provides better data support for subsequent machine vision work, and adopts a mode of combining an image pyramid and the tracking method of the picture feature point of any one embodiment to track the picture The method further improves the stability and robustness of tracking the image characteristic points among different images.
In an embodiment, an apparatus for tracking a picture feature point is provided, as shown in fig. 11, where fig. 11 is a block diagram of a structure of the apparatus for tracking a picture feature point in an embodiment, the apparatus for tracking a picture feature point may include: a determination module 101, an acquisition module 102, and a tracking module 103, wherein:
the determining module 101 is configured to determine a gray scale gradient value of a target feature point in a normal vector direction according to a gray scale value of the target feature point of the original image; the normal vector is a vector indicating the direction in which the gray scale of the target feature point changes most rapidly;
an obtaining module 102, configured to obtain a gray value of an initial tracking point of a target image;
and the tracking module 103 is configured to track the position of the target feature point in the target image along the normal vector direction according to the gray value, the gray gradient value, and the gray value of the initial tracking point of the target feature point.
The image feature point tracking device determines the gray gradient value of the target feature point in the direction of the normal vector according to the gray value of the target feature point of the original image through the determining module 101, acquires the gray value of the initial tracking point in the target image through the acquiring module 102, tracks the position of the target feature point in the target image along the direction of the normal vector through the tracking module 103 according to the gray value of the target feature point and the gray gradient value in the direction of the normal vector and the gray value of the initial tracking point along the direction of the normal vector, so that when the target feature point is tracked, the position of the target feature point in the target image along the direction of the normal vector can be tracked, the robustness and the stability of tracking the target feature point are improved, the matching degree of tracking the target feature point in the target image is increased, and the time for tracking the target feature point is shortened, the tracking efficiency is improved, and more effective data support is provided for subsequent image information processing such as machine vision work.
In one embodiment, the tracking module 101 includes:
the deviation determining module is used for determining the position deviation of the initial tracking point in the normal vector direction according to the gray value and the gray gradient value of the target feature point of the original image and the gray value of the initial tracking point; the position determining module is used for determining the position of the initial tracking point of the target image; and determining the position of the target characteristic point in the target image according to the position of the starting tracking point and the position deviation.
In one embodiment, the deviation determination module includes:
the difference operation module is used for carrying out difference on the gray value of the target characteristic point and the gray value of the initial tracking point to obtain a gray deviation value of the target characteristic point and the initial tracking point; and the deviation obtaining module is used for obtaining the position deviation of the initial tracking point in the normal vector direction according to the gray level deviation value and the gray level gradient value of the target characteristic point in the normal vector direction.
In one embodiment, the deviation acquisition module includes:
the square operation module is used for carrying out square operation on the gray gradient value of the target characteristic point in the normal vector direction to obtain a spatial gradient value of the target characteristic point in the normal vector direction; the deviation value calculation module is used for obtaining an image deviation value according to the product of the gray gradient value of the target feature point in the normal vector direction and the gray deviation value; the product operation module is used for calculating the ratio of the image deviation value to the spatial gradient value of the target feature point in the normal vector direction; and determining the position deviation of the initial tracking point in the normal vector direction according to the ratio and the normal vector of the target feature point.
In one embodiment, the determining module 101 includes:
the gray level obtaining module is used for obtaining the gray level value of the target characteristic point of the original image; calculating gray gradient values of the target feature points in the transverse direction and the longitudinal direction according to the gray values; the first construction module is used for constructing a gray gradient matrix of the target characteristic point according to the gray gradient values of the target characteristic point in the transverse direction and the longitudinal direction; the vector determination module is used for determining the normal vector of the target characteristic point according to the gray gradient values of the target characteristic point in the transverse direction and the longitudinal direction; and the gradient determining module is used for obtaining the gray gradient value of the target characteristic point in the normal vector direction according to the product of the gray gradient matrix and the normal vector.
In one embodiment, the vector determination module comprises:
the second construction module is used for constructing a spatial gradient matrix of the target characteristic point according to the gray gradient values of the target characteristic point in the transverse and longitudinal directions; the vector acquisition module is used for acquiring the characteristic vector of the spatial gradient matrix; and determining the normal vector of the target characteristic point according to the characteristic vector of the spatial gradient matrix.
In one embodiment, further comprising:
the window generation module is used for generating a rectangular pixel window taking the target feature point as the center in the original image; the gradient calculation module is used for acquiring the gray value of each pixel point in the rectangular pixel window; calculating gray gradient values of the target characteristic points in the transverse and longitudinal directions of the rectangular pixel window according to the gray values of the pixel points; the matrix calculation module is used for calculating a spatial gradient matrix of the target characteristic point in the rectangular pixel window according to the gray gradient values of the target characteristic point in the transverse and longitudinal directions of the rectangular pixel window; the type determining module is used for acquiring the eigenvalue of the spatial gradient matrix; determining the type of the target characteristic point according to the characteristic value; the types of the target feature points comprise corner points and edge points.
For specific limitations of the tracking device for the picture feature points, reference may be made to the above limitations on the tracking method for the picture feature points, which are not described herein again. The modules in the tracking device of the picture feature points can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In an embodiment, there is further provided a tracking apparatus for picture feature points, with reference to fig. 12, where fig. 12 is a block diagram of a tracking apparatus for picture feature points in another embodiment, the tracking apparatus for picture feature points may include: an image pyramid establishing module 401, a feature point position determining module 402, a tracking point determining module 403, a tracking point selecting module 404 and a target position determining module 405; wherein the content of the first and second substances,
an image pyramid establishing module 401, configured to perform step a. respectively establish an image pyramid for the original image and the target image; wherein the image pyramid comprises a multi-layered image;
a feature point position determining module 402, configured to execute step b, determine a position of the target feature point in the current-layer image of the image pyramid of the original image;
a tracking point determining module 403, configured to perform step c, track the target feature point according to the position of the target feature point by using the tracking method for picture feature points according to any one of the above embodiments, and obtain a tracking point in the current-layer image of the image pyramid of the target image, where the tracking point is matched with the position of the target feature point;
a tracking point selecting module 404, configured to execute step d, use the tracking point as the initial tracking point of the next layer image of the current layer image of the target image;
a target position determining module 405, configured to execute step e, repeat steps b to d until the tracking point is a tracking point of a bottom layer image of an image pyramid of the target image, and obtain a position of the target feature point in the target image.
The tracking device for the picture feature points provided by the above embodiment tracks the feature points of the picture by combining the image pyramid with the tracking method for the picture feature points of any one of the above embodiments, thereby further improving the stability and robustness of tracking the picture feature points among different pictures.
In one embodiment, a computer device is provided, the computer device may be a server, the internal structure of which may be as shown in fig. 13, fig. 13 is an internal structure of the computer device in one embodiment. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing data required by the tracking method of the image edge points. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of tracking feature points of a picture.
Those skilled in the art will appreciate that the architecture shown in fig. 13 is merely a block diagram of some of the structures associated with the inventive arrangements and is not intended to limit the computing devices to which the inventive arrangements may be applied, as a particular computing device may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
determining a gray gradient value of a target characteristic point of an original image in a normal vector direction according to the gray value of the target characteristic point; acquiring a gray value of an initial tracking point of a target image; and tracking the position of the target feature point in the target image along the normal vector direction according to the gray value and the gray gradient value of the target feature point and the gray value of the initial tracking point.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
determining the position deviation of the initial tracking point in the normal vector direction according to the gray value and the gray gradient value of the target feature point of the original image and the gray value of the initial tracking point; determining the position of a starting tracking point of the target image; and determining the position of the target characteristic point in the target image according to the position of the starting tracking point and the position deviation.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
the gray value of the target characteristic point is differenced with the gray value of the initial tracking point to obtain a gray deviation value of the target characteristic point and the initial tracking point; and acquiring the position deviation of the initial tracking point in the normal vector direction according to the gray scale deviation value and the gray scale gradient value of the target feature point in the normal vector direction.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
performing square operation on the gray scale gradient value of the target feature point in the normal vector direction to obtain a spatial gradient value of the target feature point in the normal vector direction; obtaining an image deviation value according to the product of the gray gradient value of the target feature point in the normal vector direction and the gray deviation value; calculating the ratio of the image deviation value to the spatial gradient value of the target feature point in the normal vector direction; and determining the position deviation of the initial tracking point in the normal vector direction according to the ratio and the normal vector of the target feature point.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring a gray value of a target feature point of the original image; calculating gray gradient values of the target feature points in the transverse direction and the longitudinal direction according to the gray values; constructing a gray gradient matrix of the target characteristic points according to the gray gradient values of the target characteristic points in the transverse direction and the longitudinal direction; determining the normal vector of the target feature point according to the gray gradient values of the target feature point in the transverse direction and the longitudinal direction; and obtaining the gray gradient value of the target characteristic point in the normal vector direction according to the product of the gray gradient matrix and the normal vector.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
constructing a spatial gradient matrix of the target feature points according to the gray gradient values of the target feature points in the transverse and longitudinal directions; acquiring a feature vector of the spatial gradient matrix; and determining the normal vector of the target characteristic point according to the characteristic vector of the spatial gradient matrix.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
generating a rectangular pixel window with the target feature point as the center in the original image; acquiring the gray value of each pixel point in the rectangular pixel window; calculating gray gradient values of the target characteristic points in the transverse and longitudinal directions of the rectangular pixel window according to the gray values of the pixel points; calculating a spatial gradient matrix of the target feature point in the rectangular pixel window according to the gray gradient values of the target feature point in the transverse and longitudinal directions of the rectangular pixel window; obtaining a characteristic value of the spatial gradient matrix; determining the type of the target characteristic point according to the characteristic value; the types of the target feature points comprise corner points and edge points.
In one embodiment, there is also provided a computer device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
a. respectively establishing an image pyramid for the original image and the target image; b. determining the position of the target feature point in the current layer of image of the image pyramid of the original image; c. tracking the target feature point by using the tracking method of the picture feature point according to the position of the target feature point, so as to obtain a tracking point matched with the position of the target feature point in the image of the current layer of the image pyramid of the target image; d. taking the tracking point as the initial tracking point of the next layer image of the current layer image of the target image; e. and repeating the steps b to d until the tracking point is the tracking point of the bottom layer image of the image pyramid of the target image, and obtaining the position of the target feature point in the target image.
The computer device according to any one of the embodiments above, through the computer program running on the processor, realizes tracking of the position of the target feature point in the target image along the normal vector direction, improves robustness and stability of tracking of the target feature point, is beneficial to increase of matching degree of tracking of the target feature point in the target image, also shortens time of tracking of the target feature point, improves tracking efficiency, and is beneficial to providing more effective data support for subsequent image information processing such as machine vision work.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
determining a gray gradient value of a target characteristic point of an original image in a normal vector direction according to the gray value of the target characteristic point; acquiring a gray value of an initial tracking point of a target image; and tracking the position of the target feature point in the target image along the normal vector direction according to the gray value and the gray gradient value of the target feature point and the gray value of the initial tracking point.
In one embodiment, the computer program when executed by the processor further performs the steps of:
determining the position deviation of the initial tracking point in the normal vector direction according to the gray value and the gray gradient value of the target feature point of the original image and the gray value of the initial tracking point; determining the position of a starting tracking point of the target image; and determining the position of the target characteristic point in the target image according to the position of the starting tracking point and the position deviation.
In one embodiment, the computer program when executed by the processor further performs the steps of:
the gray value of the target characteristic point is differenced with the gray value of the initial tracking point to obtain a gray deviation value of the target characteristic point and the initial tracking point; and acquiring the position deviation of the initial tracking point in the normal vector direction according to the gray scale deviation value and the gray scale gradient value of the target feature point in the normal vector direction.
In one embodiment, the computer program when executed by the processor further performs the steps of:
performing square operation on the gray scale gradient value of the target feature point in the normal vector direction to obtain a spatial gradient value of the target feature point in the normal vector direction; obtaining an image deviation value according to the product of the gray gradient value of the target feature point in the normal vector direction and the gray deviation value; calculating the ratio of the image deviation value to the spatial gradient value of the target feature point in the normal vector direction; and determining the position deviation of the initial tracking point in the normal vector direction according to the ratio and the normal vector of the target feature point.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring a gray value of a target feature point of the original image; calculating gray gradient values of the target feature points in the transverse direction and the longitudinal direction according to the gray values; constructing a gray gradient matrix of the target characteristic points according to the gray gradient values of the target characteristic points in the transverse direction and the longitudinal direction; determining the normal vector of the target feature point according to the gray gradient values of the target feature point in the transverse direction and the longitudinal direction; and obtaining the gray gradient value of the target characteristic point in the normal vector direction according to the product of the gray gradient matrix and the normal vector.
In one embodiment, the computer program when executed by the processor further performs the steps of:
constructing a spatial gradient matrix of the target feature points according to the gray gradient values of the target feature points in the transverse and longitudinal directions; acquiring a feature vector of the spatial gradient matrix; and determining the normal vector of the target characteristic point according to the characteristic vector of the spatial gradient matrix.
In one embodiment, the computer program when executed by the processor further performs the steps of:
generating a rectangular pixel window with the target feature point as the center in the original image; acquiring the gray value of each pixel point in the rectangular pixel window; calculating gray gradient values of the target characteristic points in the transverse and longitudinal directions of the rectangular pixel window according to the gray values of the pixel points; calculating a spatial gradient matrix of the target feature point in the rectangular pixel window according to the gray gradient values of the target feature point in the transverse and longitudinal directions of the rectangular pixel window; obtaining a characteristic value of the spatial gradient matrix; determining the type of the target characteristic point according to the characteristic value; the types of the target feature points comprise corner points and edge points.
In one embodiment, there is also provided a computer readable storage medium having a computer program stored thereon, the computer program when executed by a processor implementing the steps of:
a. respectively establishing an image pyramid for the original image and the target image; b. determining the position of the target feature point in the current layer of image of the image pyramid of the original image; c. tracking the target feature point by using the tracking method of the picture feature point according to the position of the target feature point, so as to obtain a tracking point matched with the position of the target feature point in the image of the current layer of the image pyramid of the target image; d. taking the tracking point as the initial tracking point of the next layer image of the current layer image of the target image; e. and repeating the steps b to d until the tracking point is the tracking point of the bottom layer image of the image pyramid of the target image, and obtaining the position of the target feature point in the target image.
The computer-readable storage medium in any of the above embodiments, through the computer program stored therein, realizes tracking of the position of the target feature point in the target image along the normal vector direction, improves robustness and stability of tracking of the target feature point, is beneficial to increasing matching degree of tracking of the target feature point in the target image, also shortens time of tracking of the target feature point, improves tracking efficiency, and is beneficial to providing more effective data support for subsequent image information processing, such as machine vision work.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, databases, or other media used in embodiments provided herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (18)

1. A method for tracking picture feature points is characterized by comprising the following steps:
determining a gray gradient value of a target characteristic point of an original image in a normal vector direction according to the gray value of the target characteristic point; the normal vector is a vector indicating the direction in which the gray scale of the target feature point changes most rapidly;
acquiring a gray value of an initial tracking point of a target image;
and tracking the position of the target feature point in the target image along the normal vector direction according to the gray value and the gray gradient value of the target feature point and the gray value of the initial tracking point.
2. The method for tracking the image feature point according to claim 1, wherein the step of tracking the position of the target feature point in the target image along the normal vector direction according to the gray scale value of the target feature point, the gray scale gradient value and the gray scale value of the initial tracking point comprises:
determining the position deviation of the initial tracking point in the normal vector direction according to the gray value and the gray gradient value of the target feature point of the original image and the gray value of the initial tracking point;
determining the position of a starting tracking point of the target image; and determining the position of the target characteristic point in the target image according to the position of the starting tracking point and the position deviation.
3. The method according to claim 2, wherein the step of determining the position deviation of the initial tracking point in the normal vector direction according to the gray scale value, the gray scale gradient value and the gray scale value of the target feature point of the original image comprises:
the gray value of the target characteristic point is differenced with the gray value of the initial tracking point to obtain a gray deviation value of the target characteristic point and the initial tracking point;
and acquiring the position deviation of the initial tracking point in the normal vector direction according to the gray scale deviation value and the gray scale gradient value of the target feature point in the normal vector direction.
4. The method according to claim 3, wherein the step of obtaining the position deviation of the initial tracking point in the normal vector direction according to the gray scale deviation value and the gray scale gradient value of the target feature point in the normal vector direction comprises:
performing square operation on the gray scale gradient value of the target feature point in the normal vector direction to obtain a spatial gradient value of the target feature point in the normal vector direction;
obtaining an image deviation value according to the product of the gray scale gradient value of the target feature point in the normal vector direction and the gray scale deviation value;
calculating the ratio of the image deviation value to the spatial gradient value of the target feature point in the normal vector direction; and determining the position deviation of the initial tracking point in the normal vector direction according to the ratio and the normal vector of the target feature point.
5. The method for tracking image feature points according to claim 1, wherein the step of determining the gray gradient values of the target feature points in the normal vector direction according to the gray values of the target feature points of the original image comprises:
acquiring a gray value of a target feature point of the original image; calculating gray gradient values of the target feature points in the transverse direction and the longitudinal direction according to the gray values;
constructing a gray gradient matrix of the target characteristic points according to the gray gradient values of the target characteristic points in the transverse direction and the longitudinal direction;
determining the normal vector of the target feature point according to the gray gradient values of the target feature point in the transverse direction and the longitudinal direction;
and obtaining the gray gradient value of the target characteristic point in the normal vector direction according to the product of the gray gradient matrix and the normal vector.
6. The method for tracking image feature points according to claim 5, wherein the step of determining the normal vector of the target feature point according to the gray scale gradient values of the target feature point in the transverse and longitudinal directions comprises:
constructing a spatial gradient matrix of the target feature points according to the gray gradient values of the target feature points in the transverse and longitudinal directions;
acquiring a feature vector of the spatial gradient matrix; and determining the normal vector of the target characteristic point according to the characteristic vector of the spatial gradient matrix.
7. The method for tracking picture feature points according to any one of claims 1 to 6, further comprising the steps of:
generating a rectangular pixel window with the target feature point as the center in the original image;
acquiring the gray value of each pixel point in the rectangular pixel window; calculating gray gradient values of the target characteristic points in the transverse and longitudinal directions of the rectangular pixel window according to the gray values of the pixel points;
calculating a spatial gradient matrix of the target feature point in the rectangular pixel window according to the gray gradient values of the target feature point in the transverse and longitudinal directions of the rectangular pixel window;
obtaining a characteristic value of the spatial gradient matrix; determining the type of the target characteristic point according to the characteristic value; the types of the target feature points comprise corner points and edge points.
8. A method for tracking picture feature points is characterized by comprising the following steps:
a. respectively establishing an image pyramid for the original image and the target image; wherein the image pyramid comprises a multi-layered image;
b. determining the position of the target feature point in the current layer of image of the image pyramid of the original image;
c. tracking the target feature point according to the position of the target feature point by using the tracking method of the picture feature point as claimed in any one of claims 1 to 7 to obtain a tracking point matched with the position of the target feature point in the current layer image of the image pyramid of the target image;
d. taking the tracking point as the initial tracking point of the next layer image of the current layer image of the target image;
e. and repeating the steps b to d until the tracking point is the tracking point of the bottom layer image of the image pyramid of the target image, and obtaining the position of the target feature point in the target image.
9. An apparatus for tracking feature points of a picture, comprising:
the determining module is used for determining a gray gradient value of the target characteristic point in the normal vector direction according to the gray value of the target characteristic point of the original image; the normal vector is a vector indicating the direction in which the gray scale of the target feature point changes most rapidly;
the acquisition module is used for acquiring the gray value of the initial tracking point of the target image;
and the tracking module is used for tracking the position of the target characteristic point in the target image along the normal vector direction according to the gray value, the gray gradient value and the gray value of the initial tracking point of the target characteristic point.
10. The apparatus for tracking picture feature points according to claim 9, wherein the tracking module comprises:
the deviation determining module is used for determining the position deviation of the initial tracking point in the normal vector direction according to the gray value and the gray gradient value of the target feature point of the original image and the gray value of the initial tracking point;
the position determining module is used for determining the position of the initial tracking point of the target image; and determining the position of the target characteristic point in the target image according to the position of the starting tracking point and the position deviation.
11. The apparatus for tracking picture feature points according to claim 10, wherein the deviation determining module comprises:
the difference operation module is used for carrying out difference on the gray value of the target characteristic point and the gray value of the initial tracking point to obtain a gray deviation value of the target characteristic point and the initial tracking point;
and the deviation obtaining module is used for obtaining the position deviation of the initial tracking point in the normal vector direction according to the gray level deviation value and the gray level gradient value of the target characteristic point in the normal vector direction.
12. The apparatus for tracking picture feature points according to claim 11, wherein the deviation obtaining module comprises:
the square operation module is used for carrying out square operation on the gray gradient value of the target characteristic point in the normal vector direction to obtain a spatial gradient value of the target characteristic point in the normal vector direction;
the deviation value calculation module is used for obtaining an image deviation value according to the product of the gray gradient value of the target feature point in the normal vector direction and the gray deviation value;
the product operation module is used for calculating the ratio of the image deviation value to the spatial gradient value of the target feature point in the normal vector direction; and determining the position deviation of the initial tracking point in the normal vector direction according to the ratio and the normal vector of the target feature point.
13. The apparatus for tracking picture feature points according to claim 9, wherein the determining module comprises:
the gray level obtaining module is used for obtaining the gray level value of the target characteristic point of the original image; calculating gray gradient values of the target feature points in the transverse direction and the longitudinal direction according to the gray values;
the first construction module is used for constructing a gray gradient matrix of the target characteristic point according to the gray gradient values of the target characteristic point in the transverse direction and the longitudinal direction;
the vector determination module is used for determining the normal vector of the target characteristic point according to the gray gradient values of the target characteristic point in the transverse direction and the longitudinal direction;
and the gradient determining module is used for obtaining the gray gradient value of the target characteristic point in the normal vector direction according to the product of the gray gradient matrix and the normal vector.
14. The apparatus for tracking picture feature points of claim 13, wherein the vector determination module comprises:
the second construction module is used for constructing a spatial gradient matrix of the target characteristic point according to the gray gradient values of the target characteristic point in the transverse and longitudinal directions;
the vector acquisition module is used for acquiring the characteristic vector of the spatial gradient matrix; and determining the normal vector of the target characteristic point according to the characteristic vector of the spatial gradient matrix.
15. The apparatus for tracking picture feature points according to any one of claims 9 to 14, further comprising:
the window generation module is used for generating a rectangular pixel window taking the target feature point as the center in the original image;
the gradient calculation module is used for acquiring the gray value of each pixel point in the rectangular pixel window; calculating gray gradient values of the target characteristic points in the transverse and longitudinal directions of the rectangular pixel window according to the gray values of the pixel points;
the matrix calculation module is used for calculating a spatial gradient matrix of the target characteristic point in the rectangular pixel window according to the gray gradient values of the target characteristic point in the transverse and longitudinal directions of the rectangular pixel window;
the type determining module is used for acquiring the eigenvalue of the spatial gradient matrix; determining the type of the target characteristic point according to the characteristic value; the types of the target feature points comprise corner points and edge points.
16. An apparatus for tracking feature points of a picture, comprising:
the image pyramid establishing module is used for executing the step a and respectively establishing an image pyramid for the original image and the target image; wherein the image pyramid comprises a multi-layered image;
b, determining the position of the target feature point in the current layer of image of the image pyramid of the original image;
a tracking point determining module, configured to perform step c, track the target feature point according to the position of the target feature point by using the tracking method for the picture feature point according to any one of claims 1 to 7, so as to obtain a tracking point, in the current-layer image of the image pyramid of the target image, that matches the position of the target feature point;
a tracking point selecting module, configured to perform step d, using the tracking point as the initial tracking point of the next layer image of the current layer image of the target image;
and e, repeating the steps b to d until the tracking point is the tracking point of the bottom layer image of the image pyramid of the target image, and obtaining the position of the target feature point in the target image.
17. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method for tracking picture feature points according to any one of claims 1 to 8 when executing the computer program.
18. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of tracking picture feature points of any one of claims 1 to 8.
CN201810600445.1A 2018-06-12 2018-06-12 Picture feature point tracking method and tracking device Active CN108846856B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810600445.1A CN108846856B (en) 2018-06-12 2018-06-12 Picture feature point tracking method and tracking device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810600445.1A CN108846856B (en) 2018-06-12 2018-06-12 Picture feature point tracking method and tracking device

Publications (2)

Publication Number Publication Date
CN108846856A CN108846856A (en) 2018-11-20
CN108846856B true CN108846856B (en) 2020-11-03

Family

ID=64211713

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810600445.1A Active CN108846856B (en) 2018-06-12 2018-06-12 Picture feature point tracking method and tracking device

Country Status (1)

Country Link
CN (1) CN108846856B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110322477B (en) * 2019-06-10 2022-01-04 广州视源电子科技股份有限公司 Feature point observation window setting method, tracking method, device, equipment and medium
CN111179315A (en) * 2019-12-31 2020-05-19 湖南快乐阳光互动娱乐传媒有限公司 Video target area tracking method and video plane advertisement implanting method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101477690A (en) * 2008-12-30 2009-07-08 清华大学 Method and device for object contour tracking in video frame sequence
CN101923719A (en) * 2009-06-12 2010-12-22 新奥特(北京)视频技术有限公司 Particle filter and light stream vector-based video target tracking method
CN105118072A (en) * 2015-08-19 2015-12-02 西华大学 Method and device for tracking multiple moving targets
CN108010081A (en) * 2017-12-01 2018-05-08 中山大学 A kind of RGB-D visual odometry methods based on Census conversion and Local map optimization

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7529395B2 (en) * 2004-12-07 2009-05-05 Siemens Medical Solutions Usa, Inc. Shape index weighted voting for detection of objects

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101477690A (en) * 2008-12-30 2009-07-08 清华大学 Method and device for object contour tracking in video frame sequence
CN101923719A (en) * 2009-06-12 2010-12-22 新奥特(北京)视频技术有限公司 Particle filter and light stream vector-based video target tracking method
CN105118072A (en) * 2015-08-19 2015-12-02 西华大学 Method and device for tracking multiple moving targets
CN108010081A (en) * 2017-12-01 2018-05-08 中山大学 A kind of RGB-D visual odometry methods based on Census conversion and Local map optimization

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于自适应多特征融合的均值迁移红外目标跟踪;刘晴等;《电子与信息学报》;20121030;第34卷(第5期);1137-1141 *

Also Published As

Publication number Publication date
CN108846856A (en) 2018-11-20

Similar Documents

Publication Publication Date Title
CN109816012B (en) Multi-scale target detection method fusing context information
CN109285190B (en) Object positioning method and device, electronic equipment and storage medium
CN112461230B (en) Robot repositioning method, apparatus, robot, and readable storage medium
CN110992356A (en) Target object detection method and device and computer equipment
CN109102524B (en) Tracking method and tracking device for image feature points
JP7131994B2 (en) Self-position estimation device, self-position estimation method, self-position estimation program, learning device, learning method and learning program
CN112241976A (en) Method and device for training model
CN113850807B (en) Image sub-pixel matching positioning method, system, device and medium
US11176425B2 (en) Joint detection and description systems and methods
CN110738707A (en) Distortion correction method, device, equipment and storage medium for cameras
WO2020173194A1 (en) Image feature point tracking method and apparatus, image feature point matching method and apparatus, and coordinate obtaining method and apparatus
CN108846856B (en) Picture feature point tracking method and tracking device
CN111754429B (en) Motion vector post-processing method and device, electronic equipment and storage medium
CN110322477B (en) Feature point observation window setting method, tracking method, device, equipment and medium
CN110472588B (en) Anchor point frame determining method and device, computer equipment and storage medium
CN115205450A (en) Three-dimensional scanning data processing method, device, system, equipment and medium
US8126275B2 (en) Interest point detection
CN117291790B (en) SAR image registration method, SAR image registration device, SAR image registration equipment and SAR image registration medium
CN116630442B (en) Visual SLAM pose estimation precision evaluation method and device
CN117635444A (en) Depth completion method, device and equipment based on radiation difference and space distance
CN111445513B (en) Plant canopy volume acquisition method and device based on depth image, computer equipment and storage medium
US20120038785A1 (en) Method for producing high resolution image
CN111721283B (en) Precision detection method and device for positioning algorithm, computer equipment and storage medium
CN115619678B (en) Correction method and device for image deformation, computer equipment and storage medium
CN111582013A (en) Ship retrieval method and device based on gray level co-occurrence matrix characteristics

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant