RU2762201C1 - Method for calibration of the camera installed behind the windscreen on the car - Google Patents
Method for calibration of the camera installed behind the windscreen on the car Download PDFInfo
- Publication number
- RU2762201C1 RU2762201C1 RU2021103617A RU2021103617A RU2762201C1 RU 2762201 C1 RU2762201 C1 RU 2762201C1 RU 2021103617 A RU2021103617 A RU 2021103617A RU 2021103617 A RU2021103617 A RU 2021103617A RU 2762201 C1 RU2762201 C1 RU 2762201C1
- Authority
- RU
- Russia
- Prior art keywords
- car
- camera
- matrix
- calibration
- vanishing point
- Prior art date
Links
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R1/00—Optical viewing arrangements; Real-time viewing arrangements for drivers or passengers using optical image capturing systems, e.g. cameras or video systems specially adapted for use in or on vehicles
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/30—Determination of transform parameters for the alignment of images, i.e. image registration
- G06T7/33—Determination of transform parameters for the alignment of images, i.e. image registration using feature-based methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/80—Analysis of captured images to determine intrinsic or extrinsic camera parameters, i.e. camera calibration
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/01—Detecting movement of traffic to be counted or controlled
- G08G1/04—Detecting movement of traffic to be counted or controlled using optical or ultrasonic detectors
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Mechanical Engineering (AREA)
- Closed-Circuit Television Systems (AREA)
Abstract
Description
Изобретение относится к калибровке камеры, установленной за лобовым стеклом автомобиля и направленной вперед по ходу движения. Такая камера используется в системах помощи водителю для выдачи предупреждений при смене полосы движения, при опасном сближении с впереди идущим автомобилем, а также для управления переключением ближнего и дальнего света фар. Для правильной оценки расстояния до объектов и их положения на дороге системам помощи водителю необходимо знать внешние параметры калибровки камеры, такие как углы ее установки относительно продольной оси автомобиля.The invention relates to the calibration of a camera installed behind the windshield of a car and directed forward in the direction of travel. Such a camera is used in driver assistance systems to issue warnings when changing lanes, in case of a dangerous approach to the vehicle in front, as well as to control the switching of low and high beam headlights. To correctly assess the distance to objects and their position on the road, driver assistance systems need to know the external calibration parameters of the camera, such as the angles of its installation relative to the longitudinal axis of the vehicle.
Известные способы определения внешних параметров камеры основаны на использовании калибровочных стендов (1. Zhang Z. A flexible new technique for camera calibration // IEEE Transactions on pattern analysis and machine intelligence. - 2000. - T. 22. - № 11. - C. 1330-1334). Основным недостатком данных способов является требование трудоемкой процедуры установки стенда перед автомобилем и предварительной точной внутренней калибровки камеры.Known methods for determining the external parameters of the camera are based on the use of calibration stands (1. Zhang Z. A flexible new technique for camera calibration // IEEE Transactions on pattern analysis and machine intelligence. - 2000. - T. 22. - No. 11. - C. 1330-1334). The main disadvantage of these methods is the requirement of a laborious procedure for installing the stand in front of the car and preliminary accurate internal calibration of the camera.
Переустановка камеры на лобовое стекло автомобиля вносит некоторые погрешности, ухудшающие точность ее калибровки.Reinstalling the camera on the windshield of the car introduces some errors that deteriorate the accuracy of its calibration.
Задачей описываемого изобретения является проведение внешней калибровки уже установленной камеры за лобовым стеклом в режиме реального времени при прямолинейном движении автомобиля, что позволяет улучшить надежность и точность калибровки во время движения.The objective of the described invention is to perform external calibration of an already installed camera behind the windshield in real time when the vehicle is moving in a straight line, which makes it possible to improve the reliability and accuracy of the calibration while driving.
Описываемый способ позволяет провести внешнюю калибровку камеры в режиме реального времени при прямолинейном движении автомобиля. Процесс калибровки не требует использования дополнительных стендов или мишеней. Калибровка должна проводиться в светлое время суток в условиях хорошей видимости при отсутствии тумана и осадков в виде дождя и снега.The described method makes it possible to perform external camera calibration in real time when the vehicle is moving in a straight line. The calibration process does not require the use of additional stands or targets. Calibration should be carried out during daylight hours with good visibility in the absence of fog and precipitation in the form of rain and snow.
Для реализации задачи в способе динамической внешней калибровки камеры на автомобиле, установленной за лобовым стеклом автомобиля и направленной вперед по ходу движения, регистрируют последовательность кадров, получаемых камерой во время движения автомобиля в процессе калибровки, формируют матрицу М, с ячейками, в которых накапливают информацию о точках пересечений траекторий особых точек в так называемой точке схода, полученные траектории периодически проверяют на длину и прямолинейность, короткие и сильно отклоняющиеся от прямой не принимают к рассмотрению, оставшиеся траектории аппроксимируют прямыми, и точки их попарного пересечения суммируют в соответствующих ячейках матрицы М, зная пиксельные координаты усредненной точки схода определяют углы установки камеры, такие как угол тангажа (pitch) и угол рыскания (yaw).To implement the task in the method of dynamic external calibration of a camera on a car, installed behind the windshield of a car and directed forward in the direction of travel, a sequence of frames received by the camera while the car is moving during the calibration process is recorded, a matrix M is formed, with cells in which information about points of intersection of trajectories of singular points at the so-called vanishing point, the resulting trajectories are periodically checked for length and straightness, short and strongly deviating from a straight line are not taken into consideration, the remaining trajectories are approximated by straight lines, and the points of their pairwise intersection are summed up in the corresponding cells of the matrix M, knowing the pixel The coordinates of the averaged vanishing point determine the angles of the camera, such as the pitch and yaw.
где Vx, Vy – пиксельные координаты точки схода,where V x , V y - pixel coordinates of the vanishing point,
Сх, Су – оптический центр камеры,С х , С у - optical center of the camera,
ƒx, ƒy – фокусное расстояние камеры в пикселях, при этом угол крена (roll) устанавливают равным нулю, что соблюдается при установке камеры.ƒ x , ƒ y - focal length of the camera in pixels, while the roll angle (roll) is set equal to zero, which is observed when installing the camera.
Изобретение поясняется чертежом, где на фиг. 1 представлено изображение одного кадра, который обрабатывается в вычислительном блоке.The invention is illustrated by a drawing, where FIG. 1 shows an image of one frame, which is processed in the computing unit.
На фиг. 2 представлено изображение выделенной области дорожного полотна при виде сверху.FIG. 2 is a top view of the highlighted area of the roadway.
Далее описывается перечень действий в режиме калибровки. На поступающих кадрах алгоритм трекинга отслеживает особые точки. Это могут быть точки, расположенные как на дорожном полотне, так и на стационарных объектах, рядом с дорогой. В качестве особых точек выбираются так называемые угловые точки (2. Shi J. et al., Good features to track // 1994 Proceedings of IEEE conference on computer vision and pattern recognition. - IEEE, 1994. - C. 593-600), в которых градиент интенсивности имеет значительный перепад в двух направлениях. Трекинг особых точек осуществляется с помощью метода оптического потока Лукаса-Канаде (3. Bouguet J.Y. et al., Pyramidal implementation of the affine lucas kanade feature tracker description of the algorithm // Intel corporation. - 2001. - T. 5. - № 1-10. - C. 4).The following describes a checklist for calibration mode. On the incoming frames, the tracking algorithm tracks the special points. These can be points located both on the roadway and on stationary objects next to the road. The so-called corner points are selected as special points (2. Shi J. et al., Good features to track // 1994 Proceedings of IEEE conference on computer vision and pattern recognition. - IEEE, 1994. - pp. 593-600), in which the intensity gradient has a significant difference in two directions. Special points are tracked using the Lucas-Kanade optical flow method (3. Bouguet JY et al., Pyramidal implementation of the affine lucas kanade feature tracker description of the algorithm // Intel corporation. - 2001. - T. 5. - No. 1 -10. - C. 4).
При идеальном прямолинейном движении автомобиля траектории этих точек на кадре представляют из себя пересекающиеся прямые, которые соответствуют параллельным траекториям этих точек в системе координат автомобиля. На кадре эти прямые пересекаются в так называемой точке схода, зная пиксельные координаты усредненной точки схода, можно определить по формулам (1) и (2) углы установки камеры, такие как угол тангажа (pitch) и угол рыскания (yaw). Угол крена (roll) предполагается равным нулю, что, как правило, соблюдается при установке камеры. Следует отметить, что незначительные отклонения угла крена от нуля практически не влияют на функционирование различных модулей системы помощи водителю.With an ideal straight-line movement of the car, the trajectories of these points on the frame are intersecting straight lines that correspond to the parallel trajectories of these points in the car's coordinate system. On the frame, these straight lines intersect at the so-called vanishing point, knowing the pixel coordinates of the averaged vanishing point, it is possible to determine the camera setup angles, such as the pitch and yaw angle, using formulas (1) and (2). The roll angle (roll) is assumed to be zero, which is usually observed when installing the camera. It should be noted that slight deviations of the roll angle from zero practically do not affect the functioning of various modules of the driver assistance system.
В реальных условиях автомобиль движется не прямолинейно и подвержен небольшим раскачиваниям, что приводит к тому, что траектории особых точек не являются прямыми, пересекающимися в точке схода. Для оценки положения точки схода формируется матрица М, с размерами равными размеру кадра, в ячейках накапливается информация о точках пересечений. Полученные траектории периодически проверяются на длину и прямолинейность, короткие и сильно отклоняющиеся от прямой не принимаются к рассмотрению. Оставшиеся траектории 1 (фиг. 1) аппроксимируются прямыми, и точки их попарного пересечения суммируются в соответствующих ячейках матрицы М.In real conditions, the car does not move in a straight line and is subject to slight swaying, which leads to the fact that the trajectories of the singular points are not straight lines, intersecting at the vanishing point. To assess the position of the vanishing point, a matrix M is formed, with dimensions equal to the size of the frame, information about the intersection points is accumulated in the cells. The resulting trajectories are periodically checked for length and straightness, short and strongly deviating from a straight line are not accepted for consideration. The remaining trajectories 1 (Fig. 1) are approximated by straight lines, and the points of their pairwise intersection are summed up in the corresponding cells of the matrix M.
Периодически максимальный элемент в матрице М сравнивается с экспериментально найденным порогом, и при превышении данного порога процесс калибровки завершается. Процесс может быть завершен принудительно по истечении заданного времени, которое не превышает одной минуты. Координаты максимального значения матрицы М считаются найденной оценкой точки схода Vx, Vy. По найденным координатам точки схода 2 (фиг. 1) углы установки камеры определяются по формулам (1) и (2)Periodically, the maximum element in the M matrix is compared with the experimentally found threshold, and when this threshold is exceeded, the calibration process ends. The process can be terminated forcibly after a specified time, which does not exceed one minute. The coordinates of the maximum value of the matrix M are considered to be the found estimate of the vanishing point V x , V y . According to the found coordinates of the vanishing point 2 (Fig. 1), the camera installation angles are determined by the formulas (1) and (2)
Полученные углы установки камеры используются для получения вида сверху (фиг. 2), с целью преобразования области дорожного полотна в виде трапеции 3 (фиг. 1). После преобразования получают полосы дорожной разметки 4, направленные параллельно вдоль линии движения автомобиля (см. фиг. 2), что свидетельствует о верно выполненной калибровке.The obtained angles of installation of the camera are used to obtain a top view (Fig. 2), in order to transform the area of the roadway in the form of a trapezoid 3 (Fig. 1). After the conversion,
Таким образом описываемый способ позволяет провести внешнюю калибровку камеры в режиме реального времени при прямолинейном движении автомобиля.Thus, the described method makes it possible to perform external camera calibration in real time when the vehicle is moving in a straight line.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
RU2021103617A RU2762201C1 (en) | 2021-02-12 | 2021-02-12 | Method for calibration of the camera installed behind the windscreen on the car |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
RU2021103617A RU2762201C1 (en) | 2021-02-12 | 2021-02-12 | Method for calibration of the camera installed behind the windscreen on the car |
Publications (1)
Publication Number | Publication Date |
---|---|
RU2762201C1 true RU2762201C1 (en) | 2021-12-16 |
Family
ID=79175331
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
RU2021103617A RU2762201C1 (en) | 2021-02-12 | 2021-02-12 | Method for calibration of the camera installed behind the windscreen on the car |
Country Status (1)
Country | Link |
---|---|
RU (1) | RU2762201C1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU2792936C1 (en) * | 2022-02-17 | 2023-03-28 | Федеральное государственное бюджетное образовательное учреждение высшего образования "Рязанский государственный радиотехнический университет имени В.Ф. Уткина" | Method for dynamic calibration of a camera installed on a vehicle in the direction of its travel |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU2610137C1 (en) * | 2016-04-11 | 2017-02-08 | Общество с ограниченной ответственностью "ТрекИТ" | Method of calibrating video system for monitoring objects on flat area |
US10904489B2 (en) * | 2012-10-05 | 2021-01-26 | Magna Electronics Inc. | Multi-camera calibration method for a vehicle moving along a vehicle assembly line |
-
2021
- 2021-02-12 RU RU2021103617A patent/RU2762201C1/en active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10904489B2 (en) * | 2012-10-05 | 2021-01-26 | Magna Electronics Inc. | Multi-camera calibration method for a vehicle moving along a vehicle assembly line |
RU2610137C1 (en) * | 2016-04-11 | 2017-02-08 | Общество с ограниченной ответственностью "ТрекИТ" | Method of calibrating video system for monitoring objects on flat area |
Non-Patent Citations (2)
Title |
---|
"SEARCHING FOR A VANISHING POINT FOR DYNAMIC CALIBRATION OF THE EXTERNAL PARAMETERS OF A MONOCULAR CAMERA UNDER THE CONDITION OF RECTIOLINEAR MOVEMENT", Sensory Systems magazine, 2020, Vol. 34, 1, pp. 32-43. * |
"ПОИСК ТОЧКИ СХОДА ДЛЯ ДИНАМИЧЕСКОЙ КАЛИБРОВКИ ВНЕШНИХ ПАРАМЕТРОВ МОНОКУЛЯРНОЙ КАМЕРЫ ПРИ УСЛОВИИ ПРЯМОЛИНЕЙНОГО ДВИЖЕНИЯ", журнал "Сенсорные системы", 2020, Т. 34, 1, стр. 32-43. * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU2792936C1 (en) * | 2022-02-17 | 2023-03-28 | Федеральное государственное бюджетное образовательное учреждение высшего образования "Рязанский государственный радиотехнический университет имени В.Ф. Уткина" | Method for dynamic calibration of a camera installed on a vehicle in the direction of its travel |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11763571B2 (en) | Monocular cued detection of three-dimensional structures from depth images | |
JP5022609B2 (en) | Imaging environment recognition device | |
US8981966B2 (en) | Fusion of far infrared and visible images in enhanced obstacle detection in automotive applications | |
JP4425495B2 (en) | Outside monitoring device | |
US20190073783A1 (en) | Estimating distance to an object using a sequence of images recorded by a monocular camera | |
JP3822515B2 (en) | Obstacle detection device and method | |
RU2667675C1 (en) | Device for determining position of vehicle and method for determining position of vehicle | |
US10821975B2 (en) | Lane division line recognition apparatus, lane division line recognition method, driving assist apparatus including lane division line recognition apparatus, and driving assist method including lane division line recognition method | |
EP3832529A1 (en) | Detection of obstacles at night by analysis of shadows | |
CN102414715A (en) | Object detection device | |
JP2000090243A (en) | Periphery monitoring device and method therefor | |
US10503984B2 (en) | Object detection device | |
Lopez et al. | Detection of lane markings based on ridgeness and RANSAC | |
US11634124B2 (en) | Method of recognizing median strip and predicting risk of collision through analysis of image | |
EP3803790B1 (en) | Motion segmentation in video from non-stationary cameras | |
CN106570487A (en) | Method and device for predicting collision between objects | |
CN112562061B (en) | A system and method for driving vision enhancement based on laser radar images | |
RU2762201C1 (en) | Method for calibration of the camera installed behind the windscreen on the car | |
JP2008056163A (en) | Obstacle detecting device for vehicle | |
US20230150499A1 (en) | Vehicle control system and vehicle driving method using the vehicle control system | |
von Trzebiatowski et al. | Detecting reflection posts-lane recognition on country roads | |
JP2015090584A (en) | Lane recognition device | |
Wijesoma et al. | Laser and vision sensing for road detection and reconstruction | |
Wu et al. | A DSP-based lane departure warning system | |
JP4381394B2 (en) | Obstacle detection device and method |