FIELD: information and measurement systems.
SUBSTANCE: invention relates to the field of information and measurement systems, it can be used in computer vision systems designed to solve the problem of measuring the distance to an object according to its single digital video image. The claimed method of indirect measurement of the distance from the shunting locomotive to the car consists in the formation of a digital video image by a video camera, the selection of a contour preparation and the comparison of the physical size of the previously known object of shooting with its size in pixels determined by the contour preparation of the video image, in which, when the shunting locomotive is located on a straight section of the railway track, a sector is highlighted in the video image, within which the contour preparation of vertical lines is formed. On the contour preparation, using the Hough or Radon transform, N≥2 straight lines are highlighted; after analyzing the parameters of these lines ρ and θ only two straight lines are left that potentially correspond to the images of the rails of the track, on which the shunting locomotive is located. For the points of the contour preparation belonging to the specified straight lines, morphological dilation is performed; the pixel coordinates of the points corresponding to the potential places of contact of the rails with the wheel pair of the car are determined. The inclined distance to the car is measured as the ratio of the previously known width of the railway track L to the length of the section, the extreme points m1 and m2 of which, in the image plane, correspond to the potential points of contact of the rails M1 and M2 with the wheel pair of the car. Then, the horizontal distance to the car is found as the product of the inclined distance by the cosine of the angle between the horizon plane and the direction to the middle of the section M1M2 in the angular plane.
EFFECT: estimation of the distance to the car based on the solution of the equations of projective geometry, which requires less computational costs.
2 cl, 3 dwg
Authors
Dates
2021-06-28—Published
2020-11-10—Filed